InternLM / InternLM/lmdeploy

微调后的模型回答带有很多重复[Bug]

Open
#1,190 15 comments 0 reactions 1 assignee Claimed by @pppppM View on GitHub
Dominant language
Python
Stars
8.1k
Forks
748
Avg merge
6d 2h
Merged PRs (30d)
54

Description

### Checklist

- [ ] 1. I have searched related issues but cannot get the expected help.
- [ ] 2. The bug has not been fixed in the latest version.

### Describe the bug

启动微调后的模型,回答带有很多重复(微调的internlm2-chat-7b),对模型提的问题是:《快乐星球》的主演有哪些?前面正常,后面就开始重复(经多次提问,出现这种重复的概率不大):
![image](https://github.com/InternLM/lmdeploy/assets/98906194/cee4c91c-9755-409a-8cd5-1beaa9068093)

![image](https://github.com/InternLM/lmdeploy/assets/98906194/f04c0db9-0ca6-41d5-8cd7-9a553ec273fd)

### Reproduction

lmdeploy serve api_server /root/autodl-tmp/projects/LLM/fine_tuning/7b/internlm2-chat-7b-merge --server-name 0.0.0.0 --server-port 6006 --tp 1 --session-len 128000 --rope-scaling-factor 2 --cache-max-entry-count 0.25

### Environment

```Shell
python:3.10
显卡:4090
cuda:12.2
lmdeploy:0.2.3
xtuner:0.1.14.dev0
```

### Error traceback

_No response_

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.