TLDRocket
Sign in

SetFit: Efficient Few-Shot Learning Without Prompts

Hugging Face Blog

SetFit is a framework for few-shot text classification that fine-tunes sentence transformers on small labeled datasets without requiring handcrafted prompts. On the Customer Reviews sentiment dataset, SetFit achieved competitive results with only 8 labeled examples per class, matching performance from fine-tuning RoBERTa Large on 3,000 examples. Training SetFit on an NVIDIA V100 takes 30 seconds at a cost of $0.025, compared to 11 minutes and $0.7 for the larger T-Few 3B model on the same task.

Related stories

The daily briefing

Every AI story that matters, in your inbox by 8am.

TLDRocket reads 60+ sources, removes duplicate coverage, and summarises the day in two minutes. Free, no spam, unsubscribe anytime.