LLaMA-LoRA-Tuner icon indicating copy to clipboard operation
LLaMA-LoRA-Tuner copied to clipboard

Inference got error "probability tensor contains either `inf`, `nan` or element < 0" while using beams=2 with temperature=0.1

Open zetavg opened this issue 1 year ago • 2 comments

Using decapoda-research/llama-7b-hf, beams = 2 with temperature = 0.1:

Note: Error will not be shown if Stream Output is enabled. If Stream Output is enabled, it will just output nothing.

beams = 2 with temperature = 0.4 also got this error, however, beams = 2 with temperature = 0.5 will not.

(unhelpful-ai-v01-3)

zetavg avatar Apr 17 '23 17:04 zetavg