hiyouga / LLaMA-Factory

Unified Efficient Fine-Tuning of 100+ LLMs (ACL 2024)
https://arxiv.org/abs/2403.13372
Apache License 2.0
34.19k stars 4.21k forks source link

Lora微调完Llama-3-8B-Instruct拿来预测,does not appear to have a file named config.json #5989

Closed wutianhao666 closed 2 days ago

wutianhao666 commented 2 days ago

Reminder

System Info

Reproduction

image

Expected behavior

No response

Others

image image Lora微调完保存模型的路径为LLaMA-Factory/saves/Llama-3-8B-Instruct/lora/train_2024-11-10-19-46-32,上图是该目录下的全部文件,确实没有config.json。我在利用这个微调结束后的模型进行生成,报错如上图

hiyouga commented 2 days ago

https://github.com/hiyouga/LLaMA-Factory/blob/main/examples/train_lora/llama3_lora_predict.yaml