Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

code #9

Open
kkk39 opened this issue Nov 1, 2023 · 0 comments
Open

code #9

kkk39 opened this issue Nov 1, 2023 · 0 comments

Comments

@kkk39
Copy link

kkk39 commented Nov 1, 2023

Traceback (most recent call last):
File "main.py", line 139, in
main(args)
File "main.py", line 11, in main
tokenizer = load_tokenizer(args)
File "/usr/local/xww/articles/codes/JointIDSF-main/utils.py", line 43, in load_tokenizer
return MODEL_CLASSES[args.model_type][2].from_pretrained(args.model_name_or_path)
File "/home/slave4/anaconda3/envs/wpy38/lib/python3.8/site-packages/transformers/models/auto/tokenization_auto.py", line 345, in from_pretrained
config = AutoConfig.from_pretrained(pretrained_model_name_or_path, **kwargs)
File "/home/slave4/anaconda3/envs/wpy38/lib/python3.8/site-packages/transformers/models/auto/configuration_auto.py", line 349, in from_pretrained
config_dict, _ = PretrainedConfig.get_config_dict(pretrained_model_name_or_path, **kwargs)
File "/home/slave4/anaconda3/envs/wpy38/lib/python3.8/site-packages/transformers/configuration_utils.py", line 399, in get_config_dict
resolved_config_file = cached_path(
File "/home/slave4/anaconda3/envs/wpy38/lib/python3.8/site-packages/transformers/file_utils.py", line 1077, in cached_path
output_path = get_from_cache(
File "/home/slave4/anaconda3/envs/wpy38/lib/python3.8/site-packages/transformers/file_utils.py", line 1263, in get_from_cache
raise ValueError(
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 want to know how to solve this problem?thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant