homemade-gpt-js
A minimal TensorFlow.js re-implementation of Karpathy's minGPT (Generative Pre-trained Transformer). The GPT model itse…
Live
Open / InstallLast updated November 24, 2026
Description
A minimal TensorFlow.js re-implementation of Karpathy's minGPT (Generative Pre-trained Transformer). The GPT model itself is <300 lines of code. An open-source AI framework/SDK by trekhleb, hosted on GitHub.
Community Metrics
Views
94
Avg Rating
N/A
Ratings
0
Likes
0
Comments
—
Author
trekhleb
Platform
api
Pricing model
free
Categories
- AI Frameworks
Tags
- ai
- artificial-intelligence
- genai
- gpt
- machine-learning
- ml
- tensorflowjs
- tfjs
- github
Capabilities
- 94 stars
- TypeScript
Information
TypeFramework
SourceGitHub
AddedNovember 19, 2026