-
Notifications
You must be signed in to change notification settings - Fork 298
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
fix do_sample #1946
fix do_sample #1946
Conversation
@Jintao-Huang @tastelikefeet run sh: /data/xxx/anaconda3/envs/ms-swift/lib/python3.10/site-packages/transformers/generation/configuration_utils.py:567: UserWarning: [INFO:swift] [visual.patch_embed.proj.weight]: requires_grad=False, dtype=torch.bfloat16, device=cuda:0 |
不复现啊,你是不是改代码了 |
@Jintao-Huang |
上一个版本运行到时候,程序直接报错,这版可以往后执行,但是实际没有设置成功 |
--do_sample True --temperature 0 这两个参数是不能共存的 |
temperature 为 0. -> do_sample false |
OK |
PR type
FIX ISSUE: #1943