A minimal re-implementation of Karpathy's minGPT using TensorFlow.js is introduced for educational purposes. This concise implementation, under 300 lines of code in TypeScript, allows users to train, experiment with parameters, and generate predictions directly in the browser using WebGPU or a Node.js environment. Various files
Sort: