Recipes / Customer-support chat
Compare fine-tune settings on customer-support data (HF Cookbook)
GPT-2 (124M) fine-tuned with several LoRA settings at once on the Bitext customer-support chatbot dataset, using the RapidFire AI package.
- Share-alike
Source: HF Cookbook ↗ · by RapidFire AI · last updated Jan 5, 2026
What a local business could build with it
A teaching-sized way to see how settings change a support bot before you spend on a bigger model. GPT-2 is a toy, so treat the results as a method demo, not a product.
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
License flags to read before commercial use:
- Dataset: Share-alike terms: derived data may need the same license. CDLA-Sharing-1.0 (share-alike)
| Part | License, as the source or Hub states it |
|---|---|
| Code | Apache-2.0 (huggingface/cookbook) |
| Base model | MIT |
| Dataset | CDLA-Sharing-1.0 (share-alike) |
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.
Worth knowing
- The rapidfireai package's own license was not checked.