QLoRA paper explained (Efficient Finetuning of Quantized LLMs)

  Рет қаралды 9,584

AI Bites

AI Bites

Күн бұрын

QLoRA is the first approach that allows the TRAINING of Large Language Models (LLMs) on a single GPU. It does this by using three contributions namely: 1. a novel NormalFloat data type, 2. Double Quantization, 3. Paged Optimizers.
In this video, we explain the idea behind all three approaches and explain how they are put together to arrive at QLoRA.
⌚️ ⌚️ ⌚️ TIMESTAMPS ⌚️ ⌚️ ⌚️
0:00 - QLoRA
1:34 - Quantization
3:10 - Problem with Quantization
3:50 - Blockwise Quantization
5:42 - Normal Float
6:37 - Double Quantization
7:25 - Paged Optimizers
8:45 - QLoRA Finetuning
9:30 - LoRA vs QLoRA
10:28 - Results
🛠 🛠 🛠 MY SOFTWARE TOOLS 🛠 🛠 🛠
✍️ Notion - affiliate.notion.so/aibites-yt
✍️ Notion AI - affiliate.notion.so/ys9rqzv2vdd8
📹 OBS Studio for video editing - obsproject.com
📼 Manim for some animations - www.manim.community
📚 📚 📚 BOOKS I HAVE READ, REFER AND RECOMMEND 📚 📚 📚
📖 Deep Learning by Ian Goodfellow - amzn.to/3Wnyixv
📙 Pattern Recognition and Machine Learning by Christopher M. Bishop - amzn.to/3ZVnQQA
📗 Machine Learning: A Probabilistic Perspective by Kevin Murphy - amzn.to/3kAqThb
📘 Multiple View Geometry in Computer Vision by R Hartley and A Zisserman - amzn.to/3XKVOWi
MY KEY LINKS
KZbin: / @aibites
Twitter: / ai_bites​
Patreon: / ai_bites​
Github: github.com/ai-bites​
WHO AM I?
I am a Machine Learning Researcher/Practitioner who has seen the grind of academia and start-ups equally. I started my career as a software engineer 15 years ago. Because of my love for Mathematics (coupled with a glimmer of luck), I graduated with a Master's in Computer Vision and Robotics in 2016 when the now happening AI revolution just started. Life has changed for the better ever since.
#machinelearning #deeplearning #aibites

Пікірлер: 19
@pierluigiurru962
@pierluigiurru962 Ай бұрын
Your videos on LoRA finally made the concepts click for me. It was clearly explained! Thank you for the content you make
@AIBites
@AIBites Ай бұрын
Glad it helped. Welcome 😊
@vuluu4942
@vuluu4942 5 ай бұрын
Thank you for the explanation! I find that it's very helpful!
@haz5248
@haz5248 3 ай бұрын
That was really well explained with intuitative diagrams and explination. Thanks for the video , just subscribed .
@AIBites
@AIBites 3 ай бұрын
thank you! :)
@cacamaricano
@cacamaricano 3 ай бұрын
Thanks for connecting the dots!
@AIBites
@AIBites 3 ай бұрын
glad you liked! :)
@huitangtt
@huitangtt Ай бұрын
Very well explained
@AIBites
@AIBites Ай бұрын
Thanks so much 😊
@adarshsharma8039
@adarshsharma8039 Ай бұрын
amazing explanation
@AIBites
@AIBites Ай бұрын
Glad you think so!
@wilfredomartel7781
@wilfredomartel7781 5 ай бұрын
Waiting to see it.
@AIBites
@AIBites 5 ай бұрын
Sure! :)
@yeduniya657
@yeduniya657 5 ай бұрын
Hey. I need your help. I have a curated set of notes and books and I wish to use it to finetune a model. How can it be done?
@AIBites
@AIBites 4 ай бұрын
would you like to see a fine-tuning video on text data? Would that be useful? Do you have any suggestions on the dataset I can show fine-tuning on?
@yeduniya657
@yeduniya657 4 ай бұрын
@@AIBites Yes, I have suggestion. Finetuning a model on my journal in which I have written about the truth of nonduality and illusionary nature of reality. I am also actively curating books on truth, and would love your help.
@haz5248
@haz5248 3 ай бұрын
@@AIBites That would be very help. There arent many good videos on fine tune out there.
@AIBites
@AIBites 2 ай бұрын
hope the fine-tuning video was of some help
@AIBites
@AIBites 2 ай бұрын
hope the fine-tuning video was of some help
Low-Rank Adaptation - LoRA explained
10:42
AI Bites
Рет қаралды 8 М.
Универ. 10 лет спустя - ВСЕ СЕРИИ ПОДРЯД
9:04:59
Комедии 2023
Рет қаралды 963 М.
ГДЕ ЖЕ ЭЛИ???🐾🐾🐾
00:35
Chapitosiki
Рет қаралды 8 МЛН
GraphRAG: LLM-Derived Knowledge Graphs for RAG
15:40
Alex Chao
Рет қаралды 71 М.
I Analyzed My Finance With Local LLMs
17:51
Thu Vu data analytics
Рет қаралды 416 М.
A Gentle Introduction to DSPy in Python Part 1
25:53
Learn By Building AI
Рет қаралды 4,6 М.
QLoRA: Efficient Finetuning of Quantized LLMs | Tim Dettmers
30:48
Applied Machine Learning Days
Рет қаралды 2,5 М.
LoRA explained (and a bit about precision and quantization)
17:07
Understanding 4bit Quantization: QLoRA explained (w/ Colab)
42:06
code_your_own_AI
Рет қаралды 37 М.
How AI 'Understands' Images (CLIP) - Computerphile
18:05
Computerphile
Рет қаралды 167 М.
The Era of 1-bit LLMs by Microsoft | AI Paper Explained
6:10
AI Papers Academy
Рет қаралды 87 М.