RepoAlerts

prabeakarve/microgpt

Library

Can I trust it?

Worth a closer look before you use it.

  • Warnings Check

    Very new: it was created 11 days ago. Wait a little before installing it.

  • Stars from real accounts No data

    We haven't checked its stars for fakes yet.

  • Active OK

    Last change 10 days ago.

  • Licence OK

    MIT: you can use it for free, also in a commercial product. Keep the licence notice.

Quick checks from public data. They help, but they are no guarantee.

What it is

A dependency-free GPT implementation in pure NumPy, with a byte-level tokenizer, multi-head causal self-attention, hand-written backward pass, AdamW training with warmup and cosine schedule, and top-k sampling. Includes a CLI for training, sampling, next-token inspection and…

Who it's for

Developers and students who want to understand how transformer language models work internally at the code level

How to use it

Install

python -m microgpt train

From its README. Check it there before running it.

Ask your AI to set it up

Paste this into Claude, ChatGPT or your coding assistant.

Help me install and set up prabeakarve/microgpt in my project. Follow its README: https://github.com/prabeakarve/microgpt. Explain each step and check it is safe before running anything.

Star curve

51From 51 to 51 stars between 5 Nov 2026 and 13 Nov 2026.

Alternatives

Similar projects named in its profile. Each link searches the directory.

Get alerts for repos like this

We'll email you when something in Models & inference starts rising. Free, once a week, only what matches.

What arrives: one email on Mondays with the repos that match, never more. See last week's. Privacy

For maintainers

Add this badge to your README. It shows the repo's place on the radar, updates every hour and links back to this page.

[![prabeakarve/microgpt on RepoAlerts](https://repoalerts.com/badge/prabeakarve/microgpt.svg)](https://repoalerts.com/repo/prabeakarve/microgpt?ref=badge)
Share on X

  • GrEarl/microgpt-lesson

    A learning course for high school students that builds a large language model step by step from basic math and programming, based on Karpathy's microgpt. Runs in Google Colab notebooks with animations

    ResourceModels & inferenceJupyter Notebook · 262 stars · +2 this week · 53 days old

  • aa1143/NamiGPT

    A Chinese-language step-by-step tutorial that builds GPT-2 from scratch in PyTorch without using existing Transformer modules. It walks through tokenization, embeddings, attention, and blocks using a

    ResourceModels & inferencePython · 236 stars · +27 this week · 20 days old

  • Zguoxu/tiny-transformer-from-scratch

    A small Transformer implemented from scratch in PyTorch without nn.Transformer or nn.MultiheadAttention, covering embeddings, positional encoding, multi-head attention, encoder, decoder, training and

    ResourceModels & inferenceJupyter Notebook · 103 stars · +1 this week · 15 days old

  • TrenTorch/TrenTorch

    An educational repository with a from-scratch machine learning framework built on NumPy, plus a browser-based set of coding questions and a Python CLI curriculum covering tensors, autograd, training,

    ResourcePython · 851 stars · +12 this week · 87 days old

  • YeonwooSung/llm-architecture-from-scratch

    A collection of from-scratch PyTorch implementations of modern LLM architectures, including GPT-2 XL, Llama variants, DeepSeek V3, Qwen3, and Gemma 3. A comparison table lists each model's normalizati

    Models & inferencePython · 857 stars · 62 days old

  • ninetyhe-90/training-explore

    Interactive browser app that steps through the internal computations of a Transformer and related LLM training topics, showing tensors, attention weights, residuals, FFN, logits and loss on a small wo

    ResourceModels & inferenceTypeScript · 154 stars · +32 this week · 12 days old