Nano GPT Variants LLM Tools

Educational and specialized implementations of nanoGPT, including language-specific versions, framework ports, and domain-adapted models. Does NOT include general GPT implementations, larger models, or tools that use GPT as a component rather than implementing the architecture from scratch.

There are 69 nano gpt variants tools tracked. The highest-rated is vixhal-baraiya/microgpt-c at 49/100 with 234 stars.

Get all 69 projects as JSON

curl "https://pt-edge.onrender.com/api/v1/datasets/quality?domain=llm-tools&subcategory=nano-gpt-variants&limit=20"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.

# Tool Score Tier
1 vixhal-baraiya/microgpt-c

The most atomic way to train and inference a GPT in pure, dependency-free C

49
Emerging
2 milanm/AutoGrad-Engine

A complete GPT language model (training and inference) in ~600 lines of pure...

46
Emerging
3 dubzdubz/microgpt-ts

A complete GPT built from scratch in TypeScript with zero dependencies

43
Emerging
4 LeeSinLiang/microGPT

Implementation of GPT from scratch. Design to be lightweight and easy to modify.

39
Emerging
5 ssrhaso/microjpt

The most atomic way to train and run inference for a GPT in 100 lines of...

39
Emerging
6 danilop/micro-gpt-and-beyond

Six implementations of the same tiny GPT language model — from pure Python...

37
Emerging
7 alicetinkaya76/microgpt-academy

🧠 Interactive GPT/Transformer Learning Platform — İnteraktif GPT/Transformer...

36
Emerging
8 chanjoongx/microgpt-efficiency

"Everything else is just for efficiency." — Karpathy's microgpt benchmarked...

36
Emerging
9 enescang/microgpt-visualizer

Interactive visualization of a minimal GPT implementation with autograd engine.

35
Emerging
10 biegehydra/NanoGptDotnet

A miniature large language model (LLM) that generates shakespeare like text...

33
Emerging
11 Kuberwastaken/picogpt

GPT in a QR Code ; The actual most atomic way to train and inference a GPT...

33
Emerging
12 Troyonyx/onyxGPT

Modular, fine-tuneable financial GPT for Troyonix, based on nanoGPT. Apple...

32
Emerging
13 mahmudulyeamim/GraDeT-HTR

[EMNLP 2025 System Demonstrations] GraDeT-HTR: A Resource-Efficient Bengali...

31
Emerging
14 ckaraneen/micrograduate

📖 A self-contained course to learn the basics of neural networks: from...

30
Emerging
15 eniompw/nanoGPTshakespeare

finetuning shakespeare on karpathy/nanoGPT

29
Experimental
16 ahmedkhn0611-hash/Tiny-GPT-on-Vortex-GPGPU-for-AMD-Alveo-U280

Exploring capabilites of RISC-V open source GPGPU to handle AI/ML workloads

29
Experimental
17 maxencefaldor/nanoGPT-JAX

Repository nanoGPT from @karpathy accelerated with JAX/Flax! The simplest,...

27
Experimental
18 e-hossam96/arabic-nano-gpt

Arabic Nano GPT Trained on Arabic Wikipedia Dataset from Wikimedia

26
Experimental
19 marella/gptj.cpp

Port of GPT-J model in C/C++

26
Experimental
20 smimram/ocaml-microgpt

An OCaml implementation of microGPT.

25
Experimental
21 aneesh-aparajit/fedGPT

An implementation of training nanoGPT through Federated Learning and...

25
Experimental
22 sna1lBoy/snailGPT

mirror of https://codeberg.org/snailboy/snailGPT

24
Experimental
23 siyampangase234-arch/microgpt.js

⚡ Implement an exact GPT training and inference algorithm in pure JavaScript...

23
Experimental
24 LumGenLab/LumGPT

Transformer (GPT) implemented from scratch in C++. Runs on modest hardware...

23
Experimental
25 gicrisf/microgpt-lisp

Common Lisp implementation of Karpathy's Microgpt

22
Experimental
26 mytechnotalent/python_zero_to_hero

A comprehensive tutorial covering Python basics, data structures, functions...

22
Experimental
27 jamone-de/jamone-nano-CAGS

Interactive Training Dashboard & CAGS-Operator Verification for JamOne Nano.

22
Experimental
28 cgao96/nanoGPT.jax

The simplest, fastest repository for training/finetuning medium-sized GPTs in Jax.

22
Experimental
29 xigh/numpy-gpt2

A minimal GPT-2 inference implementation using NumPy only.

22
Experimental
30 DennisRemigio/Verso-GPT-e-oltre

Corso completo in Intelligenza Artificiale Generativa, a partire da zero

21
Experimental
31 mmellau/microgpt-swift

Swift port of Karpathy's microgpt.py

20
Experimental
32 AttentionX/testGPT

Test-driven implementation of nanoGPT

20
Experimental
33 deepanwadhwa/nanogpt-Audio

An experimental nanogpt fork that learns to speak Shakespeare by modeling...

20
Experimental
34 k-arindam/microgpt

microGPT

20
Experimental
35 StoneCypher/microgpt.ts

A conversion of Karpathy's MicroGPT to Typescript

20
Experimental
36 sobitkarki1/nanogpt-august

Jupyter notebook nanoGPT training experiments (August 2024)

19
Experimental
37 skyvanguard/GPT-Visual

Visualización 3D interactiva de inferencia de transformers GPT

19
Experimental
38 micrograduate-book/micrograduate-book.github.io

📖 A self-contained course to learn the basics of neural networks: from...

19
Experimental
39 sobitkarki1/nanogpt-august-copy

Working copy of the August nanoGPT notebook for parallel experimentation

19
Experimental
40 Antimatter543/karpathy-NN-lectures

My runthrough of karpathy's lectures (with notes), building NN's from...

19
Experimental
41 davidar/eigenGPT

Minimal C++ implementation of GPT2

18
Experimental
42 jianlingzhong/nanoGPT-cpp

This repository is a C++ port of Andrej Karpathy's phenomenal nanoGPT.

17
Experimental
43 Auxeno/fable

A compact story telling language model

16
Experimental
44 Chi-Shan0707/microgpt.cpp

microgpt.cpp in 300 lines!

16
Experimental
45 jpleboeuf/nimigpt

The most atomic way to train and run inference for a GPT in pure,...

15
Experimental
46 hrzn/prot-gpt

Nano Prot GPT: NanoGPT on protein sequences

15
Experimental
47 shitian-ni/CUDA-GPT

CUDA and algorithmic acceleration for GPT image template matching

14
Experimental
48 NotShrirang/QuillGPT

Implementation of the GPT decoder block in PyTorch finetuned on Shakespeare's works 🪶

14
Experimental
49 vaibhavnegi123/microgpt

🚀 Implement a minimal GPT with both Python and CUDA versions, optimized for...

14
Experimental
50 huyhuy091/microgpt-c

Create tiny specialist models that outperform single models on focused tasks...

14
Experimental
51 Antonel098/microgpt-visualizer

🔍 Visualize and explore GPT models step-by-step with an interactive tool...

14
Experimental
52 shakedzy/nanogpt

My personal implementation of Andrej Karpathy's NanoGPT, also translated to MLX

13
Experimental
53 brianberns/ModestGpt

A modest GPT written in F#

13
Experimental
54 altsoph/plays_remarker

A simple approach to generate authors' remarks for any play dialog...

12
Experimental
55 AlexPetrusca/softgrad

Lightweight, educational deep learning framework for Apple Silicon

12
Experimental
56 nguyenphuminh/shakespeare-lm

A tiny model to generate Shakespeare-style text, written in Catniff

12
Experimental
57 duttaturja/nanoGPT

An implementation of OpenAi's GPT-2 (124M) from scratch using pytorch

11
Experimental
58 IvanBongiorni/shakespeare-gpt

How to build a custom GPT for text generation, based on TensorFlow 2.x and...

11
Experimental
59 SuryaNarayanaa/Build-GPT

Lo, behold this wondrous contrivance—a digital bard, imbued with the spirit...

11
Experimental
60 Mithun-033/GPT-Poem

A GPT-style decoder-only Transformer built and trained from scratch for...

11
Experimental
61 ramanakshay/nanogpt

nanoGPT model from scratch

11
Experimental
62 vijaysai1102/nanoGPT_repo

Comprehensive hyperparameter tuning study of nanoGPT exploring block sizes,...

11
Experimental
63 karthiksai109/neural-networks-zero-to-hero

Comprehensive notes and implementations from Andrej Karpathy's Neural...

11
Experimental
64 IdrikSirk/micro-gpt-and-beyond

🤖 Explore tiny GPT models with step-by-step Python and framework...

11
Experimental
65 jaltez/microgpt-visual

Interactive, step-by-step visualization of Andrej Karpathy's microgpt.py

11
Experimental
66 snackapps/microgpt-nim

A minimalist GPT implementation in Nim inspired by Karpathy's makemore....

11
Experimental
67 eniompw/DisneyGPT

Training nanoGPT on Disney stories

11
Experimental
68 aliosmankaya/shakespeare-gpt

Infinite Shakespeare Plays by GPT

10
Experimental
69 thisisanshgupta/KAN_based_GPT

This is a GPT model from nanoGPT but with a twist of KAN:)

10
Experimental

Comparisons in this category