You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/root/miniconda3/envs/llm/bin/llamafactory-cli", line 8, in <module>
sys.exit(main())
File "/root/project/LLaMA-Factory/src/llamafactory/cli.py", line 81, in main
run_chat()
File "/root/project/LLaMA-Factory/src/llamafactory/chat/chat_model.py", line 125, in run_chat
chat_model = ChatModel()
File "/root/project/LLaMA-Factory/src/llamafactory/chat/chat_model.py", line 44, in __init__
self.engine: "BaseEngine" = HuggingfaceEngine(model_args, data_args, finetuning_args, generating_args)
File "/root/project/LLaMA-Factory/src/llamafactory/chat/hf_engine.py", line 58, in __init__
self.model = load_model(
File "/root/project/LLaMA-Factory/src/llamafactory/model/loader.py", line 159, in load_model
patch_model(model, tokenizer, model_args, is_trainable, add_valuehead)
File "/root/project/LLaMA-Factory/src/llamafactory/model/patcher.py", line 120, in patch_model
if not gen_config.do_sample and (
AttributeError: 'NoneType' object has no attribute 'do_sample'
Others
No response
The text was updated successfully, but these errors were encountered:
Reminder
System Info
Reproduction
Expected behavior
Others
No response
The text was updated successfully, but these errors were encountered: