Загрузка...

Introduction to LLM Instruction Fine-tuning | Loading Dataset | Alpaca Prompt format

In this lecture, we start learning about instruction fine-tuning.

We download the dataset of instructions and then convert it into Alpaca prompt format.

This is a lecture explained through detailed whiteboard notes and live coding.

The key reference book which this video series very closely follows is Build a Large Language Model from Scratch by Manning Publications. All schematics and their descriptions are borrowed from this incredible book!

This book serves as a comprehensive guide to understanding and building large language models, covering key concepts, techniques, and implementations.

Affiliate links for purchasing the book will be added soon. Stay tuned for updates!

0:00 What is instruction fine-tuning?
3:28 Instruction fine-tuning examples
8:35 Steps for instruction fine-tuning
9:06 Preparing and loading the dataset
13:11 Converting instructions into Alpaca prompt format
22:04 Splitting dataset into train-test-validation

Code file:
https://drive.google.com/file/d/13jgqjSY-GOKhLoOsedUuZPXHTzQXrnt1/view?usp=sharing

Instruction data link:
https://github.com/rasbt/LLMs-from-scratch/blob/main/ch07/01_main-chapter-code/instruction-data.json

Stanford Alpaca link:
https://github.com/tatsu-lab/stanford_alpaca

=================================================

✉️ Join our FREE Newsletter: https://vizuara.ai/our-newsletter/

=================================================
Vizuara philosophy:

As we learn AI/ML/DL the material, we will share thoughts on what is actually useful in industry and what has become irrelevant. We will also share a lot of information on which subject contains open areas of research. Interested students can also start their research journey there.

Students who are confused or stuck in their ML journey, maybe courses and offline videos are not inspiring enough. What might inspire you is if you see someone else learning and implementing machine learning from scratch.

No cost. No hidden charges. Pure old school teaching and learning.

=================================================

🌟 Meet Our Team: 🌟

🎓 Dr. Raj Dandekar (MIT PhD, IIT Madras department topper)
🔗 LinkedIn: https://www.linkedin.com/in/raj-abhijit-dandekar-67a33118a/
🎓 Dr. Rajat Dandekar (Purdue PhD, IIT Madras department gold medalist)
🔗 LinkedIn: https://www.linkedin.com/in/rajat-dandekar-901324b1/
🎓 Dr. Sreedath Panat (MIT PhD, IIT Madras department gold medalist)
🔗 LinkedIn: https://www.linkedin.com/in/sreedath-panat-8a03b69a/

🎓 Sahil Pocker (Machine Learning Engineer at Vizuara)
🔗 LinkedIn: https://www.linkedin.com/in/sahil-p-a7a30a8b/

🎓 Abhijeet Singh (Software Developer at Vizuara, GSOC 24, SOB 23)
🔗 LinkedIn: https://www.linkedin.com/in/abhijeet-singh-9a1881192/

🎓 Sourav Jana (Software Developer at Vizuara)
🔗 LinkedIn: https://www.linkedin.com/in/souravjana131/

Видео Introduction to LLM Instruction Fine-tuning | Loading Dataset | Alpaca Prompt format канала Vizuara
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки

На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.

Об использовании CookiesПринять