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