Closed dorost1234 closed 3 years ago
solved with installing sentencepiece, I appreciate adding a file mentioning requirements.txt thanks
Hi @dorost1234 ,
Glad you resolved the issue. Your transformers
version is old, we have now added the sentencepiece
dependency in requirements.txt
.
https://github.com/huggingface/transformers/blob/master/examples/seq2seq/requirements.txt#L2
Environment info
transformers
version: 4.3.3Who can help
@patrickvonplaten, @patil-suraj
Information
Hi I am trying to run run_seq2seq.py example on mt5 model
python run_seq2seq.py --model_name_or_path google/mt5-small --dataset_name wmt16 --dataset_config_name ro-en --source_prefix "translate English to Romanian: " --task translation_en_to_ro --output_dir /test/test_large --do_train --do_eval --predict_with_generate --max_train_samples 500 --max_val_samples 500 --tokenizer_name google/mt5-small
getting this error:
thank you for your help