Karpathy's MinGPT
Nice but i am scared people write in their resume that they train a GPT model from scratch. And when asked in detail they will accept just ran minGPT without understanding it.
This is the AI story now a days.
Best solution is to ignore minGPT and write your own version.