Prototype: votes, saves, and profiles aren't stored on this hosted preview yet. No real accounts, and no emails or texts. Privacy

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)

try: import rapidfireai print("✅ rapidfireai already installed") except ImportError: %pip install rapidfireai # Takes ~1 min !rapidfireai init # Takes ~1 min

From HF Cookbook, rapidfire_sft_multiconfig_training ↗

Set up training

# Launch train and validation for all configs in the config_group with swap granularity of 4 chunks for hyperparallel execution experiment.run_fit( config_group, sample_create_model, train_dataset, eval_dataset, num_chunks=4, seed=42 )

From HF Cookbook, rapidfire_sft_multiconfig_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)
PartLicense, as the source or Hub states it
CodeApache-2.0 (huggingface/cookbook)
Base modelMIT
DatasetCDLA-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.