Back to Browse

LLM (Parameter Efficient) Fine Tuning - Explained!

10.7K views
Sep 30, 2024
23:07

Parameter efficient fine tuning is increasingly important in NLP and genAI. Let's talk about it. RESOURCES [1 ๐Ÿ“š] RNNs were the SOTA for sequence tasks: https://arxiv.org/pdf/1409.0473 [2 ๐Ÿ“š] Then transformers came on the scene: https://arxiv.org/pdf/1706.03762 [3 ๐Ÿ“š] Pretraining and Finetuning architectures like BERT came along: https://arxiv.org/pdf/1810.04805 [4 ๐Ÿ“š] But LLMs are huge: https://informationisbeautiful.net/visualizations/the-rise-of-generative-ai-large-language-models-llms-like-chatgpt/ [5 ๐Ÿ“š] Few shot learning by GPT-3 tries to address the issue: https://arxiv.org/pdf/2005.14165 [6 ๐Ÿ“š] Parameter Efficient Transfer Learning reduces the trainable parameters via additive adapters (the first PEFT technique): https://arxiv.org/pdf/1902.00751 [7 ๐Ÿ“š] Since 2019, there have been many PEFT techniques introduced: https://arxiv.org/pdf/2312.12148 [8 ๐Ÿ“š] Other notable techniques include prefix-tuning: https://arxiv.org/pdf/2101.00190 [9 ๐Ÿ“š] And LoRA: https://arxiv.org/pdf/2106.09685 [10 ๐Ÿ“š] And a quantized version of LoRA called QLoRA: https://arxiv.org/pdf/2305.14314 [11 ๐Ÿ“š] We see these adapters in use in LLMs today like Llama: https://arxiv.org/pdf/2303.16199 ABOUT ME โญ• Subscribe: https://www.youtube.com/c/CodeEmporium?sub_confirmation=1 ๐Ÿ“š Medium Blog: https://medium.com/@dataemporium ๐Ÿ’ป Github: https://github.com/ajhalthor ๐Ÿ‘” LinkedIn: https://www.linkedin.com/in/ajay-halthor-477974bb/ PLAYLISTS FROM MY CHANNEL โญ• Deep Learning 101: https://www.youtube.com/playlist?list=PLTl9hO2Oobd_NwyY_PeSYrYfsvHZnHGPU โญ• Natural Language Processing 101: https://www.youtube.com/playlist?list=PLTl9hO2Oobd_bzXUpzKMKA3liq2kj6LfE โญ• Reinforcement Learning 101: https://youtube.com/playlist?list=PLTl9hO2Oobd9kS--NgVz0EPNyEmygV1Ha&si=AuThDZJwG19cgTA8 Natural Language Processing 101: https://youtube.com/playlist?list=PLTl9hO2Oobd_bzXUpzKMKA3liq2kj6LfE&si=LsVy8RDPu8jeO-cc โญ• Transformers from Scratch: https://youtube.com/playlist?list=PLTl9hO2Oobd_bzXUpzKMKA3liq2kj6LfE โญ• ChatGPT Playlist: https://youtube.com/playlist?list=PLTl9hO2Oobd9coYT6XsTraTBo4pL1j4HJ CHAPTERS 0:00 Introduction 1:00 Pass 1: What & Why PEFT 6:27 Quiz 1 7:26 Pass 2: Details 16:20 Quiz 2 17:11 Pass 3: Performance Evaluation 20:49 Quiz 3 21:43 Summary MATH COURSES (7 day free trial) ๐Ÿ“• Mathematics for Machine Learning: https://imp.i384100.net/MathML ๐Ÿ“• Calculus: https://imp.i384100.net/Calculus ๐Ÿ“• Statistics for Data Science: https://imp.i384100.net/AdvancedStatistics ๐Ÿ“• Bayesian Statistics: https://imp.i384100.net/BayesianStatistics ๐Ÿ“• Linear Algebra: https://imp.i384100.net/LinearAlgebra ๐Ÿ“• Probability: https://imp.i384100.net/Probability OTHER RELATED COURSES (7 day free trial) ๐Ÿ“• โญ Deep Learning Specialization: https://imp.i384100.net/Deep-Learning ๐Ÿ“• Python for Everybody: https://imp.i384100.net/python ๐Ÿ“• MLOps Course: https://imp.i384100.net/MLOps ๐Ÿ“• Natural Language Processing (NLP): https://imp.i384100.net/NLP ๐Ÿ“• Machine Learning in Production: https://imp.i384100.net/MLProduction ๐Ÿ“• Data Science Specialization: https://imp.i384100.net/DataScience ๐Ÿ“• Tensorflow: https://imp.i384100.net/Tensorflow

Download

1 formats

Video Formats

360pmp439.3 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

LLM (Parameter Efficient) Fine Tuning - Explained! | NatokHD