| What it is | Fast state-of-the-art static embeddings, and lightweight classifiers trained on top of them | The 340M English classification model in the GLiNER2.5 family: any label set at call time, no generated tokens | Efficient few-shot learning with Sentence Transformers | Fast, light, accurate library built for retrieval embedding generation |
| Features | - 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
| - labels chosen at call time, with optional descriptions
- several decision heads in one forward pass
- single-label and multi-label (with a threshold) tasks
- yes/no questions over a passage via a prompt
- ordinal scores as plain string labels
- runs on CPU or GPU through gliner2
- fine-tuning from JSONL rows
| - few-shot fine-tuning of any Sentence Transformer on the Hugging Face Hub
- no prompts or verbalizers
- scikit-learn logistic regression head or a differentiable PyTorch head
- multi-label classification
- zero-shot classification from label names via synthetic examples
- aspect-based sentiment analysis (ABSA)
- knowledge distillation into smaller models
- hyperparameter optimization with Optuna
- All 10 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
|