Never had any luck with the Yi family of models. They tend to get sidetracked and respond in Chinese. Maybe my setup is somehow flawed
This will ban Chinese characters from the sampling process. Works for Yi and Qwen models.
1: https://arxiv.org/html/2403.04652v1
2: https://github.com/openai/gpt-3/blob/master/dataset_statisti...
The small GLM models were like 50-50 English-Chinese in pretraining but much more Chinese in instruct training. Had the same issue until they balanced that.