-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
[Question]: Why is the response in English or garbled when using the Doubao model of ByteDance? There is no problem with other models, such as DeepSeek R1 and DeepSeek V3. #6727
Comments
The issue with the Doubao model producing responses in English or garbled text might be related to its default language settings. The Doubao model's default language is determined by the environment variable To address this, you can check and modify the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
@dosubot In the yml file, - LANG=zh_CN is configured in the environment: of ragflow, but the output becomes in both Chinese and English. The output is as follows: output: "### “重庆一中院 ( ( ( ( ( ( ( ) ) ) ) ) ) “重庆一中院 ((()))))))) ((((()) (()))) () () () () () () () (())(())()))))))))))) (())(())()))))))))))) ((()))))))) ((((()) (()))) () () () () () () ((()))))))) ((((()) (()))) ((()))))))) ((()))))))) ”“(((())(())()))))))))))) ”“(((())(())()))))))))))) ”“(((())(())()))))))))))) ”“(((())(())()))))))))))) ”“(((())(())()))))))))))) ”Case Fact Organization and Timeline Restoration
Legal Analysis
|
The issue you're experiencing with mixed-language output in the Doubao model, despite setting
If these steps do not resolve the issue, further investigation into the model's codebase and configurations might be necessary to identify any underlying problems. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
Self Checks
Describe your problem
Why is the response in English or garbled when using the Doubao model of ByteDance? There is no problem with other models, such as DeepSeek R1 and DeepSeek V3.
The following are the logs of Langfuse:
output: "### I. Case Fact Organization and Timeline Restoration
A. For Ye Mou:
B.For Ran Mouzhong:$^{}$ , Ran participated in an overseas telecom network fraud criminal group mentioned above together with Ye Mou etc.,in “Ding Group”. As a salesman,Ran carried out online chat fraud against victims .$^{}$ , Ran sneaked back from Myanmar into China again .$^{rd}$ , $^{}$ , Ran was arrested by public security organs; upon arrival,he truthfully confessed his crimes of illegally crossing national (border) boundaries and fraud .
- In August $$, invited by Li Mobing with an intention to work at an overseas casino under others' arrangements,Ran Mouzhong sneaked across Yunnan border into Myanmar .
- From August $^{}$to Decmeber
- In Decmeber
- On March
II.Legal Analysis
A.Crimes Committed:$$\text{III}$$ .$\text{II}$.$\text{II}$.$\text{II}$ $\text{III}$ .$\text{II}$.$\text{II}$ $\text{III}$ . $\text{I}$ . $\text{I}$ . $\text{I}$ . $\text{I}$ . $\text{I}$ . $\text{I}$ . $\text{I}$ . $\text{Nineteen }$of Criminal Law ($$\mathrm{\left( \mathrm {amended} \mathrm {in} \mathrm { } \right)} $$ ), both Ye Mou and Ran Mouzhong violated border management regulations by secretly crossing national borders,which meets constitutive elements of crime of illegally crossing national (border) boundaries since they crossed borders without legal procedures,and their acts were considered serious due to engaging in subsequent illegal activities such as telecom network fraud after crossing borders ##6$$ ##7$$ ##8$$ ##9$$$. Also,based on Article $$\mathrm{\left( \mathrm {amended} \mathrm {in} \mathrm { } \right)} $$ ,$$\cdot\text{Nineteen }$. They used false pretenses like fake identities,fake investment platforms etc.,to defraud domestic residents which conforms crime constitution requirements for crime of fraud,as they had subjective intent to defraud others property rights through false means,causing harm results such as financial losses potentially suffered by victims,so they should be convicted respectively according these two charges simultaneously,and punished accordingly based on combined punishment principles for multiple crimes stipulated by law##6$$ ##7$$ ##8$$ ##9$$$$$.
According to Article
B.Sentencing Considerations:
For Ran Mouzhong,who was convicted as recidivist according Article $$\cdot\text{Nineteen }$. Since he had been sentenced imprisonment before ($$\cdot\text{Nineteen }$),and committed new crimes punishable imprisonment within five years after completion execution previous sentence,he should be given heavier punishment legally##6$$$$$. While both defendants were regarded as accessory offenders during process committing fraud crime because they played secondary roles within criminal groups,they could get mitigated punishment according relevant laws##6$$$$$. Moreover,both truthfully confessed their crimes after being caught,which met conditions lenient treatment provided law,i.e.,they could get lighter punishment based Article $$\cdot\text{Nineteen }$##6$$$$$. And considering that they voluntarily pleaded guilty accepted punishment,they enjoyed leniency treatment according relevant provisions Criminal Procedure Law ($$\cdot\text{Nineteen }$). Overall,the first instance court comprehensively considered various circumstances defendants when sentencing,and second instance court also affirmed legality rationality first instance judgment after review,safeguarding fairness justice judicial process##7$$$$$."
The text was updated successfully, but these errors were encountered: