upvote
This happened a lot with early GPT3.5 and Gemini. I wonder what's the failure mode there.
reply
Token efficiency

Multilingual training data

Reinforcement learning may encourage language switching

https://aclanthology.org/2025.emnlp-main.1654/

Autoregressive generation is probabilistic, and once a Chinese token appears, subsequent Chinese tokens can become more likely.

reply
Not only Chinese and not only Chinese models. With GPT 5.6 it once showed an example of a password prompt "***". Then a lot of the following output would randomly contain *** in words, garbling the output.
reply
deleted
reply
Funnily enough, I still get random Japanese and Chinese characters in the latest Astra and Fable models, too.
reply
Are you calling the Anthropic end point(s?) directly, or going through something like OpenRouter?
reply
I’ve had this happen too, CJKI characters, Claude Code via Anthropoic sub. It’s just a nature of auto regressive language models.
reply