LLM Finetuning Workshop thumbnail

LLM Finetuning Workshop

10 lessons2 topics17h 4mself-paced

About this course

The "LLM Finetuning Workshop" is an intensive course designed for individuals and small companies looking to deepen their understanding of fine-tuning large language models (LLMs) for specific tasks. Throughout the workshop, participants will explore the concept of instruction fine-tuning, learning how to transform pre-trained models into tools that excel in context-specific situations. The course begins with a comparison of the benefits and drawbacks of fine-tuning versus retrieval-augmented generation (RAG), illustrating the intrinsic dimensionality involved in 'rewiring' a model's capabilities. Participants will then gain hands-on experience building an instruction fine-tuned model from scratch, with a particular focus on the efficiency of fine-tuning over resource-intensive pre-training processes. Subsequent lessons cover the use of Hugging Face and Unsloth libraries to adapt model architectures and the application of parameter-efficient techniques like LoRA to optimize and reduce computational costs. Additionally, attendees will delve into cutting-edge projects such as subliminal learning and RAFT, offering insights into latent preference transfers and retrieval-augmented fine-tuning, respectively. The workshop also provides essential resources, including code files and guides, to support participants in applying what they've learned. This course is ideal for those interested in advancing their skill set in AI model customization and application within various contexts.

Course curriculum

2 topics • 10 lessons

17h 4m
All workshop materials10 items
  1. All workshop materials
  2. Day 1 Finetuning vs RAG Tradeoffs
  3. Day 2 Build an Instruction fine-tuned model from scratch
  4. Day 3 HuggingFace + Unsloth finetuning projects
  5. Day 4 Parameter Efficient Finetuning
  6. Day 5 Research: Subliminal Learning + RAFT
  7. Code Files
  8. Miro Notes
  9. Vizuara Unsloth Finetuning Guide
  10. When to Use RAG, Fine-Tuning, or Few-Shot Prompting: A Comprehensive Guide
Course End Test1 items
  1. Course End Testcourse end test