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. 1 score above 50 (established tier). The highest-rated is vixhal-baraiya/microgpt-c at 51/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

51
Established
2 milanm/AutoGrad-Engine

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

48
Emerging
3 LeeSinLiang/microGPT

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

46
Emerging
4 dubzdubz/microgpt-ts

A complete GPT built from scratch in TypeScript with zero dependencies

42
Emerging
5 biegehydra/NanoGptDotnet

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

40
Emerging
6 ssrhaso/microjpt

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

38
Emerging
7 alicetinkaya76/microgpt-academy

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

38
Emerging
8 chanjoongx/microgpt-efficiency

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

38
Emerging
9 ckaraneen/micrograduate

đź“– A self-contained course to learn the basics of neural networks: from...

37
Emerging
10 enescang/microgpt-visualizer

Interactive visualization of a minimal GPT implementation with autograd engine.

37
Emerging
11 mahmudulyeamim/GraDeT-HTR

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

37
Emerging
12 danilop/micro-gpt-and-beyond

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

36
Emerging
13 eniompw/nanoGPTshakespeare

finetuning shakespeare on karpathy/nanoGPT

36
Emerging
14 ahmedkhn0611-hash/Tiny-GPT-on-Vortex-GPGPU-for-AMD-Alveo-U280

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

35
Emerging
15 Kuberwastaken/picogpt

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

35
Emerging
16 maxencefaldor/nanoGPT-JAX

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

34
Emerging
17 Troyonyx/onyxGPT

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

34
Emerging
18 StoneCypher/microgpt.ts

A conversion of Karpathy's MicroGPT to Typescript

33
Emerging
19 e-hossam96/arabic-nano-gpt

Arabic Nano GPT Trained on Arabic Wikipedia Dataset from Wikimedia

33
Emerging
20 marella/gptj.cpp

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

33
Emerging
21 aneesh-aparajit/fedGPT

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

32
Emerging
22 sna1lBoy/snailGPT

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

31
Emerging
23 cgao96/nanoGPT.jax

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

29
Experimental
24 DennisRemigio/Verso-GPT-e-oltre

Corso completo in Intelligenza Artificiale Generativa, a partire da zero

28
Experimental
25 AttentionX/testGPT

Test-driven implementation of nanoGPT

27
Experimental
26 xigh/numpy-gpt2

A minimal GPT-2 inference implementation using NumPy only.

26
Experimental
27 Antimatter543/karpathy-NN-lectures

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

26
Experimental
28 davidar/eigenGPT

Minimal C++ implementation of GPT2

25
Experimental
29 LumGenLab/LumGPT

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

25
Experimental
30 gicrisf/microgpt-lisp

Common Lisp implementation of Karpathy's Microgpt

24
Experimental
31 deepanwadhwa/nanogpt-Audio

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

24
Experimental
32 smimram/ocaml-microgpt

An OCaml implementation of microGPT.

24
Experimental
33 jianlingzhong/nanoGPT-cpp

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

23
Experimental
34 siyampangase234-arch/microgpt.js

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

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

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

22
Experimental
36 k-arindam/microgpt

microGPT

22
Experimental
37 hrzn/prot-gpt

Nano Prot GPT: NanoGPT on protein sequences

22
Experimental
38 mmellau/microgpt-swift

Swift port of Karpathy's microgpt.py

22
Experimental
39 skyvanguard/GPT-Visual

VisualizaciĂłn 3D interactiva de inferencia de transformers GPT

21
Experimental
40 shitian-ni/CUDA-GPT

CUDA and algorithmic acceleration for GPT image template matching

21
Experimental
41 NotShrirang/QuillGPT

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

21
Experimental
42 sobitkarki1/nanogpt-august-copy

Working copy of the August nanoGPT notebook for parallel experimentation

21
Experimental
43 sobitkarki1/nanogpt-august

Jupyter notebook nanoGPT training experiments (August 2024)

21
Experimental
44 brianberns/ModestGpt

A modest GPT written in F#

20
Experimental
45 shakedzy/nanogpt

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

20
Experimental
46 Auxeno/fable

A compact story telling language model

20
Experimental
47 altsoph/plays_remarker

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

19
Experimental
48 eniompw/DisneyGPT

Training nanoGPT on Disney stories

18
Experimental
49 ramanakshay/nanogpt

nanoGPT model from scratch

18
Experimental
50 Chi-Shan0707/microgpt.cpp

microgpt.cpp in 300 lines!

15
Experimental
51 nguyenphuminh/shakespeare-lm

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

14
Experimental
52 jpleboeuf/nimigpt

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

14
Experimental
53 Antonel098/microgpt-visualizer

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

13
Experimental
54 vijaysai1102/nanoGPT_repo

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

13
Experimental
55 IdrikSirk/micro-gpt-and-beyond

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

13
Experimental
56 duttaturja/nanoGPT

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

13
Experimental
57 vaibhavnegi123/microgpt

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

13
Experimental
58 IvanBongiorni/shakespeare-gpt

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

13
Experimental
59 SuryaNarayanaa/Build-GPT

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

13
Experimental
60 huyhuy091/microgpt-c

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

13
Experimental
61 aliosmankaya/shakespeare-gpt

Infinite Shakespeare Plays by GPT

12
Experimental
62 designer-coderajay/minigpt-shakespeare

From-scratch GPT implementation trained on Shakespeare (10.75M params, 25 tests)

12
Experimental
63 thisisanshgupta/KAN_based_GPT

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

12
Experimental
64 Vadbeg/nano-gpt

Learning project wirh reimplementation of Andrej Karpathy series

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 rmgogogo/nano-transformers

Nano Transformers, Transformer, GPT, GPT-2, GPT-3 (AST) etc.

11
Experimental
68 quickgrid/nanogpt

Learning and modifying nanogpt by Andrej Karpathy.

11
Experimental
69 mattzcarey/micrograd.zig

small (and partial) autograd engine inspired from Karpathy's micrograd and...

11
Experimental