diff --git a/pages/students/2016/patrik_pavlisin/dp2022/prepare-env.sh b/pages/students/2016/patrik_pavlisin/dp2022/prepare-env.sh index 640ab5184a..1b330580a4 100644 --- a/pages/students/2016/patrik_pavlisin/dp2022/prepare-env.sh +++ b/pages/students/2016/patrik_pavlisin/dp2022/prepare-env.sh @@ -1,4 +1,6 @@ -pip install --upgrade pip -pip install OpenNMT-py -pip install -r requirements.opt.txt +onmt_build_vocab -config dp2022/sk-en/trainsk.yaml -n_sample 10000 + +onmt_train -config dp2022/sk-en/trainsk.yaml + +onmt_translate -model dp2022/sk-en/run/model_step_1000.pt -src dp2022/sk-en/src-test.txt -output dp2022/sk-en/pred_1000.txt -verbose