Parameter-efficient fine-tuning with QLoRA and Hugging Face

  Рет қаралды 2,532

Julien Simon

Julien Simon

9 ай бұрын

In this sequel to my previous video ( • Summarizing legal docu... ), I delve into optimizing the fine-tuning of a Google FLAN-T5 model for legal text summarization. The focus is on employing QLoRA for parameter-efficient fine-tuning. All it takes is a few extra lines of simple code in your existing script.
This methodology allows us to train the model with remarkable cost efficiency, utilizing even modest GPU instances, which I demonstrate on AWS with Amazon SageMaker. Tune in for a detailed exploration of the technical nuances behind this process.
⭐️⭐️⭐️ Don't forget to subscribe to be notified of future videos ⭐️⭐️⭐️
- Original model: huggingface.co/google/flan-t5...
- LoRA model: huggingface.co/juliensimon/fl...
- Dataset: huggingface.co/datasets/billsum
- Notebook: gitlab.com/juliensimon/huggin...
Follow me on Medium at / julsimon or Substack at julsimon.substack.com.

Пікірлер: 4
@WhySoBroke
@WhySoBroke 9 ай бұрын
Every minute of your videos is more valuable than a month in an expensive USA “public” university... very very grateful
@juliensimonfr
@juliensimonfr 9 ай бұрын
That's super nice, thank you. Happy to help!
@AI_by_AI_007
@AI_by_AI_007 9 ай бұрын
I remember one short year ago you did the "Analyze SEC filings with Transformers for fun and profit" video and I did that jumpstart as a demo for an internal audience at work --- it just blew people away... Then a month later Chat GPT came out. It feels a lifetime ago... So much has changed. Your work is terrific and your community building is legendary. I just want to say Thank you 🤘
@juliensimonfr
@juliensimonfr 9 ай бұрын
Thank you for the kind words. Keep rocking 😀
LoRA & QLoRA Fine-tuning Explained In-Depth
14:39
Entry Point AI
Рет қаралды 33 М.
Fine-tuning Large Language Models (LLMs) | w/ Example Code
28:18
Shaw Talebi
Рет қаралды 286 М.
Iron Chin ✅ Isaih made this look too easy
00:13
Power Slap
Рет қаралды 36 МЛН
Alex hid in the closet #shorts
00:14
Mihdens
Рет қаралды 17 МЛН
Каха заблудился в горах
00:57
К-Media
Рет қаралды 10 МЛН
Train tabular models automatically with Hugging Face AutoTrain
11:03
Prompt Optimization and Parameter Efficient Fine Tuning
28:13
Toronto Machine Learning Series (TMLS)
Рет қаралды 662
Using Script Mode with Amazon SageMaker
34:39
Julien Simon
Рет қаралды 11 М.
LoRA explained (and a bit about precision and quantization)
17:07
Fine-tuning LLMs with PEFT and LoRA
15:35
Sam Witteveen
Рет қаралды 120 М.
Create fine-tuned models with NO-CODE for Ollama & LMStudio!
21:52
Tim Carambat
Рет қаралды 17 М.
Todos os modelos de smartphone
0:20
Spider Slack
Рет қаралды 65 МЛН
Rate This Smartphone Cooler Set-up ⭐
0:10
Shakeuptech
Рет қаралды 6 МЛН
İĞNE İLE TELEFON TEMİZLEMEK!🤯
0:17
Safak Novruz
Рет қаралды 2,2 МЛН