rasbt/LLMs-from-scratch🔥 active
▲ +435 ★ this week
Implement a ChatGPT-like LLM in PyTorch from scratch, step by step
[ICLR 2025] When Attention Sink Emerges in Language Models: An Empirical View (Spotlight)
$ git clone https://github.com/sail-sg/Attention-Sink.git▲ +435 ★ this week
Implement a ChatGPT-like LLM in PyTorch from scratch, step by step
▲ +2 ★ this week
RWKV (pronounced RwaKuv) is an RNN with great LLM performance, which can also be directly trained like a GPT transformer (parallelizable). We are at RWKV-7 "Goose". So it's combining the best of RNN and transformer - great performance, linear time, constant space (no kv-cache), fast training, infinite ctx_len, and free sentence embedding.
▲ +310 ★ this week
💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows
▲ +5 ★ this week
《大语言模型》作者:赵鑫,李军毅,周昆,唐天一,文继荣
▲ +6 ★ this week
Build a modern LLM from scratch. Every line commented. Explained like we are five.
▲ +1 ★ this week
[ICLR 2024] Official implementation of " 🦙 Time-LLM: Time Series Forecasting by Reprogramming Large Language Models"
Data from GitHub · snapshot Nov 13, 2026