Resolve ML code issue
Budget: $10 – $30 USD
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 main.py --dataRoot "data/updated Control Scoring - 3.0.xlsx" --out_file output_scores.csv --modelDir checkpoints
Traceback (most recent call last):
File "main.py", line 68, in <module>
main()
File "main.py", line 61, in main
scorer = Scorer(opts)
File "C:\Users\XC227CY\Desktop\control scoring-main5.0\utils\scorer.py", 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\tokenization_utils_base.py", line 1665, in from_pretrained
use_auth_token=use_auth_token,
File "C:\Python\Python37\lib\site-packages\transformers\file_utils.py", line 1142, in cached_path
local_files_only=local_files_only,
File "C:\Python\Python37\lib\site-packages\transformers\file_utils.py", 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.
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 main.py --dataRoot "data/updated Control Scoring - 3.0.xlsx" --out_file output_scores.csv --modelDir checkpoints
Traceback (most recent call last):
File "main.py", line 68, in <module>
main()
File "main.py", line 61, in main
scorer = Scorer(opts)
File "C:\Users\XC227CY\Desktop\control scoring-main5.0\utils\scorer.py", 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\tokenization_utils_base.py", line 1665, in from_pretrained
use_auth_token=use_auth_token,
File "C:\Python\Python37\lib\site-packages\transformers\file_utils.py", line 1142, in cached_path
local_files_only=local_files_only,
File "C:\Python\Python37\lib\site-packages\transformers\file_utils.py", 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.