SetFit: Efficient Few-Shot Learning Without Prompts
Mar 6, 2025

Summary
This post introduces SetFit, a new parameter-efficient fine-tuning method for few-shot learning. SetFit utilizes a Siamese network architecture and contrastive learning to train models on small labeled datasets, achieving high accuracy without prompts. It involves a two-stage training process: first, training a Siamese network on unlabeled data to generate synthetic labels, and second, fine-tuning a classification model on these synthetic labels. The post provides benchmarks demonstrating SetFit's competitive performance against other few-shot learning methods.
More from the Parameter-Efficient Fine-Tuning (PEFT) trail
- Beyond LoRA: Can you beat the most popular fine-tuning technique?
- One Model Family, Two Gold-Level Results: Fine-Tuning Nemotron for IOI and IMO
- NeoMME: an efficient Multimodal-native and Multilingual Encoder
- Fine-tuning a 350M Model for Better Structured Outputs in 100 GRPO Steps
- Training a coding model to paint watercolours with TRL and OpenEnv