GPT-1 from Scratch
I built GPT-1 from scratch and trained it to perform two downstream tasks. (To be more precise, I developed this version of GPT-1 in collaboration with Claude, based upon a transformer_tf.py script that I had created from scratch.)
A detailed explanation of the internal architecture of GPT-1 will be published in The Engineer’s Guide To Deep Learning in the near future (within a few years).
In this post, I will only briefly demonstrate how to use it. Please note that this is an alpha version, and many refactoring updates are planned for the future.