Deleting a branch is permanent. It CANNOT be undone. Continue?
Deleting a branch is permanent. It CANNOT be undone. Continue?
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》
问题描述
在调试任务运行正常,训练任务报错
No such file or directory: '/root/.cache/huggingface/hub/models--bert-base-cased/refs/main'
相关环境(GPU/NPU)
gpu
相关集群(启智/智算)
任务类型(调试/训练/推理)
训练任务
任务名
korey202212242395937
日志说明或问题截图
Traceback (most recent call last):
File "/code/train.py", line 146, in
train(configs)
File "/code/train.py", line 44, in train
tokenizer = BertTokenizer.from_pretrained('bert-base-cased', do_lower_case=False)
File "/opt/conda/lib/python3.7/site-packages/transformers/tokenization_utils_base.py", line 1750, in from_pretrained
_commit_hash=commit_hash,
File "/opt/conda/lib/python3.7/site-packages/transformers/utils/hub.py", line 420, in cached_file
local_files_only=local_files_only,
File "/opt/conda/lib/python3.7/site-packages/huggingface_hub/file_download.py", line 1136, in hf_hub_download
with open(ref_path) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/root/.cache/huggingface/hub/models--bert-base-cased/refs/main'
期望的解决方案或建议
这一步本应该下载bert模型,调试任务可以正常下载,训练任务报错
已反馈运维查看网络环境
推荐使用智算网络的计算资源