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

在执行export_model.py脚本时保存模型验证出错 #13

Closed
hubertshelley opened this issue Feb 22, 2024 · 1 comment
Closed

在执行export_model.py脚本时保存模型验证出错 #13

hubertshelley opened this issue Feb 22, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@hubertshelley
Copy link

执行命令

python src/export_model.py --model_name_or_path ~/Documents/machine_learn/llama-2-7b-chat-hf --checkpoint_dir ~/Documents/machine_learn/CareLlama2-7b-super --finetuning_type lo
ra --template llama2 --output_dir ./marged

出错信息

Thrown during validation:
[UserWarning('`do_sample` is set to `False`. However, `temperature` is set to `0.9` -- this flag is only used in sample-based generation modes. You should set `do_sample=True` or unset `temperature`.'), UserWarning('`do_sample` is set to `False`. However, `top_p` is set to `0.6` -- this flag is only used in sample-based generation modes. You should set `do_sample=True` or unset `top_p`.')]
@WangRongsheng
Copy link
Owner

thx!

@WangRongsheng WangRongsheng added the bug Something isn't working label Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants