All models

ruGPT-3

A GPT-style decoder-only language model pretrained on Russian text.

Language · 984 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 (6 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
760.3M
Operations
984
Framework
PyTorch
Recurrent
No
Published
LREC-COLING 2024
Cited by
25 (as of 27 October 2026)
Authors
Dmitry Zmitrovich, Alexander Abramov, Andrey Kalmykov 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
m21689
Graph hash
df379001b2c6e820da41e09199cf5a4b6d013e59785a52c72fb71f2a06b37245
Skeleton hash
b819121cd0099f63d8794e19a7ddb9bc559b0488375462446ab4587ce8c8d5d8
Architecture hash
16a8c5e0c7087feef95fe701d68cedb0455de476733f01c79c391812ba2334b4
Diagram SHA-256
fd7faef1b7bfff055d2f0cbe6ddefad26f021d9cba0a071e98e689e468ed05db
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

What it is

ruGPT-3 is the decoder language model in a collection of 13 Russian Transformer language models that also spans encoder and encoder-decoder architectures. Its authors describe it as a Russian counterpart of GPT-3. The collection exists because, as the paper puts it, developing such models specifically for the Russian language has received little attention.

The authors follow the GPT-3 architecture description and use the GPT-2 code base from the Transformers library. The model is pretrained on the language modeling objective with BBPE tokenization. Pretraining used a maximum sequence length of 1024 tokens for three epochs and 2048 tokens for one epoch. The total number of tokens seen during pretraining is 80B. The released models come in XL, Large, Medium and Small sizes.

The large model was trained by the SberDevices team on 80B tokens for 3 epochs at sequence length 1024. Its final perplexity on the test set is reported as 13.6. In the paper's evaluation the decoder-only models are tested zero-shot, with the target label selected by the lowest perplexity of the resulting prompt templates. In its text summarization results, ruGPT-3-large achieves the highest scores among the decoder models. A manual analysis of the outputs indicated that the ruGPT-3 models tend to copy parts of the inputs.

Key idea. The paper introduces a collection of 13 Russian Transformer language models in which ruGPT-3 is the decoder architecture, alongside encoder and encoder-decoder models.

  • rugpt-3
  • rugpt3
  • rugpt3large_based_on_gpt2
  • rugpt3xl
  • russian gpt-3
  • russian language model
  • russian text generation
  • autoregressive language model

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

Cite the paper

@misc{zmitrovich2024familypretrainedtransformerlanguage,
      title={A Family of Pretrained Transformer Language Models for Russian}, 
      author={Dmitry Zmitrovich and Alexander Abramov and Andrey Kalmykov and Maria Tikhonova and Ekaterina Taktasheva and Danil Astafurov and Mark Baushenko and Artem Snegirev and Vitalii Kadulin and Sergey Markov and Tatiana Shavrina and Vladislav Mikhailov and Alena Fenogenova},
      year={2024},
      eprint={2309.10931},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2309.10931}, 
}