Closed MSDP4DOM closed 1 year ago
Thank you for your interest in our work.
In order to train a model from scratch, please follow the following steps:
tar -xf data/raw_data.tar.bz2 -C data/
Apply tokenization scheme and split the data:
python src/tokenizer_with_split.py --model_type='bi'
--model_type
option can be uni
or bi
--help
option to check the training arguments.
python src/train.py --model_type='bi'
Please refer to the Training section in the README.md
file.
Thank you so much for your kind response! it works!
Amazing work, thanks for your contribution! I tried to interpret the work by replicating the codes, however, when I run the
retrotrae\src\train.py
I got anFileNotFoundError: [Errno 2] No such file or directory: 'data/src/bi_train.txt'
, I followed the clue find thattrian.txt
was defined inparameters.py
, But I can't find the files in this repository. Maybe I missed something, could you please help fix it? Mant thanks!