C# port of MinGPT - a simple deep learning transformer. Full training sample in the app folder. Training with default parameters requires approximately 5.5GB of GPU memory + size of input file.