transfix-train/scripts/marian-setup.sh
2022-01-14 19:05:32 +01:00

10 lines
318 B
Bash
Executable File

#!/bin/bash
# install MarianMT pre-requirements
apt-get install --force-yes git cmake build-essential libboost-system-dev libprotobuf17 protobuf-compiler libprotobuf-dev openssl libssl-dev libgoogle-perftools-dev
git clone https://github.com/marian-nmt/marian
mkdir marian/build
cd marian/build
cmake ..
make -j4
cd ~