开发者社区 > ModelScope模型即服务 > 自然语言处理 > 正文

微调llama3时报modelscope - ERROR错,能帮忙看一下什么问题吗

2024-12-19 21:35:39,663 - modelscope - ERROR - File model.safetensors.index.json download incomplete, content_length: None but the file downloaded length: 23950, please download again
Traceback (most recent call last):
File "/opt/conda/bin/llamafactory-cli", line 8, in
sys.exit(main())
File "/opt/conda/lib/python3.10/site-packages/llamafactory/cli.py", line 65, in main
run_exp()
File "/opt/conda/lib/python3.10/site-packages/llamafactory/train/tuner.py", line 33, in run_exp
run_sft(model_args, data_args, training_args, finetuning_args, generating_args, callbacks)
File "/opt/conda/lib/python3.10/site-packages/llamafactory/train/sft/workflow.py", line 31, in run_sft
tokenizer_module = load_tokenizer(model_args)
File "/opt/conda/lib/python3.10/site-packages/llamafactory/model/loader.py", line 51, in load_tokenizer
init_kwargs = _get_init_kwargs(model_args)
File "/opt/conda/lib/python3.10/site-packages/llamafactory/model/loader.py", line 36, in _get_init_kwargs
model_args.model_name_or_path = try_download_model_from_ms(model_args)
File "/opt/conda/lib/python3.10/site-packages/llamafactory/extras/misc.py", line 222, in try_download_model_from_ms
return snapshot_download(model_args.model_name_or_path, revision=revision, cache_dir=model_args.cache_dir)
File "/opt/conda/lib/python3.10/site-packages/modelscope/hub/snapshot_download.py", line 156, in snapshot_download
http_get_file(
File "/opt/conda/lib/python3.10/site-packages/modelscope/hub/file_download.py", line 345, in http_get_file
raise FileDownloadError(msg)
modelscope.hub.errors.FileDownloadError: File model.safetensors.index.json download incomplete, content_length: None but the file downloaded length: 23950, please download again

展开
收起
游客zfcooaevjenbu 2024-12-19 22:02:52 15 0
0 条回答
写回答
取消 提交回答

包含命名实体识别、文本分类、分词、关系抽取、问答、推理、文本摘要、情感分析、机器翻译等多个领域

热门讨论

热门文章

相关电子书

更多
视觉AI能力的开放现状及ModelScope实战 立即下载
ModelScope助力语音AI模型创新与应用 立即下载
低代码开发师(初级)实战教程 立即下载