LLMs-from-scratch/ch03/01_main-chapter-code

Chapter 3: Coding Attention Mechanisms

  • ch03.ipynb contains all the code as it appears in the chapter
  • multihead-attention.ipynb is a minimal notebook with the main data loading pipeline implemented in this chapter