···3344This is a fork of [microgpt.js](https://github.com/xenova/microgpt.js) which ports the original Python implementation implemented by [karpathy](https://karpathy.github.io/2026/02/12/microgpt/). This fork ports the implementations to Zig. Claude Code and Windsurf were both used for the port.
5566+Build with `zig build-exe microgpt.zig -O ReleaseFast`. Run with `./microgpt`
77+68---
79810The most atomic way to train and inference a GPT in pure, dependency-free JavaScript.