Article Complete
    AIM

    6 Brilliant Video Resources on Generative AI by Andrej Karpathy

    6 Brilliant Video Resources on Generative AI by Andrej Karpathy

    Discover Andrej Karpathy's top video resources on generative AI. Learn how to build applications step-by-step! Watch now for insights!

    6 Brilliant Video Resources on Generative AI by Andrej Karpathy
    shritama.saha··Updated DECEMBER 30, 2024, 5:30 AM
    5 min

    Former AI director at Tesla Andrej Karpathy returned to OpenAI pretty recently. He came to fame for his immense contribution working alongside CEO Elon Musk to create Optimus, a groundbreaking humanoid robot. Karpathy also played a pivotal role as the head of Tesla Autopilot's computer vision team. He released NanoGPT, a fast repository for training and tuning medium-sized GPTs, building upon his earlier work with miniGPT for GPT language models. His latest project is baby Llama which he made by tuning NanoGPT to use the Llama 2 architecture instead of GPT-2.

    Apart from his big contributions to generative AI, the computer vision genius has been a huge contributor to the open-source community through his mini projects, educational resources, coding tutorials on YouTube and more. He is also known for creating courses on building deep neural networks, including NanoGPT, based on GPT-2/GPT-3 and the 'Attention is All You Need' paper.

    Here are some free important resources for you.

    Let's build GPT from Scratch

    In this two hour long YouTube video, Karpathy takes you on a journey to build a GPT model, based on Google’s research paper "Attention is All You Need" and OpenAI's GPT-2 and GPT-3. To help the audience grasp the concepts better, he suggests watching earlier videos, which cover autoregressive language modelling framework and the fundamentals of tensors and PyTorch nn, essential knowledge they assume viewers already possess in the current video.

    The video is a great resource for anyone who wants to learn more about how GPT works or how to build their own GPT model. It is also a good introduction to the attention mechanism, which is a powerful tool for natural language processing.

    https://www.youtube.com/watch?v=kCc8FmEb1nY

    State of GPT

    If you want to learn more about the training process of GPT assistants like ChatGPT, this video is most suitable for you. It covers tokenization, pretraining, supervised finetuning, and Reinforcement Learning from Human Feedback (RLHF). Additionally, you will also get to know about practical approaches and conceptual frameworks for utilising these models effectively. This includes prompting strategies, finetuning techniques, the ever-expanding toolkit available, and potential future advancements in this field.

    https://www.youtube.com/watch?v=bZQun8Y4L2A

    Intro to Neural Networks and Backpropagation: Building Micrograd

    One of his most admired videos of all time, in this comprehensive guide to backpropagation and neural network training, Karpathy presents a highly detailed and easily understandable explanation. The tutorial assumes minimal prerequisites, needing only a fundamental understanding of Python and basics of high school-level calculus. By breaking down complex concepts into step-by-step instructions, Karpathy ensures that you can understand the complexities of the subject without feeling overwhelmed.

    https://www.youtube.com/watch?v=VMj-3S1tku0

    The Spelled-Out Intro to Language Modelling: Building Makemore

    By developing a bigram character-level language model as a starting point, Karpathy later advanced it into a contemporary Transformer language model similar to GPT. The main objectives of this particular video are to introduce the audience to torch.Tensor and its nuances, demonstrating its significance in the effective evaluation of neural networks; secondly, to provide an overview of the language modelling framework encompassing tasks such as model training, sampling, and evaluating loss measures like the negative log likelihood utilised in classification tasks. He has explained the process through five detailed videos. 

    https://www.youtube.com/watch?v=PaCmpygFfXo

    Building Makemore: Activations & Gradients, BatchNorm

    This video teaches you the working of internals of Multi-Layer Perceptrons (MLPs) encompassing multiple layers, primarily revolving around the analysis of the results of improper scaling. Moreover, the study focuses on the diagnostic tools and visualisations, crucial for understanding how complex neural networks work. You will also learn about the fragility of training deep neural networks and discover the revolutionary technique known as Batch Normalisation, which greatly simplifies the process. 

    https://www.youtube.com/watch?v=P6sfmUTpUmc

    Building a WaveNet

    By taking a 2-layer MLP (Multi-Layer Perceptron), Karpathy shows you how to turn it into a deeper neural network using a tree-like structure, similar to DeepMind's WaveNet (2016) architecture. The WaveNet paper implements a more efficient version of this hierarchical structure using causal dilated convolutions, which are not yet covered in the video. Throughout the process, viewers gain a better understanding of torch.nn, how it works behind the scenes, and what a typical deep learning development process involves—like reading documentation, keeping track of tensor shapes, and switching between Jupyter notebooks and repository code.

    https://www.youtube.com/watch?v=t3YJ5hKiMQ0

    Your reaction

    Discussion

    What's your take on this story?

    0/1000

    No comments yet — be the first to share your view.

    Explore our newsletters

    Build your routine with some of our top newsletters or view them all here.

    Wake up informed

    Make sense of the day's AI news and breakthroughs with our morning briefing.

    Belamy
    WeeklyBelamySee the latest

    Industry intelligence

    Receive a roundup of AI adoption stories by industry vertical, curated for professionals.

    3x WeeklySector6See the latest

    By signing up, you agree to our Privacy Policy.

    Membership

    Stay ahead with AI insights.

    Unlimited access to premium articles, exclusive analysis, and the stories shaping India's AI economy.

    Subscribe now

    AIM Americas

    1190 Miraloma Way Suite P, Sunnyvale, CA 94085

    AIM India

    1st Floor, Sakti Statesman, Bellandur, Bengaluru – 560103

    © 2026 AIM. All rights reserved.