-
Notifications
You must be signed in to change notification settings - Fork 202
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
AttributeError: No huggingface_hub attribute hf_api #54
Comments
I also encountered the same problem, how can I solve it? |
后面又研究了一下,模块版本问题,更新了一下requirements.txt 文件中的datasets==2.3.2 ,问题解决。 |
Attempting uninstall: datasets |
[INFO|configuration_utils.py:620] 2023-04-27 19:56:28,521 >> Model config RobertaConfig { 04/27/2023 19:56:29 - INFO - datasets.utils.file_utils - HEAD request to https://raw.githubusercontent.com/huggingface/datasets/2.3.2/datasets/super_glue/super_glue.py timed out, retrying... [0.3333333333333333] |
(gh_P-tuning-v2) ub2004@ub2004-B85M-A0:
/llm_dev/P-tuning-v2$ bash run_script/run_rte_roberta.sh/llm_dev/P-tuning-v2$Traceback (most recent call last):
File "run.py", line 7, in
import datasets
File "/home/ub2004/anaconda3/envs/gh_P-tuning-v2/lib/python3.8/site-packages/datasets/init.py", line 37, in
from .builder import ArrowBasedBuilder, BeamBasedBuilder, BuilderConfig, DatasetBuilder, GeneratorBasedBuilder
File "/home/ub2004/anaconda3/envs/gh_P-tuning-v2/lib/python3.8/site-packages/datasets/builder.py", line 44, in
from .data_files import DataFilesDict, _sanitize_patterns
File "/home/ub2004/anaconda3/envs/gh_P-tuning-v2/lib/python3.8/site-packages/datasets/data_files.py", line 120, in
dataset_info: huggingface_hub.hf_api.DatasetInfo,
File "/home/ub2004/.local/lib/python3.8/site-packages/huggingface_hub/init.py", line 290, in getattr
raise AttributeError(f"No {package_name} attribute {name}")
AttributeError: No huggingface_hub attribute hf_api
(gh_P-tuning-v2) ub2004@ub2004-B85M-A0:
The text was updated successfully, but these errors were encountered: