All models

CINO

A multilingual masked language model for Standard Chinese, Cantonese and six ethnic minority languages of China.

Language · 311 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (29 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
190.1M
Operations
311
Framework
PyTorch
Recurrent
No
Published
COLING 2022
Cited by
32 (as of 29 October 2026)
Authors
Ziqing Yang, Zihang Xu, Yiming Cui and others
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m15103
Graph hash
d76c99a6342c10c132a694811b3c1f67dfa75e53fca524a1b745af927ea3b4dc
Skeleton hash
ed08adc1ad4bd715ca4251632167ea41d484eb6bf5f85a428e67d12b5b5f4fcb
Architecture hash
bd849601c9eacadc2dddfabb019d0cd3d63411509f0e5780d5db6fba522b8a97
Diagram SHA-256
e07aa9d94facf5da60e108ad0b098faae9b8be4dfa058579f708b7256e6d496a
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

How this diagram was made

transformers.AutoModelForMaskedLM.from_config()

What it is

CINO (Chinese Minority Pre-trained Language Model) is a multilingual language model for the minority languages of China. It covers Standard Chinese, Yue Chinese (Cantonese) and six ethnic minority languages. The paper's motivating example is Tibetan, which is absent from the CC-100 corpus, so the XLM-R tokenizer cannot tokenize Tibetan scripts correctly.

CINO has the same transformer architecture as XLM-R, and the base model has 12 layers, 768 hidden states and 12 attention heads. The differences are in the word embeddings and the tokenizer. The authors trained sentence-piece tokenizers for Tibetan and Mongolian and merged their vocabularies into the XLM-R tokenizer. They then removed every token that never appeared in the pre-training corpora, from both the vocabulary and the word embeddings matrix. The resulting vocabulary has 135,359 tokens.

Pre-training uses masked language modeling in a faster form that predicts only over the vocabulary of the input example's language. The paper reports that this objective and the vocabulary pruning together reduce pre-training time by about 40%.

Key idea. CINO adapts XLM-R to Chinese minority languages by extending and pruning its vocabulary and pre-training with a faster masked language modeling objective.

  • CINO
  • Chinese Minority Pre-trained Language Model
  • Chinese minority languages
  • multilingual pre-trained language model
  • Tibetan
  • Mongolian
  • Uyghur
  • masked language modeling
  • cross-lingual text classification

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{yang2022cinochineseminoritypretrained,
      title={CINO: A Chinese Minority Pre-trained Language Model}, 
      author={Ziqing Yang and Zihang Xu and Yiming Cui and Baoxin Wang and Min Lin and Dayong Wu and Zhigang Chen},
      year={2022},
      eprint={2202.13558},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2202.13558}, 
}