Kuberwastaken/picogpt
GPT in a QR Code ; The actual most atomic way to train and inference a GPT in pure, dependency-free JS/Python.
This project helps anyone interested in the most basic mechanics of a Generative Pre-trained Transformer (GPT) model. It takes a tiny GPT model and compresses it into a QR code that, when scanned, trains and runs the model directly in your web browser. This is ideal for educators, learners, or enthusiasts who want to see a full GPT implementation in its most minimal form.
119 stars.
Use this if you want to understand how a basic GPT model works from training to inference, with all the code runnable directly in a web browser by simply scanning a QR code.
Not ideal if you need to train or deploy a robust, large-scale language model for practical applications or if you're looking for a development library.
Stars
119
Forks
11
Language
HTML
License
—
Category
Last pushed
Feb 17, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/Kuberwastaken/picogpt"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Compare
Higher-rated alternatives
vixhal-baraiya/microgpt-c
The most atomic way to train and inference a GPT in pure, dependency-free C
milanm/AutoGrad-Engine
A complete GPT language model (training and inference) in ~600 lines of pure C#, zero dependencies
LeeSinLiang/microGPT
Implementation of GPT from scratch. Design to be lightweight and easy to modify.
dubzdubz/microgpt-ts
A complete GPT built from scratch in TypeScript with zero dependencies
biegehydra/NanoGptDotnet
A miniature large language model (LLM) that generates shakespeare like text written in C#....