Topics / #llm-training
LLM training projects on GitHub
Resources and frameworks for training and fine-tuning large language models.
As of , the most-starred LLM training projects on GitHub are autoresearch (100.7K stars), nanochat (61K stars) and gitleaks (31.4K stars). GitHub.Locker tracks 19 LLM training repositories with 356.9K stars combined. The fastest-growing on November 30 was autoresearch, with +61 stars in a day.
Hot right now
Most stars gained in a day · Nov 30
+61autoresearch
karpathy/autoresearch · ★ 100.7Kautoresearch gives an AI coding agent a small, real LLM training setup (a simplified single-GPU version of nanochat) and lets it autonomously edit the training code, run 5-minute experiments, and keep what works overnight, so you wake up to a log of experiments and hopefully a better model.
+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.
+33LittleBit
SamsungLabs/LittleBit · ★ 395LittleBit is the official research code for compressing large language models to sub-1-bit precision (down to 0.1 bits per weight) by factorizing each weight matrix into low-rank latent factors and binarizing them, with magnitude restored through learned scales. It also includes LittleBit-2, a follow-up that improves initialization via latent geometry alignment.
ai-infra-book
bojieli/ai-infra-book · ★ 8.4KAn open-source book, 'Understanding AI Infra: Quantitative Analysis and System Design' by Bojie Li, that derives LLM inference and training system designs from hardware constraints and model architecture using quantitative, order-of-magnitude estimates.
The all-time top
19 projects · by stars
- 100.7K
#1 · karpathy/autoresearchautoresearch
autoresearch gives an AI coding agent a small, real LLM training setup (a simplified single-GPU version of nanochat) and lets it autonomously edit the training code, run 5-minute experiments, and keep what works overnight, so you wake up to a log of experiments and hopefully a better model.
- 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.
- 31.4K
#3 · gitleaks/gitleaksgitleaks
Gitleaks is a tool for detecting secrets like passwords, API keys, and tokens in git repos, files, or anything you pipe in via stdin.
- 4

llm-action
25.3Kliguodongiot/llm-action · HTMLIt is a Chinese-language hub of in-depth tutorials on large language model engineering: training, fine-tuning, distributed training, inference, compression, evaluation, data engineering, LLMOps and AI infrastructure, organized as a big index linking the author's article series, many with companion code.
- 5

peft
21.9Khuggingface/peft · PythonHugging Face's library of Parameter-Efficient Fine-Tuning methods: you adapt a large pretrained model by training only a small number of extra parameters instead of all of them, which slashes compute and storage costs.
- 6

ml-engineering
19.7Kstas00/ml-engineering · PythonAn open book on machine learning engineering: methodologies, tools and step-by-step instructions for training, fine-tuning and running inference on large language models and multi-modal (VLM) models, written by the engineer who led the BLOOM-176B training.
- 7

agent-lightning
19Kmicrosoft/agent-lightning · PythonAgent Lightning is an open-source reinforcement-learning training framework from Microsoft that lets you train any existing AI agent with RL, with almost zero changes to the agent's own code.
- 8

TinyZero
13.3KJiayi-Pan/TinyZero · PythonA minimal reproduction of DeepSeek R1-Zero: through reinforcement learning on countdown and multiplication tasks, a 3B base LM develops self-verification and search abilities all on its own.
- 9
PaddleFormers
13KPaddlePaddle/PaddleFormers · PythonPaddleFormers is a Transformers-style library built on Baidu's PaddlePaddle deep learning framework, giving the PaddlePaddle ecosystem the same kind of model interface and training workflow as Hugging Face Transformers, with full training support for 100+ LLMs and vision-language models.
- 10

ludwig
11.8Kludwig-ai/ludwig · PythonLudwig is a declarative deep learning framework that lets you train, fine-tune, and deploy AI models — from LLM fine-tuning to tabular classification — using a YAML config file and zero boilerplate Python.
- 11

skypilot
10.9Kskypilot-org/skypilot · PythonSkyPilot is an open-source system for running, managing, and scaling AI workloads — training, serving, batch inference — on any infrastructure: your own Kubernetes or Slurm clusters, reserved GPUs, or 20+ clouds.
- 12
ai-infra-book
8.4Kbojieli/ai-infra-book · PythonAn open-source book, 'Understanding AI Infra: Quantitative Analysis and System Design' by Bojie Li, that derives LLM inference and training system designs from hardware constraints and model architecture using quantitative, order-of-magnitude estimates.
- 13
reef
7.8KHuman-Agent-Society/reef · PythonReef is open-source infrastructure for continually self-improving agents. It wires together agent inference, feedback collection, learning, and versioned delivery so an agent keeps getting better from how you interact with it.
- 14

OpenClaw-RL
5.7KGen-Verse/OpenClaw-RL · PythonOpenClaw-RL is a fully asynchronous reinforcement learning framework that turns everyday conversations with an agent into training signals, letting you train a personalized OpenClaw agent just by talking to it, or train general agents for terminal, GUI, SWE, and tool-call tasks.
- 15

openlake
3.1Kopenlake-project/openlake · RustOpenLake is a storage engine for AI infrastructure. It keeps GPUs fed during training and inference, with high throughput for small I/O and cache-like speed while staying fully persistent and durable.
- 16

diy-llm
3Kdatawhalechina/diy-llm · Jupyter NotebookDiy-LLM is a Chinese-language adaptation of Stanford's CS336 course that teaches you to build a large language model from scratch, covering pre-training data, tokenizers, Transformers, MoE, distributed training, scaling laws, inference and alignment through 6 progressive coding assignments.
- 17

LittleBit
395SamsungLabs/LittleBit · PythonLittleBit is the official research code for compressing large language models to sub-1-bit precision (down to 0.1 bits per weight) by factorizing each weight matrix into low-rank latent factors and binarizing them, with magnitude restored through learned scales. It also includes LittleBit-2, a follow-up that improves initialization via latent geometry alignment.
- 18
manaca-1b-base
255Instituto-IA-LNCC/manaca-1b-base · PythonAn open ~1.72B-parameter language model trained from scratch for Brazilian Portuguese. The repo holds the whole reproducible pipeline: Docker environment, corpus pipeline, tokenizer training, Megatron-LM pretraining, and a Portuguese benchmark suite.
- 19

ApexAgents-SkyRL-Recipe
225Mercor-Intelligence/ApexAgents-SkyRL-Recipe · PythonIt's a complete, public recipe for RL-training knowledge-work agents on Mercor's APEX-Agents data, built on the open-source SkyRL training library and the open-source harbor sandbox/grading toolkit. It's the companion code for Mercor's 'Training Frontier Knowledge Work Agents' blogpost.
Related topics
Often tagged together
- llm1,590
- gpu798
- python2,386
- deep-learning582
- linux4,256
- fine-tuning175
- machine-learning767
- open-source5,461
- research693
- huggingface349
- cuda382
- inference314
- pytorch348
- apache-2.01,441
- ai2,006
- distributed-training33
- macos3,658
- reinforcement-learning136
- training77
- vllm135
- docker1,643
- large-language-models210
- rlhf20
- ai-agents1,513