trekhleb/homemade-gpt-js

A minimal TensorFlow.js re-implementation of Karpathy's minGPT (Generative Pre-trained Transformer). The GPT model itself is <300 lines of code.

by Oleksii Trekhleb TypeScript 13 forks Created Nov 2024 View on GitHub

Stars
94
<1% of trekhleb's stars
Rank
#510,420
of 851,984 repos, top 60%
In TypeScript
#39,640
of 62,469 repos, top 64%

Among 851,984 repos

Compare with

63–100 stars: 217,630 repos, including homemade-gpt-js

Stars along the bottom, and repos in each band on a log scale

Quick stats

Next rank
+1 star to reach #506,248
Next milestone
+25 stars to reach the top 50%
Yearly average
46 stars a year since Nov 2024

Stars counted Recounted daily Next count around