by Havoc · 2y ago · 0 comments
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.