Recipes / Review & lead classification
Sort customer messages with SetFit and Argilla (HF Cookbook)
A small sentence-transformers model that suggests labels (for example intents) for text, trained zero-shot with SetFit and reviewed in Argilla.
- No license flags found
Source: HF Cookbook ↗ · by Berenstein and Sara Han Díaz · last updated Jan 9, 2026
What a local business could build with it
Tag incoming reviews, emails or web leads as 'complaint', 'quote request', 'booking' and so on, with a person checking suggestions before they're trusted.
How to run it
Commands are copied from the source, unchanged except where a notebook cell is cut at 40 lines (marked in the code). Placeholders like <you> are the source's own. Credit goes to the authors named on each block.
Install (as written in the notebook)
Set up training
Licenses
No flags: every license we found for this recipe is permissive (Apache-2.0, MIT, BSD, CC BY or similar). Still read each one.
| Part | License, as the source or Hub states it |
|---|---|
| Code | Apache-2.0 (huggingface/cookbook) |
| Base model | Apache-2.0 |
| Dataset | CC BY 4.0 |
Checked against the Hugging Face API and each repo on December 4, 2026. A grouping like “$10M revenue cap” is our shorthand, not legal advice.