All models

xlm-roberta

Multilingual masked language model across 100 languages, with a 3.5B parameter XL variant

Language · 310 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 (26 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
109.5M
Operations
310
Framework
PyTorch
Recurrent
No
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
m11311
Graph hash
bab6ac584150104627b4290eda28fa83ce33274567c80ee3eb27ed265e3e4e7f
Skeleton hash
f1b6d14bb98056d5d791a90775514bf8edc57d5a8800b2e6a992bd8e0a22a90d
Architecture hash
4319ec5cf4f313b2d775b797f1126d2f0b6fc80f53578e615d058f70f148bd13
Diagram SHA-256
44b18fd648eb2ed118e5a64cf4de0b9d9f112c18774ad3795deefa841ec6d123
TorchLens version
2.35.3
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.AutoModel.from_config()

What it is

XLM-RoBERTa is a large multilingual masked language model trained on 2.5TB of filtered CommonCrawl data across 100 languages. It applies the RoBERTa pretraining objectives to the XLM model. Scaling the model provides strong performance gains on both high-resource and low-resource languages. Unlike some XLM models, it does not require language tensors and determines the language from the input IDs.

XLM-RoBERTa-XL is a 3.5B parameter multilingual masked language model pretrained on 100 languages. By scaling model capacity, multilingual models show strong performance on high-resource languages and can even zero-shot low-resource languages.

Key idea. XLM-RoBERTa applies RoBERTa pretraining objectives to the XLM model across 100 languages and shows that scaling helps both high- and low-resource languages.

  • multilingual
  • masked language model
  • cross-lingual transfer
  • CommonCrawl
  • 100 languages
  • low-resource languages
  • pretraining objectives
  • language-agnostic input
  • encoder

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