How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("fill-mask", model="ai-forever/ruRoberta-large")
# Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM

tokenizer = AutoTokenizer.from_pretrained("ai-forever/ruRoberta-large")
model = AutoModelForMaskedLM.from_pretrained("ai-forever/ruRoberta-large")
Quick Links

ruRoberta-large

The model architecture design, pretraining, and evaluation are documented in our preprint: A Family of Pretrained Transformer Language Models for Russian.

The model is pretrained by the SberDevices team.

  • Task: mask filling
  • Type: encoder
  • Tokenizer: BBPE
  • Dict size: 50 257
  • Num Parameters: 355 M
  • Training Data Volume 250 GB

Authors

Cite us

@misc{zmitrovich2023family,
      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 Tatiana Shavrina and Sergey Markov and Vladislav Mikhailov and Alena Fenogenova},
      year={2023},
      eprint={2309.10931},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}
Downloads last month
31,699
Inference Providers NEW
Examples
Mask token: <mask>

Model tree for ai-forever/ruRoberta-large

Adapters
1 model
Finetunes
29 models

Spaces using ai-forever/ruRoberta-large 6

Paper for ai-forever/ruRoberta-large