Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qwen1.5-14B-Chat推理乱码 #3990

Open
suckseed5 opened this issue May 11, 2024 · 1 comment
Open

Qwen1.5-14B-Chat推理乱码 #3990

suckseed5 opened this issue May 11, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@suckseed5
Copy link

image
image
但是Qwen-7B-Chat是可以正常推理的,有什么解决办法吗?

@suckseed5 suckseed5 added the enhancement New feature or request label May 11, 2024
Copy link

dosubot bot commented May 11, 2024

To address the issue with Qwen1.5-14B-Chat producing garbled text, consider the following steps:

  1. Check Encoding: Ensure all requests are UTF-8 encoded, especially since your payload includes Chinese characters. Set the Content-Type header to application/json; charset=utf-8. Verify both the request encoding and the server's response encoding are correctly set to UTF-8.

  2. Model Configuration: The difference in behavior between Qwen1.5-14B-Chat and Qwen-7B-Chat could be due to their configurations. The larger model may have specific inference issues or require different handling compared to the smaller model.

  3. Parameter Handling: Review how the "stream," "temperature," and "max_tokens" parameters are set in your request. Incorrect values or handling of these parameters could impact the model's output.

Ensure that the API and your request handling are correctly configured for the character set and model parameters you're using.

Details

Sources


About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

To continue the conversation, mention @dosu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant