Qwen2.5-Math icon indicating copy to clipboard operation
Qwen2.5-Math copied to clipboard

`temperature` (=0.0) has to be a strictly positive float, otherwise your nex

Open yxl502 opened this issue 1 year ago • 2 comments

yxl502 avatar Aug 13 '24 01:08 yxl502

image

yxl502 avatar Aug 13 '24 01:08 yxl502

By setting temperature=0.7 in the model.generate function, the error resolved. generated_ids = model.generate( **model_inputs, max_new_tokens=512, temperature=0.7 )

david0963658 avatar Aug 13 '24 09:08 david0963658