From e4851a5bc83a2d967a584ae030d83e85550cdd0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrik=20Pavli=C5=A1in?= Date: Thu, 4 Nov 2021 13:40:36 +0000 Subject: [PATCH] Update 'pages/students/2016/patrik_pavlisin/dp2022/train1.sh' --- .../2016/patrik_pavlisin/dp2022/train1.sh | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/pages/students/2016/patrik_pavlisin/dp2022/train1.sh b/pages/students/2016/patrik_pavlisin/dp2022/train1.sh index e69de29b..df3bb633 100644 --- a/pages/students/2016/patrik_pavlisin/dp2022/train1.sh +++ b/pages/students/2016/patrik_pavlisin/dp2022/train1.sh @@ -0,0 +1,33 @@ +# train.yaml + +## Where the samples will be written +save_data: dp2022/run2/example +## Where the vocab(s) will be written +src_vocab: dp2022/run2/example.vocab.src +tgt_vocab: dp2022/run2/example.vocab.tgt +# Prevent overwriting existing files in the folder +overwrite: False + + +# Corpus opts +data: + corpus_1: + path_src: dp2022/europarl-v7.sk-en.en + path_tgt: dp2022/europarl-v7.sk-en.sk + transforms: [onmt_tokenize] + weight: 1 + valid: + path_src: dp2022/europarl-v7.clean.sk-en.en + path_tgt: dp2022/europarl-v7.clean.sk-en.sk + transforms: [onmt_tokenize] + +# Vocabulary files that were just created +src_vocab: dp2022/run2/example.vocab.src +tgt_vocab: dp2022/run2/example.vocab.tgt + +# Where to save the checkpoints +save_model: dp2022/run2/model + +save_checkpoint_steps: 1000 +train_steps: 20000 +valid_steps: 10000 \ No newline at end of file