Skip to content

Commit

Permalink
src-train.txt lives in the main directory plus 'ls' no longer necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
jordimas committed Aug 13, 2024
1 parent ea37dca commit 4319440
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions languages/master-language/export.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ onmt-main --config data.yml --auto_config export --export_dir $exportDir/tensorf
echo "Model description: $modelName" >> $modelDescription
echo "Date: $currentDate" >> $modelDescription
python3 ../../install-scripts/stack-versions.py >> $modelDescription
wc corpus/$modelName/src-train.txt -l > $exportDir/metadata/inputs_used.txt
ls corpus/$modelName/*.txt -l >> $exportDir/metadata/inputs_used.txt
wc src-train.txt -l > $exportDir/metadata/inputs_used.txt
cp *.model $exportDir/tokenizer/
cp corpus.yml data.yml model.py $exportDir/metadata/
cp sp-vocab.txt.token $exportDir/tensorflow/assets/
Expand Down

0 comments on commit 4319440

Please sign in to comment.