InternLM / InternLM/xtuner

Error when chat using Qwen2

Open
#824 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
5.2k
Forks
448
Avg merge
3d 15h
Merged PRs (30d)
26

Description

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
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.