Downloads · 30 days
14
3% of all-time downloads
skatzR/USER-BGE-M3-MiniLM-L12-v2-Distilled
USER-BGE-M3-MiniLM-L12-v2-Distilled is a machine learning model from skatzR. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
[](https://huggingface.co/skatzR/USER-BGE-M3-MiniLM-L12-v2-Distilled)
Downloads · 30 days
14
3% of all-time downloads
All-time downloads
466
Public
Parameters
118M
504 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors472 MB · 94%
From the Hugging Face model README
✨ This repository contains a student model distilled from Deepvk/USER-BGE-M3 using Sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2 as base.
It is designed for fast inference, semantic search, sentence similarity, and clustering tasks in Russian 🇷🇺 and English 🇬🇧.
| Property | Value |
|---|---|
| Teacher Model | Deepvk/USER-BGE-M3 |
| Base Model | sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2 |
| Distillation | Student model trained to mimic teacher embeddings |
| Embedding Dim | 1024 |
| Libraries | sentence-transformers, torch |
| Supported HW | CPU & GPU |
| License | Apache-2.0 |
Note on Distillation:
To allow the student to correctly “mimic” the teacher:
✅ Recommended for:
❌ Not ideal for:
Pros ✅
sentence-transformersCons ❌
We evaluated the model on validation and test splits against the teacher (Deepvk/USER-bge-m3), the distilled student, and the original paraphrase-multilingual-MiniLM-L12-v2.
| Split | Model | MSE | Cosine mean | Cosine std | MRR | Recall@1 | Recall@5 | Recall@10 |
|---|---|---|---|---|---|---|---|---|
| Validation | Teacher | 0.000000 | 1.0000 | 0.0000 | 0.9244 | 0.8746 | 0.9851 | 0.9966 |
| Validation | Student | 0.000365 | 0.7896 | 0.0643 | 0.8906 | 0.8248 | 0.9726 | 0.9893 |
| Validation | MiniLM | 0.018173 | -0.0012 | 0.0303 | 0.0003 | 0.0000 | 0.0002 | 0.0002 |
| Validation | Student vs MiniLM | 0.017826 | -0.0019 | 0.0295 | 0.0002 | 0.0000 | 0.0000 | 0.0002 |
| Test | Teacher | 0.000000 | 1.0000 | 0.0000 | 0.9273 | 0.8771 | 0.9908 | 0.9962 |
| Test | Student | 0.000362 | 0.7921 | 0.0556 | 0.8832 | 0.8107 | 0.9763 | 0.9895 |
| Test | MiniLM | 0.015902 | -0.0033 | 0.0302 | 0.0003 | 0.0000 | 0.0002 | 0.0002 |
| Test | Student vs MiniLM | 0.015553 | -0.0037 | 0.0295 | 0.0002 | 0.0000 | 0.0001 | 0.0002 |
USER-BGE-M3-MiniLM-L12-v2-Distilled — trained student model directory, includes all weights and architecture, including the custom 2_Dense projection layer used for distillationtokenizer.json, config.json — model configuration and tokenizer2_Dense) contain layers specific to the distillation setup and are handled automatically by sentence-transformersfrom sentence_transformers import SentenceTransformer
model = SentenceTransformer("skatzR/USER-BGE-M3-MiniLM-L12-v2-Distilled")
embeddings = model.encode(["Hello world", "Привет мир"])