Hello,
I am getting the following error in a ML mode. It worked fine until recently. This needs to be resolved via teamviewer:
I am getting the following error: C:\Users\XC227CY\Desktop\control scoring-main5.0>python [login to view URL] --dataRoot "data/updated Control Scoring - [login to view URL]" --out_file [login to view URL] --modelDir checkpoints
Traceback (most recent call last):
File "[login to view URL]", line 68, in <module>
main()
File "[login to view URL]", line 61, in main
scorer = Scorer(opts)
File "C:\Users\XC227CY\Desktop\control scoring-main5.0\utils\[login to view URL]", line 27, in __init__
self.PRC_tokenizer = BertTokenizer.from_pretrained('bert-base-uncased', do_lower_case=True)
File "C:\Python\Python37\lib\site-packages\transformers\[login to view URL]", line 1665, in from_pretrained
use_auth_token=use_auth_token,
File "C:\Python\Python37\lib\site-packages\transformers\[login to view URL]", line 1142, in cached_path
local_files_only=local_files_only,
File "C:\Python\Python37\lib\site-packages\transformers\[login to view URL]", line 1349, in get_from_cache
"Connection error, and we cannot find the requested files in the cached path."
ValueError: Connection error, and we cannot find the requested files in the cached path. Please try again or make sure your Internet connection is on.
The code is looking for the predownloaded files in the cache files , I can be able to help you in this , you can share more details of the work in chat