Model2Vec
Distills sentence transformers into tiny static embedding models up to 500x faster on CPU.
About
Distillation in about thirty seconds on a CPU is the headline trick of Model2Vec from MinishLab: it converts any Sentence Transformer into a static embedding model by passing a vocabulary through the teacher once and storing the resulting token vectors, with PCA and frequency weighting applied on top. The output needs no neural network at inference, which makes distilled models up to 500x faster and up to 50x smaller, from the 1.8M-parameter potion-base-2M up to the 128M-parameter potion-multilingual-128M released in May 2025 covering 101 languages, at a modest accuracy cost on MTEB. No training data is required for basic distillation, and optional extras add fine-tuning and training pipelines. Installation is pip install model2vec, inference runs anywhere Python does, and the models plug into Sentence Transformers, LangChain, and the Hugging Face Hub. Code and released models are MIT licensed. Teams use it to cut embedding costs in latency-sensitive or high-volume pipelines where a full transformer is overkill; the repository has about 2,200 stars.
Reviews (0)
Leave a Review
No reviews yet. Be the first to review!
Details
- Category
- Vector Databases & Embeddings
- Price
- Free
- Platform
- Local/Desktop
- Difficulty
- Easy (2/5)
- License
- MIT
- Added
- Jul 29, 2026
Related Tools
Fast embedding inference server supporting many embedding models.
Open-source vector similarity search extension for PostgreSQL.
All-in-one embeddings database for semantic search, LLM orchestration, and language model workflows.
Library for representing and sending multimodal data by Jina AI.
Python client library for Qdrant vector database.
Efficient similarity search library by Meta for dense vector clustering and retrieval.