| What it is | Fast, light, accurate library built for retrieval embedding generation | Fast state-of-the-art static embeddings, and lightweight classifiers trained on top of them | Rust library for generating vector embeddings, reranking locally |
| Features | - ONNX Runtime instead of PyTorch
- dense, sparse (SPLADE++, BM42) and late-interaction (ColBERT, ColPali) embeddings
- image embeddings (CLIP)
- cross-encoder rerankers
- custom models via add_custom_model
- data-parallel encoding of large datasets
- GPU support through fastembed-gpu
| - distills any Sentence Transformer into a static model in about 30 seconds on CPU, without a dataset
- pre-trained Potion models on Hugging Face: English, multilingual, retrieval and code
- up to 50x smaller and up to 500x faster than the source model on CPU (maker's figures)
- mean embeddings and per-token sequence embeddings
- fine-tuning for single- and multi-label classification, similarity, regression and pair similarity
- trained classifiers export to scikit-learn pipelines that run without torch
- push and load models and classifiers on the Hugging Face Hub
- optional float16 or int8 quantization and vocabulary quantization
- All 10 features
| - dense, sparse and image embeddings
- rerankers (BGE, Jina)
- synchronous API, no Tokio dependency
- ONNX inference through ort
- quantized model variants
- user-defined local models via try_new_from_user_defined
- candle backend for Qwen3, nomic v2 MoE and BERT, with Metal and CUDA
- DirectML on Windows
- All 12 features
|