InternLM / InternLM/lmdeploy

[Bug] response里需要生成's 但是只显示' s都不输出。

Open
#1,951 4 comments 0 reactions 1 assignee Claimed by @AllentDan 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

response里需要生成's 但是只显示' s都不输出。

### Reproduction

generation_config = GenerationConfig(skip_special_tokens=False)
pipe = pipeline(model, chat_template_config=ChatTemplateConfig(model_name='internlm-xcomposer2'),generation_config=generation_config)

### Environment

```Shell
torch 2.2.0
```

### 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.