transfix-train/scripts/marian-setup.sh

11 lines
331 B
Bash
Executable File

#!/bin/bash
# install MarianMT and its 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
cd ~
git clone https://github.com/marian-nmt/marian
mkdir marian/build
cd marian/build
cmake ..
make -j4
cd ~