Closed dorost1234 closed 3 years ago
sorry my mistake to use last version of examples
hi how you solved this. i also face this error. i can't find "is_offline_mode" and "get_full_repo_name" under transformers.utils. i use https://github.com/huggingface/transformers/tree/main/examples/pytorch/summarization
This should work if you are using transformers
master/main
https://github.com/huggingface/transformers/tree/main/examples/pytorch/summarization
I miss the same issue. How do you solve it?
Environment info
transformers
version: 4.3.3Who can help
@patrickvonplaten, @patil-suraj
Information
I am running run_seq2seq.py getting
ImportError: cannot import name 'is_offline_mode' from 'transformers.file_utils'
To reproduce
Steps to reproduce the behavior:
python run_seq2seq.py
thnaks