Episode 26: Developing and Training LLMs From Scratch episode artwork

EPISODE · May 15, 2024 · 1H 51M

Episode 26: Developing and Training LLMs From Scratch

from Vanishing Gradients · host Hugo Bowne-Anderson

Hugo speaks with Sebastian Raschka, a machine learning & AI researcher, programmer, and author. As Staff Research Engineer at Lightning AI, he focuses on the intersection of AI research, software development, and large language models (LLMs).How do you build LLMs? How can you use them, both in prototype and production settings? What are the building blocks you need to know about?​In this episode, we’ll tell you everything you need to know about LLMs, but were too afraid to ask: from covering the entire LLM lifecycle, what type of skills you need to work with them, what type of resources and hardware, prompt engineering vs fine-tuning vs RAG, how to build an LLM from scratch, and much more.The idea here is not that you’ll need to use an LLM you’ve built from scratch, but that we’ll learn a lot about LLMs and how to use them in the process.Near the end we also did some live coding to fine-tune GPT-2 in order to create a spam classifier! LINKSThe livestream on YouTube (https://youtube.com/live/qL4JY6Y5pmA)Sebastian's website (https://sebastianraschka.com/)Machine Learning Q and AI: 30 Essential Questions and Answers on Machine Learning and AI by Sebastian (https://nostarch.com/machine-learning-q-and-ai)Build a Large Language Model (From Scratch) by Sebastian (https://www.manning.com/books/build-a-large-language-model-from-scratch)PyTorch Lightning (https://lightning.ai/docs/pytorch/stable/)Lightning Fabric (https://lightning.ai/docs/fabric/stable/)LitGPT (https://github.com/Lightning-AI/litgpt)Sebastian's notebook for finetuning GPT-2 for spam classification! (https://github.com/rasbt/LLMs-from-scratch/blob/main/ch06/01_main-chapter-code/ch06.ipynb)The end of fine-tuning: Jeremy Howard on the Latent Space Podcast (https://www.latent.space/p/fastai)Our next livestream: How to Build Terrible AI Systems with Jason Liu (https://lu.ma/terrible-ai-systems?utm_source=vg)Vanishing Gradients on Twitter (https://twitter.com/vanishingdata)Hugo on Twitter (https://twitter.com/hugobowne) Get full access to Vanishing Gradients at hugobowne.substack.com/subscribe

Episode metadata supplied by the publisher feed · Published May 15, 2024

Embed this episode

NOW PLAYING

Episode 26: Developing and Training LLMs From Scratch

0:00 1:51:35

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar episodes found.

Frequently Asked Questions

How long is this episode of Vanishing Gradients?

This episode is 1 hour and 51 minutes long.

When was this Vanishing Gradients episode published?

This episode was published on May 15, 2024.

Can I download this Vanishing Gradients episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!