dubzdubz/microgpt-ts
A complete GPT built from scratch in TypeScript with zero dependencies
This tool helps you train small-scale text generation models right in your browser or on your computer. You provide a dataset of text, such as names, movie titles, or your own custom data, and it learns to generate new, similar text. It's designed for machine learning enthusiasts or educators who want to understand how a GPT works from the ground up.
Use this if you want to experiment with text generation and learn the fundamental mechanics of a GPT model without complex machine learning frameworks.
Not ideal if you need a production-ready, high-performance large language model for complex, real-world applications.
Stars
28
Forks
5
Language
TypeScript
License
MIT
Category
Last pushed
Mar 09, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/dubzdubz/microgpt-ts"
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.
biegehydra/NanoGptDotnet
A miniature large language model (LLM) that generates shakespeare like text written in C#....
ssrhaso/microjpt
The most atomic way to train and run inference for a GPT in 100 lines of pure, dependency-free Julia.