Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fine-tuning后,调用app.py传参问题 #41

Closed
StarRanger opened this issue Apr 3, 2023 · 1 comment
Closed

fine-tuning后,调用app.py传参问题 #41

StarRanger opened this issue Apr 3, 2023 · 1 comment

Comments

@StarRanger
Copy link

get_model_class(args.model_type, args.model_name_or_path, args.lora_name_or_path)里面需要三个参数,
第三个参数应该传什么?假如 --model_type llama --model_name_or_path ./saved_models/llama-7b-hf_belle1.5m
lora_name_or_path 呢?

@PhoebusSi
Copy link
Owner

LLM模型类型
--model_type llama
LLM模型的权重地址或者huggingface上的名称
--model_name_or_path 此处传入本地llama模型的path或者“decapoda-research/llama-7b-hf ”
LLM在我们平台fientune后保存的权重的路径
--lora_name_or_path ./saved_models/llama-7b-hf_belle1.5m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants