~/talk

Practicalities of Fine-Tuning Llama 2 with AI Studio

links:none on file
links:none on file
links:none on file
links:none on file
slides:none on file

Step-by-step recipe for turning domain PDFs into a reliable RAG model: split documents into chunks, generate ~18,000 QA pairs (using a Llama 3 70B instruct model) with Chain-of-Thought and distractor chunks, bundle into train/val/test, then fine-tune a base Llama 7B or Llama 27B in Azure AI Studio using batch=1, lr≈0.002, 1 epoch. Dataset generation consumes ~10M input / 3.7M output tokens (~$80), fine-tuning costs ~$35/hr (≈1–2 hrs), and yields a 4.76 similarity score (~1.7× improvement) while improving grounded retrieval behavior.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05Retrieval Augmented Gen
  3. 5:50Fine-Tuning Overview
  4. 10:12What is Raft?
  5. 17:26Data Preparation
  6. 23:38Fine-Tuning in AI Studio
  7. 31:21Model Deployment
  8. 32:47Raft Demo
  9. 37:18Cost and Results
  10. 43:58Q&A and Conclusion
~/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.