~/talk

Fine-tune LLMs from Kaggle Models using (Q)LoRA

Talkat DSC Europe 24 · 2024-11-18..11-22· [large-language-models, machine-learning]
links:none on file
slides:none on file

Shows hands-on fine-tuning inside Kaggle Models notebooks using quantized Low-Rank Adaptation: load a model, apply 4-bit quantization, insert LoRA layers and train with Transformers + TRL SFT. Example 1: Gemma-class ~2.6B params with LoRA rank 5 drops trainable weights to ~3.6M and finishes ~20 minutes (20 epochs) on a free P100. Example 2: Llama 3 quantized + LoRA raises sentiment accuracy from 0.37 to 0.87 after five epochs (≈1 hour). Code and notebooks are on Kaggle Hub.

AI-written summary · about

  1. 0:00Introduction
  2. 1:09What is Kaggle and its features
  3. 3:43About the speaker and resources
  4. 5:12Kaggle Models
  5. 8:08Fine-tuning purpose
  6. 10:38Parameter-efficient LoRA
  7. 13:55Quantization with LoRA
  8. 14:18Fine-tuning Gemma 2B
  9. 18:56Fine-tuning Llama 3
  10. 24:21Key takeaways and Kaggle’s generative AI capabilities
  11. 25:47Q&A
~/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.