Example

Example of Code-Switching between Chinese and English

A mixed-language sentence that blends Chinese and English, such as '周末 我们 打算 去 做 hiking , 你 想 一起 来 吗 ?' (We plan to go hiking this weekend, would you like to join us?), is a prominent instance of code-switching. When processed by multi-lingual pre-trained models, there is no need to identify whether a token is Chinese or English. Instead, every token is simply treated as an entry in a shared vocabulary, effectively treating the mixed input as a single composite language.

Image 0

0

1

Updated 2026-04-18

Contributors are:

Who are from:

Tags

Ch.1 Pre-training - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences