SetFit

πŸ€— SetFit is an efficient and prompt-free framework for few-shot fine-tuning of Sentence Transformers. It achieves high accuracy with little labeled data - for instance, with only 8 labeled examples per class on the Customer Reviews sentiment dataset, πŸ€— SetFit is competitive with fine-tuning RoBERTa Large on the full training set of 3k examples!

Compared to other few-shot learning methods, SetFit has several unique features:

Tutorials

Learn the basics and become familiar with loading pretrained Sentence Transformers and fine-tuning them on data. Start here if you are using πŸ€— SetFit for the first time!

How-to guides

Practical guides to help you achieve a specific goal. Take a look at these guides to learn how to use πŸ€— SetFit to solve real-world problems.

Conceptual guides

High-level explanations for building a better understanding about important topics such as few-shot and contrastive learning.

Reference

Technical descriptions of how πŸ€— SetFit classes and methods work.

< > Update on GitHub