#51 · Primary category: NLP Tools & Text Processing
model2vec
Fast State-of-the-Art Static Embeddings
Project last updated:08/29/26
GitHub Stars
2.2K
Forks
124
Contributors
12
License
MIT
Why we included this project
Model2Vec distills an existing sentence transformer into a compact static embedding model that runs in pure Python without a GPU. Anyone who has served embeddings at scale knows how quickly transformer encoders eat into latency and memory budgets; this library shrinks an encoder by up to 50x and makes it up to 500x faster, at the cost of a modest accuracy dip. You can pull prebuilt distilled models from the HuggingFace hub in one line, or distill your own transformer with the provided API. It also includes a trainable classifier wrapper and supports both sequence-level and token-level embeddings, which covers semantic search, RAG pipelines, and text classification without a separate setup for each. For teams running text embeddings on commodity hardware, that is a practical shortcut that stays competitive with much larger models.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
flair
A very simple framework for state-of-the-art Natural Language Processing (NLP)
compromise
modest natural-language processing
tokenizers
💥 Fast State-of-the-Art Tokenizers optimized for Research and Production
CoreNLP
CoreNLP: A Java suite of core NLP tools for tokenization, sentence segmentation, NER, parsing, coreference, sentiment analysis, etc.
Chinese-Word-Vectors
100+ Chinese Word Vectors 上百种预训练中文词向量