~/talk

Efficiently Fine-Tuning Small Language Models with Python in 2025

Talkat PyCon Israel 2025 · on Tuesday, 2025-09-09· [machine-learning, python]
links:none on file
slides:none on file

Claim: small language models fine-tuned with Python tools beat larger LLMs on domain tasks. Uses Hugging Face Transformers, LoRA adapters and quantization, plus orchestration via Axolotl and RunPod; tokenization must match the base model. Example: a LLaMA‑style 1B model trained on a 120,000‑record news headline dataset (4 labels) on a Colab T4 finishes in roughly 50 minutes and yields an 8% accuracy gain over GPT baseline; other small models (3–8B) show 14–20% improvements on benchmark leaderboards.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 1:36Why fine-tune small language models
  3. 5:15Methods enabling fine-tuning today
  4. 8:09Use cases for small models
  5. 10:16End-to-end Python demo setup
  6. 13:35Choosing the right model and data
  7. 15:44Configuring training with LoRA
  8. 17:26Simplifying training with Axolotl
  9. 18:47Results and performance gains
  10. 19:31Key takeaways and next steps
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.