SAVRN
Search Contact SAVRN

Open-weight model · Sentence similarity

rubert-tiny2

by David Dale cointegrated/rubert-tiny2

This is an updated version of cointegrated/rubert-tiny: a small Russian BERT-based encoder with high-quality sentence embeddings. This post in Russian gives more details.

Parameters29M
Context2,048
Weights236.0 MB
Licensemit
AccessOpen weights
Monthly Downloads255.6k

Runs On

What it takes to serve rubert-tiny2 (29M parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 0.1 GB 0.1 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 0.0 GB 0.0 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 0.0 GB 0.0 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Sep 18, 2026.

Model Card

By David Dale, published under mit, revision e8ed3b0c8bbf.

This is an updated version of cointegrated/rubert-tiny: a small Russian BERT-based encoder with high-quality sentence embeddings. This post in Russian gives more details.

The differences from the previous version include: - a larger vocabulary: 83828 tokens instead of 29564; - larger supported sequences: 2048 instead of 512; - sentence embeddings approximate LaBSE closer than before; - meaningful segment embeddings (tuned on the NLI task) - the model is focused only on Russian.

The model should be used as is to produce sentence embeddings (e.g. for KNN classification of short texts) or fine-tuned for a downstream task.

Sentence embeddings can be produced as follows:

Read the full model card (217 words)

Configuration

Architecture
BertForPreTraining
Context length (tokens)
2,048
Layers
3
Hidden size
312
Feed-forward size
600
Attention heads
12
Vocabulary size
83,828
Stored precision
float32
Model type
bert

Identity and Version

Repository
cointegrated/rubert-tiny2
Publisher
David Dale
Task
Sentence similarity
Modality
Text
Library
sentence-transformers
Parameters
29M parameters
Languages
ru
Revision
e8ed3b0c8bbf4fb6984c3de043bf7d2f4e5969ae
First published
2022-03-02
Last updated
2025-12-30

Files and Weights

14 files, 238.9 MB in total. The weights are 3 files totalling 236.0 MB in bin, pt, safetensors.

Weights3 files · 236.0 MB
Configuration5 files · 1.4 KB
Tokenizer3 files · 2.8 MB
Documentation1 file · 2.4 KB
Repository2 files · 1.2 KB
Every file
FileTypeSizeSHA-256
model.safetensorsWeights117.5 MB 26ebb6db2a68
pytorch_model.binWeights117.5 MB 137fa2b1d944
tinybert-ru-labse-adapter-v2.ptWeights963.0 KB 3322adeaf437
1_Pooling/config.jsonConfiguration190 B
config.jsonConfiguration693 B
modules.jsonConfiguration349 B
sentence_bert_config.jsonConfiguration54 B
special_tokens_map.jsonConfiguration112 B
README.mdDocumentation2.4 KB
.gitattributesRepository1.2 KB
.gitignoreRepository6 B
tokenizer.jsonTokenizer1.7 MB
tokenizer_config.jsonTokenizer401 B
vocab.txtTokenizer1.1 MB

License and Download

License
mit
Access
Open weights, no gate
Download size
236.0 MB
Download from David Dale

Released by David Dale through its official repository on Hugging Face. Read the license.

Memory Requirements

PrecisionWeights in memory
As published236.0 MB
16-bit0.1 GB
8-bit0.0 GB
4-bit0.0 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Compare rubert-tiny2

Questions About rubert-tiny2

How much GPU memory does rubert-tiny2 need?

About 0.1 GB at 16-bit and 0 GB at 4-bit: the weights (29M parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run rubert-tiny2 on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use rubert-tiny2 commercially?

Yes. rubert-tiny2 is released under MIT License. The MIT License is a short permissive license. It permits commercial use, modification and redistribution, provided the copyright notice and permission notice are included.

What is rubert-tiny2's context length?

2,048 tokens, from the maximum position embeddings in its published configuration.

Similar Models

Model · Sentence similarity

snowflake-arctic-embed-s

Snowflake

12/04/2024: Release of snowflake-arctic-embed-l-v2.0 and snowflake-arctic-embed-m-v2.0 our newest models with multilingual workloads in mind. These models outperform prior versions of Arctic Embed and we suggest these replace prior versions! 07/26/2024: Release preprint [[2407.18887] Embedding And Clustering Your Data Can Improve Contrastive Pretraining](https://arxiv.org/abs/2407.18887) on arXiv. 07/18/2024: Release of snowflake-arctic-embed-m-v1.5, capable of producing highly compressible embedding vectors that preserve quality even when squished as small as 128 bytes per vector. Details about the development of this model are available in the launch post on the Snowflake engineering…

Open weights apache-2.0 33M parameters 512 tokens sentence-transformers

Model · Sentence similarity

all-MiniLM-L12-v2

Sentence Transformers

This is a sentence-transformers model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Using this model becomes easy when you have sentence-transformers installed: Then you can use the model like this: Without sentence-transformers, you can use the model like this: First, you pass your input through the transformer model, then you have to apply the right pooling-operation on-top of the contextualized word embeddings. The project aims to train sentence embedding models on very large sentence level datasets using a self-supervised contrastive learning objective. We used the pretrained…

Open weights apache-2.0 33M parameters 512 tokens sentence-transformers

Model · Sentence similarity

gte-small

Dingkun Long

General Text Embeddings (GTE) model. Towards General Text Embeddings with Multi-stage Contrastive Learning The GTE models are trained by Alibaba DAMO Academy. They are mainly based on the BERT framework and currently offer three different sizes of models, including GTE-large, GTE-base, and GTE-small. The GTE models are trained on a large-scale corpus of relevance text pairs, covering a wide range of domains and scenarios. This enables the GTE models to be applied to various downstream tasks of text embeddings, including information retrieval, semantic textual similarity, text reranking, etc. We compared the performance of the GTE models with other popular text embedding models on the MTEB…

Open weights mit 33M parameters 512 tokens sentence-transformers

Model · Sentence similarity

e5-small-v2

Liang Wang

Liang Wang, Nan Yang, Xiaolong Huang, Binxing Jiao, Linjun Yang, Daxin Jiang, Rangan Majumder, Furu Wei, arXiv 2022 This model has 12 layers and the embedding size is 384. Below is an example to encode queries and passages from the MS-MARCO passage ranking dataset. Please refer to our paper at https://arxiv.org/pdf/2212.03533.pdf. Check out unilm/e5 to reproduce evaluation results on the BEIR and MTEB benchmark. Below is an example for usage with sentencetransformers. Package requirements pip install sentencetransformers~=2.2.2 1. Do I need to add the prefix "query: " and "passage: " to input texts? Yes, this is how the model is trained, otherwise you will see a performance degradation.…

Open weights mit 33M parameters 512 tokens sentence-transformers

Model · Sentence similarity

all-MiniLM-L6-v2

Sentence Transformers

This is a sentence-transformers model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Using this model becomes easy when you have sentence-transformers installed: Then you can use the model like this: Without sentence-transformers, you can use the model like this: First, you pass your input through the transformer model, then you have to apply the right pooling-operation on-top of the contextualized word embeddings. The project aims to train sentence embedding models on very large sentence level datasets using a self-supervised contrastive learning objective. We used the pretrained…

Open weights apache-2.0 23M parameters 512 tokens sentence-transformers

Model · Sentence similarity

paraphrase-MiniLM-L6-v2

Sentence Transformers

This is a sentence-transformers model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Using this model becomes easy when you have sentence-transformers installed: Then you can use the model like this: Without sentence-transformers, you can use the model like this: First, you pass your input through the transformer model, then you have to apply the right pooling-operation on-top of the contextualized word embeddings. This model was trained by sentence-transformers. If you find this model helpful, feel free to cite our publication Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks

Open weights apache-2.0 23M parameters 512 tokens sentence-transformers