Chapter 4: Implementing a GPT Model from Scratch To Generate Text

Chapter 4: Implementing a GPT Model from Scratch To Generate Text#

  • flops-analysis.ipynb analyses the floating point operations per second (FLOPS) of the GPT model(s) implemented in the main chapter.

  • requirements-extra.txt includes additional Python libraries that need to be installed (via pip install -r requirements-extra.txt.