Topics / #gpt-2
GPT 2 projects on GitHub
Early large language model architecture influential in transformer research.
As of , the most-starred GPT 2 projects on GitHub are nanoGPT (65.2K stars), nanochat (61K stars) and BettaFish (42.7K stars). GitHub.Locker tracks 5 GPT 2 repositories with 195.5K stars combined. The fastest-growing on November 30 was nanochat, with +40 stars in a day.
Hot right now
Most stars gained in a day · Nov 30
+40nanochat
karpathy/nanochat · ★ 61KA minimal, hackable harness for training your own LLM end to end (tokenization, pretraining, finetuning, evaluation, inference) on a single GPU node, ending in a chatbot you talk to over a CLI.
+39nanoGPT
karpathy/nanoGPT · ★ 65.2KnanoGPT is the simplest, fastest repository for training and finetuning medium-sized GPT language models, written as a minimal rewrite of minGPT.
+10BettaFish
666ghj/BettaFish · ★ 42.7KBettaFish (Chinese name 'Weiyu'/微舆) is a from-scratch multi-agent public opinion analysis system that monitors social media and large volumes of public comments, then produces reports to help break information bubbles and support decision-making.
RWKV-LM
BlinkDL/RWKV-LM · ★ 14.8KRWKV (pronounced 'RwaKuv') is an RNN architecture with transformer-level LLM performance that can also be trained in parallel like GPT. The current generation, RWKV-7 'Goose', is 100% attention-free, linear-time and constant-memory (no kv-cache).
The all-time top
5 projects · by stars
- 65.2K
#1 · karpathy/nanoGPTnanoGPT
nanoGPT is the simplest, fastest repository for training and finetuning medium-sized GPT language models, written as a minimal rewrite of minGPT.
- 61K
#2 · karpathy/nanochatnanochat
A minimal, hackable harness for training your own LLM end to end (tokenization, pretraining, finetuning, evaluation, inference) on a single GPU node, ending in a chatbot you talk to over a CLI.
- 42.7K
#3 · 666ghj/BettaFishBettaFish
BettaFish (Chinese name 'Weiyu'/微舆) is a from-scratch multi-agent public opinion analysis system that monitors social media and large volumes of public comments, then produces reports to help break information bubbles and support decision-making.
- 4
RWKV-LM
14.8KBlinkDL/RWKV-LM · PythonRWKV (pronounced 'RwaKuv') is an RNN architecture with transformer-level LLM performance that can also be trained in parallel like GPT. The current generation, RWKV-7 'Goose', is 100% attention-free, linear-time and constant-memory (no kv-cache).
- 5

Transformers-Tutorials
11.8KNielsRogge/Transformers-Tutorials · Jupyter NotebookA collection of Jupyter notebook demos showing how to use HuggingFace's Transformers library in PyTorch, covering models like BERT, GPT-2, LayoutLM, DETR, Donut and many more.
Related topics
Often tagged together