Open asd351012 opened 9 months ago
Are you in mainland China? If so, please check out this mirror site. I recommend the solution 3.
In solution 3.:“HF_ENDPOINT=https://hf-mirror.com python your_script.py” in this project,what is “your_script”
Just like this:
HF_ENDPOINT=https://hf-mirror.com/ ns-train xxx
raise EnvironmentError( OSError: We couldn't connect to 'https://huggingface.co' to load this file, couldn't find it in the cached files and it looks like bert-base-uncased is not the path to a directory containing a file named config.json. Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/transformers/installation#offline-mode'.