This is your work, valued
LLMsPracticalGuide. A curated list of practical guide resources of LLMs (LLMs Tree, Examples, Papers)
★ 10kComputer-Archetecture. A Course in 2018 Spring
★ 1MiroFish. A Simple and Universal Swarm Intelligence Engine, Predicting Anything. 简洁通用的群体智能引擎,预测万物
★ 68kslime-n. A Multi-Policy, Multi-Agent RL Training Framework
★ 30concordia. A library for generative social simulation
★ 1.6kLaProp-Optimizer. Codes accompanying the paper "LaProp: a Better Way to Combine Momentum with Adaptive Gradient"
★ 31LLMs-from-scratch. Implement a ChatGPT-like LLM in PyTorch from scratch, step by step
★ 99kMLQuestions. Machine Learning and Computer Vision Engineer - Technical Interview Questions
★ 4.7kTorchCode. 🔥 LeetCode for PyTorch — practice implementing softmax, attention, GPT-2 and more from scratch with instant auto-grading. Jupyter-based, self-hosted or try online.
★ 4.3kpyre-code. A self-hosted ML coding practice platform. 68 problems from ReLU to flow matching — attention, training, RLHF, diffusion, and more. Instant feedback in the browser.
★ 1.2kahxt.github.io. HTML
★ 1OpenSeeker. OpenSeeker: A search agent with open-source data and models
★ 760SteptronOss. A lightweight, AI-native training framework for large language models. Designed for fast iteration, reproducible experiments, and modular configuration across SFT, RLVR, and evaluation workflows.
★ 577strands-env. A framework for building agent environments for RL training and evaluation with Strands Agents.
★ 56strands-sglang. SGLang model provider of Strands Agents for on-policy agentic RL training.
★ 74nanochat. Pretraining Repository for Energy-based LM
★ 3dion. Dion optimizer algorithm
★ 493Megatron-Bridge. Training library for Megatron-based models with bidirectional Hugging Face conversion capability
★ 782EasyOffer. 《EasyOffer》(<大模型面经合集>)是针对LLM宝宝们量身打造的大模型暑期实习Offer指南,主要记录大模型暑期实习和秋招准备的一些常见大厂手撕代码、大厂面经经验、常见大厂思考题等;小白一个,正在学习ing......有问题各位大佬随时指正,希望大家都能拿到心仪Offer!
★ 805datatools. Common tools for data processing
★ 22OLMo-core. PyTorch building blocks for the OLMo ecosystem
★ 1.4kmegablocks. Python
★ 1.6kgrouped_gemm. PyTorch bindings for CUTLASS grouped GEMM.
★ 154flash-moba. C++
★ 249lighteval. Lighteval is your all-in-one toolkit for evaluating LLMs across multiple backends
★ 2.5kMegatron-LM. Ongoing research training transformer models at scale
★ 17kDecoding-Tree-Sketching. [ICML 2026] Decoding Tree Sketching (DTS): a training-free & model agonistic & plug-in framework for LLM parallel reasoning.
★ 70Kimi-Linear.
★ 1.4kcwm. Research code artifacts for Code World Model (CWM) including inference tools, reproducibility, and documentation.
★ 880linghe. A high-performance kernel library for LLM training
★ 82LLM-Training-Puzzles. What would you do with 1000 H100s...
★ 1.2kLlamaFactory. Unified Efficient Fine-Tuning of 100+ LLMs & VLMs (ACL 2024)
★ 73kMegatron-MoE-ModelZoo. Best practices for training DeepSeek, Mixtral, Qwen and other MoE models using Megatron Core.
★ 200oat. 🌾 OAT: A research-friendly framework for LLM online alignment, including reinforcement learning, preference learning, etc.
★ 664understand-r1-zero. Understanding R1-Zero-Like Training: A Critical Perspective
★ 1.3kacademic-homepage-typst. CSS
★ 27moe-recipes. Ongoing Research Project for Mixture of Expert models
★ 8Flash-Sparse-Attention. 🚀🚀 Efficient implementations of Native Sparse Attention
★ 621MiroMind-M1. MiroMind-M1 is a fully open-source series of reasoning language models built on Qwen-2.5, focused on advancing mathematical reasoning.
★ 279gpt-oss. gpt-oss-120b and gpt-oss-20b are two open-weight language models by OpenAI
★ 20kAReaL. The RL Bridge for LLM-based Agent Applications. Made Simple & Flexible.
★ 5.5kalfworld. ALFWorld: Aligning Text and Embodied Environments for Interactive Learning
★ 795Flora. Official Implementation of Human/LLM-free SFT data construction strategy for long-context LLMs: "Flora: Effortless Context Construction to Arbitrary Length and Scale" [AAAI 2026 Oral]
★ 4LongGenBench. Jupyter Notebook
★ 37ms-swift. Use PEFT or Full-parameter to CPT/SFT/DPO/GRPO 600+ LLMs (Qwen3.6, DeepSeek-V4, GLM-5.1, InternLM3, Llama4, ...) and 300+ MLLMs (Qwen3-VL, Qwen3-Omni, InternVL3.5, Ovis2.5, GLM4.5v, Gemma4, Llava, Phi4, ...) (AAAI 2025).
★ 15kKimi-K2. Kimi K2 is the large language model series developed by Moonshot AI team
★ 11kverl. verl/HybridFlow: A Flexible and Efficient RL Post-Training Framework
★ 22kdbgbench.github.io. DBGBench Website:
★ 19kvpress. LLM KV cache compression made easy
★ 1.1kgrouped-latent-attention. Python
★ 135s5cmd. Parallel S3 and local filesystem execution tool.
★ 4.1kStar-Attention. Efficient LLM Inference over Long Sequences
★ 393vllm. A high-throughput and memory-efficient inference and serving engine for LLMs
★ 86kNoLiMa. Official repository for "NoLiMa: Long-Context Evaluation Beyond Literal Matching"
★ 201triton-viz. Python
★ 347gamebench. Python
★ 19NLPCtlScalingAndBounds. [ICLR 2026 Oral] Intrinsic Entropy of Context Length Scaling in LLMs
★ 4DeepSick-R1. Reproduction of DeepSeek-R1
★ 237mini-llm-pretraining. Python
★ 5Qwen-Native-Sparse-Attention. qwen-nsa
★ 87mdy_triton. Jupyter Notebook
★ 154native-sparse-attention-pytorch. Implementation of the sparse attention pattern proposed by the Deepseek team in their "Native Sparse Attention" paper
★ 809native-sparse-attention. 🐳 Efficient Triton implementations for "Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention"
★ 1kMoBA. MoBA: Mixture of Block Attention for Long-Context LLMs
★ 2.1ktilelang. Domain-specific language designed to streamline the development of high-performance GPU/CPU/Accelerators kernels
★ 6.6knative-sparse-attention-triton. Efficient triton implementation of Native Sparse Attention.
★ 284open-gemini-deep-research. Python
★ 240ThinkPO. Python
★ 17s1. s1: Simple test-time scaling
★ 6.7kdeep-learning-pytorch-huggingface. Jupyter Notebook
★ 1.4kopen-r1. Fully open reproduction of DeepSeek-R1
★ 26kDeepSeek-R1.
★ 92kcute-flash-attention. Implement Flash Attention using Cute.
★ 108JetStream. JetStream is a throughput and memory optimized engine for LLM inference on XLA devices, starting with TPUs (and GPUs in future -- PRs welcome).
★ 451ILearnDeepLearning.py. This repository contains small projects related to Neural Networks and Deep Learning in general. Subjects are closely linekd with articles I publish on Medium. I encourage you both to read as well as to check how the code works in the action.
★ 1.4kLMCache. LMCache: Supercharge Your LLM with the Fastest KV Cache Layer
★ 10kalphafold3. AlphaFold 3 inference pipeline.
★ 8.3kLongPPL. Code for ICLR 2025 Paper "What is Wrong with Perplexity for Long-context Language Modeling?"
★ 115viztracer. A debugging and profiling tool that can trace and visualize python code execution
★ 7.7kLOGO. Code for paper: Long cOntext aliGnment via efficient preference Optimization
★ 26llama3.np. llama3.np is a pure NumPy implementation for Llama 3 model.
★ 992llama-from-scratch. Llama from scratch, or How to implement a paper without crying
★ 580modded-nanogpt. NanoGPT (124M) in 90 seconds
★ 5.5ktypst. A markup-based typesetting system that is powerful and easy to learn.
★ 55kHolisticTraceAnalysis. A library to analyze PyTorch traces.
★ 535xformers. Hackable and optimized Transformers building blocks, supporting a composable construction.
★ 11kminimind. 🧠「大模型」2小时完全从0训练64M的小参数LLM!Train a 64M-parameter LLM from scratch in just 2h!
★ 53kgranite-3.0-language-models.
★ 271lingua. Meta Lingua: a lean, efficient, and easy-to-hack codebase to research LLMs.
★ 4.8kGrokkedTransformer. Code for NeurIPS'24 paper 'Grokked Transformers are Implicit Reasoners: A Mechanistic Journey to the Edge of Generalization'
★ 240OLMo. Modeling, training, eval, and inference code for OLMo
★ 6.6klolcats. Repo for "LoLCATs: On Low-Rank Linearizing of Large Language Models"
★ 260Taylor-Unswift. Python
★ 22transformers_ssm_copy. Python
★ 39flex_head_fa. Fast and memory-efficient exact attention
★ 74vllm-kvcompress. KV cache compression for high-throughput LLM inference
★ 158LLM-Research-Scripts. Python
★ 431implicit-ins. Codebase for Instruction Following without Instruction Tuning
★ 36Triton-Puzzles-Solutions. Personal solutions to the Triton Puzzles
★ 21machine-learning-interview. Machine Learning Interviews from FAANG, Snapchat, LinkedIn. I have offers from Snapchat, Coupang, Stitchfix etc. Blog: mlengineer.io.
★ 13ksystem-design-primer. Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.
★ 357kProLong. Homepage for ProLong (Princeton long-context language models) and paper "How to Train Long-Context Language Models (Effectively)"
★ 258HELMET. The HELMET Benchmark
★ 220Temp-LoRA. Python
★ 130youra. Repository for You Only Use Reactive Attention slice (YOURA) for long context retrieval
★ 5astralord.github.io. :ledger: A minimal, sidebar, responsive web design Jekyll theme that focuses on text presentation.
★ 6large_language_monkeys. Python
★ 117CacheBlend. Python
★ 194LCEG. [COLM'25] A Controlled Study on Long Context Extension and Generalization in LLMs
★ 65bAbI-tasks. Task generation for testing text understanding and reasoning
★ 902babilong. BABILong is a benchmark for LLM evaluation using the needle-in-a-haystack approach.
★ 250Attention-Mask-Patterns. Using FlexAttention to compute attention with different masking patterns
★ 47o1_inference_scaling_laws. Replicating O1 inference-time scaling laws
★ 94Awesome-LLM-Long-Context-Modeling. 📰 Must-read papers and blogs on LLM based Long Context Modeling 🔥
★ 2.1ktriton. Development repository for the Triton language and compiler
★ 20kcola. Compositional Linear Algebra
★ 517RAM. A framework to study AI models in Reasoning, Alignment, and use of Memory (RAM).
★ 377DoubleSparse. 16-fold memory access reduction with nearly no loss
★ 107LongMIT. LongMIT: Essential Factors in Crafting Effective Long Context Multi-Hop Instruction Datasets
★ 43machine-learning-systems-design. A booklet on machine learning systems design with exercises. NOT the repo for the book "Designing Machine Learning Systems", which is `dmls-book`
★ 10kkernels. Python
★ 114WordLlama. Things you can do with the token embeddings of an LLM
★ 1.5kAwesome-LLM-Strawberry. A collection of LLM papers, blogs, and projects, with a focus on OpenAI o1 🍓 and reasoning techniques.
★ 6.9kfoundation-model-stack. 🚀 Collection of components for development, training, tuning, and inference of foundation models leveraging PyTorch native components.
★ 2longctx_bench. KV Cache Compression, But What Must We Give in Return? A Comprehensive Benchmark of Long Context Capable Approaches. EMNLP Findings 2024
★ 89MemoRAG. Empowering RAG with a memory-based data interface for all-purpose applications!
★ 2.3kGraphConv_is_Mixup. [TMLR] On the Equivalence of Graph Convolution and Mixup
★ 4alphafold3-pytorch. Implementation of Alphafold 3 from Google Deepmind in Pytorch
★ 1.7kLinearLM. Code for the paper: https://arxiv.org/pdf/2309.06979.pdf
★ 21ml-sigmoid-attention. Python
★ 309context-cite. Attribute (or cite) statements generated by LLMs back to in-context information.
★ 337maskedmixers. Code for the paper 'Masked Mixers for Language Generation and Retrieval'
★ 5emnlp2024-attribute-or-abstain. This repository contains the code for the paper "Attribute or Abstain: LLMs as Long Document Assistants", published on arxiv.
★ 7LLMsPracticalGuide. A curated list of practical guide resources of LLMs (LLMs Tree, Examples, Papers)
★ 10kMLR-Copilot. Python
★ 70writing-in-the-margins. Python
★ 121LongIns-Bench. Python
★ 4FinTextQA.
★ 9clapnq. Jupyter Notebook
★ 46kotaemon. An open-source RAG-based tool for chatting with your documents.
★ 26ktriton-index. Cataloging released Triton kernels.
★ 310boolean-questions.
★ 178RAG_Techniques. This repository showcases various advanced techniques for Retrieval-Augmented Generation (RAG) systems. Each technique has a detailed notebook tutorial.
★ 28kLiger-Kernel. Efficient Triton Kernels for LLM Training
★ 6.5kllm-numbers. Numbers every LLM developer should know
★ 4.3kprompt-cache. Modular and structured prompt caching for low-latency LLM inference
★ 114attention-gym. Helpful tools and examples for working with flex-attention
★ 1.2kTransformerLens. A library for mechanistic interpretability of GPT-style language models
★ 3.7kflashattention2-custom-mask. Triton implementation of FlashAttention2 that adds Custom Masks.
★ 176CitationMap. A simple pip-installable Python tool to generate your HTML citation world map from your Google Scholar ID.
★ 720ml-superposition-prompting. Python
★ 147seq-test. Understand and test language model architectures on synthetic tasks.
★ 2MambaInLlama. [NeurIPS 2024] Official Repository of The Mamba in the Llama: Distilling and Accelerating Hybrid Models
★ 242torchtitan. A PyTorch native platform for training generative AI models
★ 5.5kopen_lm. A repository for research on medium sized language models.
★ 537HOMER. Official implementation of Hierarchical Context Merging: Better Long Context Understanding for Pre-trained LLMs (ICLR 2024).
★ 45annotated_deep_learning_paper_implementations. 🧑🏫 60+ Implementations/tutorials of deep learning papers with side-by-side notes 📝; including transformers (original, xl, switch, feedback, vit, ...), optimizers (adam, adabelief, sophia, ...), gans(cyclegan, stylegan2, ...), 🎮 reinforcement learning (ppo, dqn), capsnet, distillation, ... 🧠
★ 67kLongMamba. Some preliminary explorations of Mamba's context scaling.
★ 220mamba2-minimal. Minimal Mamba-2 implementation in PyTorch
★ 255SparTA. Python
★ 167MInference. [NeurIPS'24 Spotlight, ICLR'25, ICML'25] To speed up Long-context LLMs' inference, approximate and dynamic sparse calculate the attention, which reduces inference latency by up to 10x for pre-filling on an A100 while maintaining accuracy.
★ 1.2kThunderKittens. Tile primitives for speedy kernels
★ 3.5kflash-attention-x. Python
★ 5baukit. Python
★ 253CD. [COLING'25] Exploring Concept Depth: How Large Language Models Acquire Knowledge at Different Layers?
★ 82loft. LOFT: A 1 Million+ Token Long-Context Benchmark
★ 236Quest. [ICML 2024] Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inference
★ 398DeciMamba. DeciMamba: Exploring the Length Extrapolation Potential of Mamba (ICLR 2025)
★ 32ltsm. LTSM-Bundle: A Toolbox and Benchmark on Large Language Models for Time Series Forecasting
★ 112cam. Pytorch implementation of our paper accepted by ICML 2024 -- CaM: Cache Merging for Memory-efficient LLMs Inference
★ 50ml-engineering. Machine Learning Engineering Open Book
★ 18kknow-dont-tell. Python
★ 19ArxivPaper. 定时爬取arXiv每日论文
★ 13epochraft-hf-fsdp. Example of using Epochraft to train HuggingFace transformers models with PyTorch FSDP
★ 11matmulfreellm. Implementation for MatMul-free LM.
★ 3.1ktuning_playbook. A playbook for systematically maximizing the performance of deep learning models.
★ 30kTriton-Puzzles. Puzzles for learning Triton
★ 2.5kDPR. Dense Passage Retriever - is a set of tools and models for open domain Q&A task.
★ 1.9krecurrentgemma. Open weights language model from Google DeepMind, based on Griffin.
★ 682flax. Flax is a neural network library for JAX that is designed for flexibility.
★ 7.3kSamba. [ICLR 2025] Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modeling
★ 964CRUD_RAG. CRUD-RAG: A Comprehensive Chinese Benchmark for Retrieval-Augmented Generation of Large Language Models
★ 399Awesome-RAG-Evaluation. The official repository for the paper: Evaluation of Retrieval-Augmented Generation: A Survey.
★ 200xRAG. [Neurips2024] Source code for xRAG: Extreme Context Compression for Retrieval-augmented Generation with One Token
★ 182LFQA-Verification. The repository for the paper Understanding Retrieval Augmentation for Long-Form Question Answering.
★ 6filco. [Preprint] Learning to Filter Context for Retrieval-Augmented Generaton
★ 198self-rag. This includes the original implementation of SELF-RAG: Learning to Retrieve, Generate and Critique through self-reflection by Akari Asai, Zeqiu Wu, Yizhong Wang, Avirup Sil, and Hannaneh Hajishirzi.
★ 2.4kBooookScore. A package to generate summaries of long-form text and evaluate the coherence of these summaries. Official package for our ICLR 2024 paper, "BooookScore: A systematic exploration of book-length summarization in the era of LLMs".
★ 130MiniCheck. MiniCheck: Efficient Fact-Checking of LLMs on Grounding Documents [EMNLP 2024]
★ 214repoqa. RepoQA: Evaluating Long-Context Code Understanding
★ 135MemoryLLM. The official implementation of the ICML 2024 paper "MemoryLLM: Towards Self-Updatable Large Language Models" and "M+: Extending MemoryLLM with Scalable Long-Term Memory"
★ 317contriever. Contriever: Unsupervised Dense Information Retrieval with Contrastive Learning
★ 779MultiHop-RAG. Repository for "MultiHop-RAG: A Dataset for Evaluating Retrieval-Augmented Generation Across Documents" (COLM 2024)
★ 454RGB. Python
★ 371tensor_parallel. Automatically split your PyTorch models on multiple GPUs for training & inference
★ 655PASTA. PASTA: Post-hoc Attention Steering for LLMs
★ 142FlashRAG. ⚡FlashRAG: A Python Toolkit for Efficient RAG Research (WWW2025 Resource)
★ 3.5ktransformer. Transformer: PyTorch Implementation of "Attention Is All You Need"
★ 4.6kParallel-Context-Windows. Python
★ 108sgpt. SGPT: GPT Sentence Embeddings for Semantic Search
★ 873fvcore. Collection of common code that's shared among different research projects in FAIR computer vision team.
★ 2.2kGEAR. GEAR: An Efficient KV Cache Compression Recipefor Near-Lossless Generative Inference of LLM
★ 183