Closed YoonaX closed 3 years ago
Hi, you can run bash scripts/train_bart.sh -g 0,1,2,3 -d cnndm -b [the bart checkpoint .pt file]
, where the bart model checkpoint can be downloaded from the fairseq page (we use bart.large
model)
Thanks, Now there's a new problem: FileNotFoundError: [Errno 2] No such file or directory: 'data-bin/cnndm/dict.oraclewordsource.txt'
How should I load the vocabulary of the BART model?
I think I found the reason. I have a little problem with data processing. Haha!!
You have a slight problem here
bash scripts/binarize_dataset.ssh cnndm -> bash scripts/binarize_dataset.sh cnndm
Happy Lantern Festival!!!
Thank you, and happy Lantern Festival!
❓ Questions and Help
Before asking:
What is your question?
Hello, I try to train by running "bash scripts/train_bart.sh -g 0,1,2,3 -d cnndm" But there is an error: error: argument --restore-file: expected one argument I think I should reload the original Bart Model. Where I can download the model and How Can I reload the Model? Thanks~
What have you tried?
What's your environment?
pip
, source):