nanogpt

Open repos and models their makers tagged nanogpt, most starred first. The same for everyone.

AI on my own machineRepo

karpathy-microgpt

A GPT built and trained in 243 lines of pure, dependency-free Python - no PyTorch, no NumPy. Based on Andrej Karpathy's microgpt, it hand-rolls autograd, attention and Adam to show how little a language model really needs.

  • 63
  • Python
  • 10 mo ago
kibotuTake it
AI on my own machineRepo

minllm

A minimal LLM pipeline that runs on a laptop, written from scratch in PyTorch and to be read: tokenizer, pretraining, inference, fine-tuning, RLHF and RLVR, with measured results and an interactive website.

  • 7
  • JavaScript
  • MIT
  • 6 wk ago
changkunTake it
AI on my own machineRepo

learn-gpt

Corso web gratuito in italiano, con repository open source, per costruire da zero un modello GPT decoder-only in PyTorch in 42 lezioni con spiegazioni, matematica, codice eseguibile e snapshot progressivi.

  • 5
  • Python
  • MIT
  • 3 mo ago
Websites and appsRepo

GPT

🤖 From-scratch GPT in PyTorch — bigram, single-head & multi-head attention • FastAPI /generate endpoint • React + Vite frontend • Character-level tokenizer • CUDA support

  • 3
  • Python
  • MIT
  • 5 mo ago
H0NEYP0T-466Take it
AI on my own machineRepo

ChineseNanoGPT

基于 nanoGPT 架构的中文语言模型训练实现。本项目受 karpathy/nanoGPT 启发,实现了对中文的支持。

  • 2
  • Python
  • Apache-2.0
  • 2 y ago
JiayuXu0Take it
GitHubRepo

t4-nanogpt

A simplified GPT-2 training setup descended from the NanoGPT speedrun, adapted for neural net optimization research and tuned to run on T4 GPU. Enabling viable experimentation under 5 hours of daily Google Colab T4 limit.

  • 2
  • Jupyter Notebook
  • 6 mo ago
kreasof-aiTake it
AI on my own machineRepo

sidequest

Cut Claude Code token costs by delegating bulk LLM work to cheap models. 600+ models via NanoGPT, OpenRouter, Groq or local Ollama — batched, resumable, with real per-call cost tracking.

  • 1
  • Python
  • MIT
  • 3 mo ago
biccedTake it
Developer toolsRepo

nanogpt-code

Run Claude Code with NanoGPT models (GLM 5.3, Kimi K3, DeepSeek V4, Qwen, MiniMax, uncensored models) without touching your Claude subscription. Fixes the reasoning.effort 400, image-input 400 and unknown-model errors.

  • 0
  • Python
  • MIT
  • 5 wk ago
biccedTake it
AI on my own machineRepo

Nano-LLM-from-scratch

GPT-2 rebuilt from scratch in PyTorch with RoPE, RMSNorm, SwiGLU and a KV-cache. 257 offline tests. A 2,500-step CPU run measured and reported with its artifacts; the 124M config ships untrained.

  • 0
  • Python
  • MIT
  • 4 mo ago
Umarfarook1Take it
Search GitHub and Hugging Face for nanogpt

Get , open it once and sign in. Then come back here and press the button again.