Downloads · 30 days
69
15% of all-time downloads
mlsa-iai-msu-lab/sci-rus-tiny4
sci-rus-tiny4 is a feature extraction model from mlsa-iai-msu-lab. Use it when you need embeddings to search or compare text. It is set up for sentence-transformers. The card lists the license as mit.
This is a multilingual encoder model designed for scientific text embeddings, supporting Russian, English, and Chinese languages. It is built on the ModernBERT architecture and trained on a large corpus of scientific…
Downloads · 30 days
69
15% of all-time downloads
All-time downloads
467
Public
Parameters
20.1M
80.4 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors80.4 MB · 95%
From the Hugging Face model README
This is a multilingual encoder model designed for scientific text embeddings, supporting Russian, English, and Chinese languages. It is built on the ModernBERT architecture and trained on a large corpus of scientific papers, citations, and co-citations to capture semantic similarity across these languages.
The model was trained from scratch in two stages: Masked Language Modeling (MLM), followed by a joint Contrastive Learning and Knowledge Distillation stage. A custom tokenizer was also trained from scratch to better handle scientific terminology across the three languages.
In the first stage, the model was trained from scratch using the MLM objective on 31 million scientific abstracts collected from Elibrary, Semantic Scholar (S2), and ScienceChina.
In the second stage, contrastive learning and knowledge distillation are optimized together in a single training run (launched by a distillation training script). The total loss is a weighted combination of an InfoNCE contrastive loss and a KL-divergence distillation loss between the student and teacher pairwise-similarity distributions:
$$\mathcal{L} = (1 - w) \cdot \mathcal{L}{\text{InfoNCE}} + w \cdot \mathcal{L}{\text{KL}}, \quad w = 0.7$$
The student is distilled from the teacher Qwen/Qwen3-Embedding-8B to transfer its representation quality into the compact ModernBERT student. Teacher embeddings are used in offline mode — precomputed per-sample embeddings looked up at training time rather than running the teacher online — with a distillation (softmax) temperature of 0.1.
The model is trained on data from three primary sources:
Two types of datasets were used during training:
Title - Abstract Pairs:
Citation and Co-citation Pairs:
| Language Pair | Dataset Type | Examples | Tokens |
|---|---|---|---|
| ru/en | title-abstract | 17,727,817 | 4.53B |
| ru/en | co-citation | 33,682,590 | 18.95B |
| ru/en | citation | 39,988,291 | 22.91B |
| zh/en | title-abstract | 4,643,720 | 2.17B |
| zh/en | citation | 9,181,506 | 8.89B |
| en | title-abstract | 30,561,536 | 9.05B |
| en | citation | 13,307,255 | 7.35B |
| en | co-citation | 61,950,491 | 34.20B |
| Total | 211,043,206 | 108.04B |