transfix-train/scripts/marian-setup.sh

11 lines
331 B
Bash
Raw Normal View History

2022-01-14 18:45:36 +01:00
#!/bin/bash
2022-01-15 18:07:27 +01:00
# install MarianMT and its pre-requirements
2022-01-14 18:45:36 +01:00
apt-get install --force-yes git cmake build-essential libboost-system-dev libprotobuf17 protobuf-compiler libprotobuf-dev openssl libssl-dev libgoogle-perftools-dev
2022-01-15 18:07:27 +01:00
cd ~
2022-01-14 18:45:36 +01:00
git clone https://github.com/marian-nmt/marian
mkdir marian/build
cd marian/build
cmake ..
make -j4
cd ~