QwenLM/Qwen2.5

[Badcase]: 使用Qwen2-7b翻译中文,有额外的输出

cjjjy opened this issue · 2 comments

Model Series

Qwen2

What are the models used?

Qwen2-7B

What is the scenario where the problem happened?

使用Qwen2-7B进行翻译文本,回复答案总是出现额外的数学推理的文本,

Is this badcase known and can it be solved using avaiable techniques?

  • I have followed the GitHub README.
  • I have checked the Qwen documentation and cannot find a solution there.
  • I have checked the documentation of the related framework and cannot find useful information.
  • I have searched the issues and there is not a similar one.

Information about environment

OS: Ubuntu 22.04
Python: Python 3.11
GPUs: GTX3090
NVIDIA driver: 535 (from nvidia-smi)
CUDA compiler: 12.1 (from nvcc -V)
PyTorch: 2.4.1+cu121

Description

Steps to reproduce

This happens to Qwen2.5-7B
The badcase can be reproduced as follows:
image

image

use instruct

This issue has been automatically marked as inactive due to lack of recent activity. Should you believe it remains unresolved and warrants attention, kindly leave a comment on this thread.