SetFit v1.2.0 released: few-shot classifier catches up with modern ecosystem

Hugging Face's tomaarsen released SetFit v1.2.0 on Sep 4. SetFit is a prompt-free few-shot text classification framework: it builds positive/negative pairs from a few labeled sentences, contrastively fine-tunes a Sentence Transformer, then trains a classification head on the embeddings—needing only 8 samples per class to rival RoBERTa-Large fine-tuned on 3000 samples. This release is a major compatibility overhaul that makes SetFit usable again in the current ecosystem.

Confirmed

Why it matters

SetFit lets teams without large labeled datasets—or those avoiding LLMs and prompt engineering—train competitive classifiers with 8 samples per class at very low cost, with ONNX/OpenVINO deployment support. Prior versions were nearly unusable in the current ecosystem; v1.2.0 restores compatibility with the latest transformers, huggingfacehub, and Sentence Transformers stacks.

2026-09-04 ~ 2026-09-04 · 9 related posts

Primary sources

1 near-duplicate retellings: tomaarsen