Kasya-embed-150M: A compact and powerful Russian embedding model
2 min readupdated
A new Russian text embedding model (numeric vectors for text) with 150M parameters, created by developer Quakeer444. The model is built on deepvk/RuModernBERT-base, distilled from a larger language model, and contrastively fine-tuned. It is designed for semantic search, classification, clustering, and duplicate detection, delivering record-breaking quality among compact solutions. It is ideal for developers building search engines, recommender systems, and smart text filtering.
Key features
- Leader among compact models: Ranks first on the ruMTEB (v1.1) benchmark among models with under 1B parameters.
- High operating speed: Runs about 5 times faster than the FRIDA model on a CPU with a vector dimension of 768.
- Exceptional search and classification: Delivers top results in retrieval, classification, and clustering among similarly sized small models.
- Long context: Supports input texts up to 2048 tokens long.
What you can do
- Set up semantic search: Implement precise search across documents, knowledge bases, or websites using queries and instructions.
- Classify texts: Automate the sorting of support tickets, reviews, or news items into categories.
- Cluster data: Group similar user messages or topics for analytics.
- Find duplicates and similar texts: Apply for STS (semantic textual similarity) tasks and content deduplication.
Example
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("Quakeer444/Kasya-embed-150M")
queries = ["Как приучить котёнка к лотку?"]
documents = [
"Поставьте лоток в тихое место и сажайте туда котёнка после сна и еды.",
"Прогноз погоды на выходные: в Москве ожидается дождь.",
]
query_embeddings = model.encode(queries, prompt_name="query")
document_embeddings = model.encode(documents)
print(model.similarity(query_embeddings, document_embeddings))Read more
Details• ruMTEB (v1.1) result: 73.37 average score across 23 tasks.
• Hardware requirements: About 1.6 GB of memory (RAM/VRAM) on the CPU.
• Limitations: Primary language is Russian (English and code are secondary); queries require a special prompt instruction.
• License: Apache-2.0.










Comments