fix train

This commit is contained in:
jakubknczny 2022-01-14 19:11:01 +01:00
parent 3c8d2e026d
commit 26b0cdebc7

View File

@ -22,7 +22,7 @@ target_vocab="$target_file".vocab."$bpe_merges"
../marian/build/marian \ ../marian/build/marian \
--model model/model.npz --type transformer \ --type transformer \
--overwrite \ --overwrite \
--train-sets "$source_file" "$target_file" \ --train-sets "$source_file" "$target_file" \
--max-length 100 \ --max-length 100 \
@ -46,6 +46,7 @@ target_vocab="$target_file".vocab."$bpe_merges"
#--vocabs model/vocab.ende.yml model/vocab.ende.yml \ #--vocabs model/vocab.ende.yml model/vocab.ende.yml \
#--early-stopping 10 \ #--early-stopping 10 \
#--model model/model.npz
#--valid-log model/valid.log \ #--valid-log model/valid.log \
#--valid-metrics cross-entropy perplexity translation \ #--valid-metrics cross-entropy perplexity translation \
#--valid-sets data/valid.bpe.en data/valid.bpe.de \ #--valid-sets data/valid.bpe.en data/valid.bpe.de \