deepvk_USER-bge-m3
deepvk · View on Hugging Face ↗
Model card
The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.
language:
- ru library_name: sentence-transformers tags:
- sentence-transformers
- sentence-similarity
- feature-extraction
widget: []
pipeline_tag: sentence-similarity
license: apache-2.0
datasets:
- deepvk/ru-HNP
- deepvk/ru-WANLI
- Shitao/bge-m3-data
- RussianNLP/russian_super_glue
- reciTAL/mlsum
- Milana/russian_keywords
- IlyaGusev/gazeta
- d0rj/gsm8k-ru
- bragovo/dsum_ru
- CarlBrendt/Summ_Dialog_News
USER-bge-m3
Universal Sentence Encoder for Russian (USER) is a sentence-transformer model for extracting embeddings exclusively for Russian language. It maps sentences & paragraphs to a 1024 dimensional dense vector space and can be used for tasks like clustering or semantic search.
This model is initialized from TatonkaHF/bge-m3_en_ru which is shrinked version of baai/bge-m3 model and trained to work mainly with the Russian language. Its quality on other languages was not evaluated.
Usage
Using this model becomes easy when you have sentence-transformers installed:
pip install -U sentence-transformers
Then you can use the model like this:
from sentence_transformers import SentenceTransformer
input_texts = [
"Когда был спущен на воду первый миноносец «Спокойный»?",
"Есть ли нефть в Удмуртии?",
"Спокойный (эсминец)\nЗачислен в списки ВМФ СССР 19 августа 1952 года.",
"Нефтепоисковые работы в Удмуртии были начаты сразу после Второй мировой войны в 1945 году и продолжаются по сей день. Добыча нефти началась в 1967 году."
]
model = SentenceTransformer("deepvk/USER-bge-m3")
embeddings = model.encode(input_texts, normalize_embeddings=True)
However, you can use model directly with transformers
import torch.nn.functional as F
from torch import Tensor, inference_mode
from transformers import AutoTokenizer, AutoModel
input_texts = [
"Когда был спущен на воду первый миноносец «Спокойный»?",
"Есть ли нефть в Удмуртии?",
"Спокойный (эсминец)\nЗачислен в списки ВМФ СССР 19 августа 1952 года.",
"Нефтепоисковые работы в Удмуртии были начаты сразу после Второй мировой войны в 1945 году и продолжаются по сей день. Добыча нефти началась в 1967 году."
]
tokenizer = AutoTokenizer.from_pretrained("deepvk/USER-bge-m3")
model = AutoModel.from_pretrained("deepvk/USER-bge-m3")
model.eval()
encoded_input = tokenizer(sentences, padding=True, truncation=True, return_tensors='pt')
with torch.no_grad():
model_output = model(**encoded_input)
# Perform pooling. In this case, cls pooling.
sentence_embeddings = model_output[0][:, 0]
# normalize embeddings
sentence_embeddings = torch.nn.functional.normalize(sentence_embeddings, p=2, dim=1)
# [[0.5567, 0.3014],
# [0.1701, 0.7122]]
scores = (sentence_embeddings[:2] @ sentence_embeddings[2:].T)
Also, you can use native FlagEmbedding library for evaluation. Usage is described in bge-m3 model card.
Training Details
We follow the USER-base model training algorithm, with several changes as we use different backbone.
Initialization: TatonkaHF/bge-m3_en_ru – shrinked version of baai/bge-m3 to support only Russian and English tokens.
Fine-tuning: Supervised fine-tuning two different models based on data symmetry and then merging via LM-Cocktail:
Since we split the data, we could additionally apply the AnglE loss to the symmetric model, which enhances performance on symmetric tasks.
Finally, we added the original
bge-m3model to the two obtained models to prevent catastrophic forgetting, tuning the weights for the merger usingLM-Cocktailto produce the final model, USER-bge-m3.
Dataset
During model development, we additional collect 2 datasets: deepvk/ru-HNP and
deepvk/ru-WANLI.
| Symmetric Dataset | Size | Asymmetric Dataset | Size |
|---|---|---|---|
| AllNLI | 282 644 | MIRACL | 10 000 |
| MedNLI | 3 699 | MLDR | 1 864 |
| RCB | 392 | Lenta | 185 972 |
| Terra | 1 359 | Mlsum | 51 112 |
| Tapaco | 91 240 | Mr-TyDi | 536 600 |
| deepvk/ru-WANLI | 35 455 | Panorama | 11 024 |
| deepvk/ru-HNP | 500 000 | PravoIsrael | 26 364 |
| Xlsum | 124 486 | ||
| Fialka-v1 | 130 000 | ||
| RussianKeywords | 16 461 | ||
| Gazeta | 121 928 | ||
| Gsm8k-ru | 7 470 | ||
| DSumRu | 27 191 | ||
| SummDialogNews | 75 700 |
Total positive pairs: 2,240,961 Total negative pairs: 792,644 (negative pairs from AIINLI, MIRACL, deepvk/ru-WANLI, deepvk/ru-HNP)
For all labeled datasets, we only use its training set for fine-tuning. For datasets Gazeta, Mlsum, Xlsum: pairs (title/text) and (title/summary) are combined and used as asymmetric data.
AllNLI is an translated to Russian combination of SNLI, MNLI and ANLI.
Experiments
We compare our mode with the basic baai/bge-m3 on the encodechka benchmark.
In addition, we evaluate model on the russian subset of MTEB on Classification, Reranking, Multilabel Classification, STS, Retrieval, and PairClassification tasks.
We use validation scripts from the official repositories for each of the tasks.
Results on encodechka:
| Model | Mean S | Mean S+W | STS | PI | NLI | SA | TI | IA | IC | ICX | NE1 | NE2 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
baai/bge-m3 |
0.787 | 0.696 | 0.86 | 0.75 | 0.51 | 0.82 | 0.97 | 0.79 | 0.81 | 0.78 | 0.24 | 0.42 |
USER-bge-m3 |
0.799 | 0.709 | 0.87 | 0.76 | 0.58 | 0.82 | 0.97 | 0.79 | 0.81 | 0.78 | 0.28 | 0.43 |
Results on MTEB:
| Type | baai/bge-m3 |
USER-bge-m3 |
|---|---|---|
| Average (30 datasets) | 0.689 | 0.706 |
| Classification Average (12 datasets) | 0.571 | 0.594 |
| Reranking Average (2 datasets) | 0.698 | 0.688 |
| MultilabelClassification (2 datasets) | 0.343 | 0.359 |
| STS Average (4 datasets) | 0.735 | 0.753 |
| Retrieval Average (6 datasets) | 0.945 | 0.934 |
| PairClassification Average (4 datasets) | 0.784 | 0.833 |
Limitations
We did not thoroughly evaluate the model's ability for sparse and multi-vec encoding.
Citations
@misc{deepvk2024user,
title={USER: Universal Sentence Encoder for Russian},
author={Malashenko, Boris and Zemerov, Anton and Spirin, Egor},
url={https://huggingface.co/datasets/deepvk/USER-base},
publisher={Hugging Face}
year={2024},
}
Magnet link
Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:
magnet:?xt=urn:btih:582677b4a3f8186df8c4c9022fbdeb2a649d0a2b&dn=deepvk_USER-bge-m3Open magnet in torrent client · infohash 582677b4a3f8186df8c4c9022fbdeb2a649d0a2b
Files & hashes
| Path | Size | sha1 | sha256 |
|---|---|---|---|
| 1_Pooling/config.json | 297 B (297 B) | 553a16bda12e2a6d2bb35de78c6ea264b7856e6a | 13e69897522ee8255104483ed9f219465d1be3936654a54a318758738052789e |
| README.md | 9.1 KB (9,344 B) | e8a8b495f961efe1906aba073329ccb8861fee37 | eb176c83586e764e1c71a7d22e248fea424669b3d59aafa81c938e06af1ac534 |
| config.json | 697 B (697 B) | 883b8e471271d3bc817c517fe7d045e41f0fabf7 | f3552b70cacff0f14829896d9021372a7667676f900111d1e68664e021ab3f7f |
| config_sentence_transformers.json | 195 B (195 B) | 00601a94dee609765fc5bbfcd52c515e943c3683 | 7e71918e932bc82c9222ba146a82c370e73f089be7ea2f058a39f954d1a48631 |
| model.safetensors | 1.34 GB (1,436,151,696 B) | f008243fe9f6a3bf6001b42a12db5c459aa1dfd0 | e6aa9c8e51a60ff383186a2f28f658305ba4ad23d2fa24296607885458ef2733 |
| modules.json | 349 B (349 B) | 952a9b81c0bfd99800fabf352f69c7ccd46c5e43 | 84e40c8e006c9b1d6c122e02cba9b02458120b5fb0c87b746c41e0207cf642cf |
| sentence_bert_config.json | 54 B (54 B) | 0140ba1eac83a3c9b857d64baba91969d988624b | eb9b44b13c0f52a3b3685c3b1cbdea1ba8b04bea123b98f61610048940776eb1 |
| sentencepiece.bpe.model | 1018.4 KB (1,042,866 B) | 8270f53cb39c21aff2b4b503803990f6535115f2 | 1538f6a9b7588645542db5c84f16c0b8e00a93ba9dbef13792ea065bdda403fb |
| special_tokens_map.json | 963 B (963 B) | 82d419cbd832e30f3b91f206398de3da3276fea2 | 66e573bfc6c3b062381e41274f7fd4143daaf01926888ffbd880c87aa6368443 |
| tokenizer.json | 3.2 MB (3,327,728 B) | f61d51849a3308dde1b7c5f0cbfcc375e7b04ffe | 068d9f7ed9dd190a00a567e5f7750fdc591b93bc623072ac8050a303c25f5937 |
| tokenizer_config.json | 1.3 KB (1,362 B) | c4d67b0826048e19f6c193896c6f717470613c7c | 797a7a078a80fdec3525f2625def11b0b5f31c3636212ef9d79785e6a41451f5 |
Cite this release
- Canonical URL
- https://aiseedbank.org/models/deepvk_USER-bge-m3/
- Slug
- deepvk_USER-bge-m3
- Infohash
- 582677b4a3f8186df8c4c9022fbdeb2a649d0a2b
- License
- apache-2.0
- Signing key fingerprint
- 85a3b32c3712427b
Every file carries a locally computed sha256 — verify a download against the signed sums: deepvk_USER-bge-m3.SHA256SUMS (+ minisign signature).
Provenance
| Upstream repository | deepvk/USER-bge-m3 |
|---|---|
| Revision (pinned) | 0cc6cfe48e260fb0474c753087a69369e88709ae |
| Fetched at | 2026-09-03T22:17:41Z |
| License at fetch | apache-2.0 |
| Snapshot tool | huggingface · seedbank 0.1.0 |
Trackers
- udp://announce.aitorrent.org:6969/announce
- http://announce.aitorrent.org:7070/announce
- udp://announce2.aitorrent.org:6970/announce
- http://announce2.aitorrent.org:7071/announce
- udp://tracker.opentrackr.org:1337/announce
- udp://open.demonii.com:1337/announce
- udp://open.stealth.si:80/announce
- udp://exodus.desync.com:6969/announce
- udp://tracker.torrent.eu.org:451/announce
✓ verified · rehash-vs-hf-metadata at 2026-09-03T22:17:57Z
apache-2.01.34 GB (1,440,535,551 bytes)sentence-transformerssafetensorsxlm-robertasentence-similarityfeature-extractiontext-embeddings-inferenceendpoints_compatible1 language (ru)paper: 2311.13534paper: 2309.12871