xtuner icon indicating copy to clipboard operation
xtuner copied to clipboard

Error when chat using Qwen2

Open yuzhms opened this issue 1 year ago • 0 comments

I got this error when load Qwen2 model in chat, How to fix it? Thanks!

Command:

xtuner chat Qwen/Qwen2-7B-Instruct   --prompt-template qwen_chat

Output:

RuntimeError: probability tensor contains either `inf`, `nan` or element < 0

yuzhms avatar Jul 10 '24 05:07 yuzhms