~/talk

Local LLM fine-tuning: a practical example

links:none on file
slides:none on file

Concrete workflow for fine-tuning a local LLM: load metas lama 3.2.2 3B in Google Collab, attach Laura adapters (LoRA) via the ansloth package, prepare 100 cleaned Q/A examples converted to user/assistant tags, and run supervised fine-tuning for ~40 steps on a Tesla D4 GPU using TRL SFT. Less than 1% of params trainable, loss drops ~4→1, model exports to llama runner and is served through anything LLM, producing company-policy answers instead of generic guidance.

AI-written summary · about

  1. 0:00Introduction and agenda
  2. 1:05Why fine-tune LLMs locally
  3. 2:31What is fine-tuning
  4. 3:58Tools and setup overview
  5. 5:00Downloading and initializing the model
  6. 6:06Adding LoRA adapters
  7. 7:12Testing the base model
  8. 8:37Preparing the dataset
  9. 10:21Formatting the training data
  10. 11:05Configuring the SFT trainer
  11. 12:10Training the model
  12. 13:14Starting the fine-tuning process
  13. 14:21Exporting the fine-tuned model
  14. 15:06Testing with Anything LLM
  15. 17:48Key takeaways and challenges
  16. 20:24Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.