LLMs: A Journey Through Time and Architecture @SebastianRaschka
LLMs: A Journey Through Time and Architecture  @SebastianRaschka
Uploaded September 2024 | Updated September 2026, 2 weeks ago
REFERENCES:
- Step-by-step guide converting GPT to Llama: github.com/rasbt/LLMs-from-scratch/blob/main/ch05/07_gpt_to_llama/converting-gpt-to-llama2.ipynb
- Build a Large Language Model (From Scratch): http://mng.bz/M96o
- LitGPT: github.com/Lightning-AI/litgpt
- The Llama 3 Herd of Models (31 July 2024), arxiv.org/abs/2407.21783
- Qwen2 Technical Report (15 July 2024), arxiv.org/abs/2407.10671
- Apple Intelligence Foundation Language Models (29 July 2024), arxiv.org/abs/2407.21075
- Gemma 2: Improving Open Language Models at a Practical Size (31 July 2024), arxiv.org/abs/2408.0011

DESCRIPTION:
In this video, you'll learn about the architectural difference between the original GPT model and the various Llama models. Moreover, you'll also learn about new pre-training recipes used for Qwen 2, Gemma 2, Apple's Foundation Models, and Llama 3, as well as some of the efficiency tweaks introduced by Mixtral, Llama 3, and Gemma 2.

---

To support this channel, please consider purchasing a copy of my books: sebastianraschka.com/books

---

twitter.com/rasbt
linkedin.com/in/sebastianraschka
magazine.sebastianraschka.com

---

OUTLINE:
0:00 Introduction
2:05 Pre-training in 2024
6:11 GPT-architecture vs Llama
11:27 GPT and other architectures
16:47 Takeaways
LLMs: A Journey Through Time and ArchitectureL6.0 Automatic Differentiation in PyTorch   Lecture OverviewL9.0 Multilayer Perceptrons   Lecture OverviewL11.1  Input NormalizationL15.5 Long Short-Term MemoryDeveloping an LLM: Building, Training, FinetuningL6.5 A Closer Look at the PyTorch APIL10.5.4 Dropout in PyTorchL15.1: Different Methods for Working With Text Data13.2 Filter Methods for Feature Selection   Variance Threshold (L13: Feature Selection)LLM Building Blocks & Transformer AlternativesL19.3 RNNs with an Attention Mechanism
Sebastian Raschka |

LLMs: A Journey Through Time and Architecture

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER