SetFit recap: 8 examples per class rivals RoBERTa-Large fine-tuned on 3k
tomaarsen · x · 2026-09-04
The author explains SetFit had fallen behind the ecosystem: it wouldn't import with transformers v5, couldn't load models with huggingfacehub v1, warned on every import with Sentence Transformers v5.4+, and crashed on datasets v4 columns — all fixed in v1.2.0 while old versions keep working. How it works: SetFit turns a few labeled sentences into positive/negative pairs, contrastively fine-tunes a Sentence Transformer, and fits a classifier on the embeddings; 8 examples per class rivals RoBERTa-Large fine-tuned on 3k examples.
More from coding & agent
- Salesforce research: buyer agents concede too easily, images boost persuasion ~17% — msrivastav13 · 2026-12-05
- Grok Build launches agent-driven post-quantum cryptography migration after NSA advisory, with $1,000 credits — ns123abc · 2026-12-05
- Seroter's reading list: post-quantum prep, agent harnesses, and life after 99% AI code — rseroter · 2026-12-05
- WSDM Cup 2027 Offers $10k to Build Autonomous Community Notes Agents — sanmikoyejo · 2026-12-05
- Trying Copilot Studio MCP for agent cloning and Power Automate sync: janky but workable — koltregaskes · 2026-12-05
- xAI launches Grok Bot: autonomous AI teammates that live in Slack and Teams — Baconbrix · 2026-12-05