Topics / #language-model
Language-model projects on GitHub
Statistical and neural models that predict and generate language.
As of , the most-starred Language-model projects on GitHub are generative-ai-for-beginners (124.5K stars), LLMs-from-scratch (109.2K stars) and Prompt-Engineering-Guide (80.4K stars). GitHub.Locker tracks 45 Language-model repositories with 839.7K stars combined. The fastest-growing on November 30 was jailbreaks, with +353 stars in a day.
Hot right now
Most stars gained in a day · Nov 30
+353jailbreaks
togg53192-cmd/jailbreaks · ★ 22.2KThis is a personal collection of jailbreak prompts meant to bypass the safety restrictions of AI chatbots like ChatGPT.
+83generative-ai-for-beginners
microsoft/generative-ai-for-beginners · ★ 124.5KA 21-lesson course by Microsoft Cloud Advocates that teaches the fundamentals of building Generative AI applications, covering concepts like prompt engineering, chat apps, RAG, fine-tuning, and AI agents.
+59LLMs-from-scratch
rasbt/LLMs-from-scratch · ★ 109.2KThis is the official code repository for the book 'Build a Large Language Model (From Scratch)', which teaches you to implement a GPT-like LLM in PyTorch step by step, from tokenization through pretraining and finetuning.
+43Edge0
Edge0-AI/Edge0 · ★ 12KEdge0 is an open-source streaming MoE (Mixture-of-Experts) inference framework that lets you run large MoE models, like a 35B-parameter model, using only about 2.5-2.9 GB of active RAM by streaming expert weights from SSD and predicting routing one step ahead.
The all-time top
45 projects · by stars
- 124.5K
#1 · microsoft/generative-ai-for-beginnersgenerative-ai-for-beginners
A 21-lesson course by Microsoft Cloud Advocates that teaches the fundamentals of building Generative AI applications, covering concepts like prompt engineering, chat apps, RAG, fine-tuning, and AI agents.
- 109.2K
#2 · rasbt/LLMs-from-scratchLLMs-from-scratch
This is the official code repository for the book 'Build a Large Language Model (From Scratch)', which teaches you to implement a GPT-like LLM in PyTorch step by step, from tokenization through pretraining and finetuning.
- 80.4K
#3 · dair-ai/Prompt-Engineering-GuidePrompt-Engineering-Guide
This is DAIR.AI's Prompt Engineering Guide: a large, continuously updated collection of guides, papers, lecture notes, and notebooks covering prompt engineering techniques, context engineering, retrieval-augmented generation (RAG), and building AI agents with LLMs.
- 4

gpt4free
67.1Kxtekky/gpt4free · PythonGPT4Free (g4f) is a community-driven project that aggregates many free and reverse-engineered access points to commercial LLMs (GPT-4, Claude, Gemini, DeepSeek, etc.) and media-generation models, exposing them through one unified Python/JS client, web GUI, and OpenAI-compatible API.
- 5

repomix
29.5Kyamadashy/repomix · TypeScriptRepomix packs an entire repository into a single AI-friendly file you can feed to LLMs like Claude, ChatGPT, DeepSeek or Gemini — for code review, refactoring, docs or tests.
- 6

ai
28.1Kvercel/ai · TypeScriptIt's the AI SDK — a free, open-source TypeScript toolkit from Vercel (the Next.js team) for building AI-powered applications and agents with Next.js, React, Svelte, Vue, Angular and Node.js.
- 7

open-r1
26.5Khuggingface/open-r1 · PythonOpen R1 is a fully open effort to reproduce the training pipeline behind DeepSeek-R1, providing scripts to run SFT and GRPO training, generate synthetic reasoning data, and evaluate the resulting reasoning models.
- 8

nn-zero-to-hero
26.1Kkarpathy/nn-zero-to-hero · Jupyter NotebookA course by Andrej Karpathy that teaches neural networks from the absolute basics, built around a series of YouTube lectures with accompanying Jupyter notebooks coded live in the videos.
- 9

minGPT
25.1Kkarpathy/minGPT · PythonminGPT is a minimal PyTorch re-implementation of OpenAI's GPT, covering both training and inference, written to be small and easy to read rather than production-optimized.
- 10

mlc-llm
23.4Kmlc-ai/mlc-llm · PythonMLC LLM is a machine learning compiler and high-performance deployment engine that lets you run large language models natively on almost any platform, from servers to phones to the browser.
- 11

jailbreaks
22.2Ktogg53192-cmd/jailbreaksThis is a personal collection of jailbreak prompts meant to bypass the safety restrictions of AI chatbots like ChatGPT.
- 12

web-llm
19.4Kmlc-ai/web-llm · TypeScriptWebLLM runs large language models directly in the browser, accelerated by WebGPU — no server involved. It exposes the OpenAI API, so standard OpenAI-style code works against open models running locally.
- 13

DocsGPT
18.4Karc53/DocsGPT · PythonDocsGPT is a private, self-hosted AI platform for building agents, assistants, and enterprise search tools, with a built-in Agent Builder, document analysis, deep research mode, and support for multiple LLM providers.
- 14
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).
- 15

lm-evaluation-harness
14.5KEleutherAI/lm-evaluation-harness · PythonIt is a unified framework for few-shot evaluation of language models across a huge number of standard academic benchmarks.
- 16

open_clip
14.3Kmlfoundations/open_clip · PythonOpenCLIP is an open source implementation of OpenAI's CLIP model for training and using contrastive image-text (and now audio-text) models for tasks like zero-shot classification.
- 17

speech-to-speech
13.7Khuggingface/speech-to-speech · PythonIt's a low-latency, fully modular voice-agent pipeline (VAD -> STT -> LLM -> TTS) for building voice agents with open-source speech and language models, exposed over WebSocket and WebRTC via the OpenAI Realtime API event set.
- 18

txtai
13.6Kneuml/txtai · Pythontxtai is an all-in-one AI framework for semantic search, LLM orchestration and language model workflows. Its core is an embeddings database that combines vector indexes, graph networks and relational databases to power search or serve as a knowledge source for LLM apps.
- 19

train-llm-from-scratch
13.3KFareedKhan-dev/train-llm-from-scratch · PythonA from-scratch tutorial and codebase for training your own LLM end to end: tokenizing raw text, pretraining a GPT-style Transformer, and then post-training it with SFT, a reward model, DPO/ORPO/KTO, PPO and GRPO into an aligned, reasoning-style assistant.
- 20

Edge0
12KEdge0-AI/Edge0 · C++Edge0 is an open-source streaming MoE (Mixture-of-Experts) inference framework that lets you run large MoE models, like a 35B-parameter model, using only about 2.5-2.9 GB of active RAM by streaming expert weights from SSD and predicting routing one step ahead.
- 21
speechbrain
12Kspeechbrain/speechbrain · PythonAn open-source, PyTorch-based toolkit for Conversational AI — the technology behind speech assistants and chatbots. It bundles training recipes and pretrained models for a wide range of speech and text processing tasks.
- 22

MiniCPM
11.9KOpenBMB/MiniCPM · Jupyter NotebookMiniCPM is OpenBMB's family of small, open-source LLMs built for on-device and resource-constrained use. The newest release, MiniCPM5-2B, is a dense 2B-parameter model that reaches open-source state-of-the-art for its size class while staying competitive with much larger 4B-class models.
- 23

PocketFlow
11.3KThe-Pocket/PocketFlow · PythonPocket Flow is a minimalist 100-line LLM framework built around a single Graph abstraction, letting you build agents, workflows, and RAG pipelines without heavy dependencies or vendor lock-in.
- 24

tokenizers
11.3Khuggingface/tokenizers · RustTokenizers is a library implementing today's most-used tokenizers (BPE, WordPiece, Unigram) for NLP, built in Rust for speed and exposed to other languages via bindings. It's made by Hugging Face and powers tokenization for transformer models.
- 25

Kimi-K2
11.1KMoonshotAI/Kimi-K2Kimi K2 is a large language model series from Moonshot AI: a mixture-of-experts model with 1 trillion total parameters (32B activated per token), trained for frontier knowledge, reasoning, coding and especially agentic tool-use tasks.
- 26

minbpe
11.1Kkarpathy/minbpe · Pythonminbpe is a minimal, clean implementation of the Byte Pair Encoding (BPE) algorithm that modern LLMs like GPT, Llama and Mistral use to train their tokenizers.
- 27

Chinese-BERT-wwm
10.2Kymcui/Chinese-BERT-wwm · PythonThis project releases a family of pre-trained Chinese BERT models trained with Whole Word Masking (WWM), including BERT-wwm, BERT-wwm-ext, RoBERTa-wwm-ext, RoBERTa-wwm-ext-large, and smaller RBT3/RBT4/RBT6/RBTL3 variants, published alongside a paper in IEEE/ACM TASLP.
- 28
LLMsPracticalGuide
10.2KMooler0410/LLMsPracticalGuideA curated, actively updated list of practical guide resources for large language models (LLMs), covering models, data, NLP tasks, and usage restrictions. It is based on a survey paper 'Harnessing the Power of LLMs in Practice: A Survey on ChatGPT and Beyond'.
- 29

Kimi-K3
9.1KMoonshotAI/Kimi-K3Kimi K3 is MoonshotAI's open-weight, native multimodal agentic model — a 2.8T-parameter Mixture-of-Experts system built for frontier-level long-horizon coding, agentic knowledge work, and reasoning.
- 30
qingjian
7.9Kqingjian-team/qingjian · RustQingjian is a pinyin input method (IME) written in Rust for macOS, Windows, and Linux. Next to each candidate word it shows a translation in a language you're learning (English, Japanese, or Spanish), so language learning happens passively while you type normally.
- 31
SWE-bench
6.2KSWE-bench/SWE-bench · PythonSWE-bench is a benchmark that tests large language models on real GitHub issues: the model gets a codebase plus an issue and must produce a patch that resolves it. An automated harness scores the patches.
- 32
parameter-golf
5.2Kopenai/parameter-golf · PythonThis is OpenAI's 'Model Craft Challenge: Parameter Golf' - a competition to train the best language model that fits in a 16MB artifact and trains in under 10 minutes on 8xH100 GPUs, scored by bits-per-byte compression on the FineWeb validation set.
- 33

esp32-ai
4.7KslvDev/esp32-ai · PythonA 28.9 million parameter language model that runs text generation entirely on an ESP32-S3 microcontroller, with the generated text shown on a small screen wired to the chip.
- 34

how-to-train-your-gpt
4.2Kraiyanyahya/how-to-train-your-gpt · Jupyter NotebookA 12-chapter, 7,500+ line interactive textbook that teaches you how to build, train and run a modern GPT-style language model completely from scratch, with every line of code commented and explained in plain English.
- 35
heartlib
3.8KHeartMuLa/heartlib · PythonHeartMuLa is a family of open-source music foundation models for generating music from lyrics and tags, shipped together with codec, transcription and audio-text retrieval companion models.
- 36

bdh
3.6Kpathwaycom/bdh · PythonBDH (Dragon Hatchling) is a biologically inspired large language model architecture that connects deep learning with neuroscience, aiming to explain how reasoning and generalization emerge in AI systems at the level of individual neuron interactions.
- 37
Index-Translate
2.1Kbilibili/Index-Translate · PythonIndex-Translate is a family of multilingual translation models built on Qwen3.5, covering text translation across 150 languages plus speech, syllable-controlled, and full-document translation variants.
- 38

ncm
2KHazyResearch/ncm · PythonNCM (Next-Concept Modeling) is a two-stage framework for fast, parallel text generation: a residual VQ tokenizer turns a sequence into a hierarchy of discrete codes, and a transformer predicts that hierarchy coarse-to-fine instead of generating token by token.
- 39

mini-AGI
1.3Kvolotat/mini-AGI · Pythonmini-AGI is a continual learning, byte-level language model that assembles its own architecture, trains from scratch on a single 8GB VRAM GPU, and keeps learning from everything it reads, without a separate fine-tuning phase.
- 40

decider
1.1KMapika/decider · PythonDecider is a family of language models fine-tuned from Qwen3.5 that don't generate text; instead they read a state plus a set of typed questions and return calibrated probability distributions for every question in one forward pass.
- 41

Spark-X2.6
920XHToken/Spark-X2.6Spark-X2.5 is a series of two open-source language models (4B and 1.7B parameters) built for everyday conversation, writing, translation, coding, reasoning and agentic tool-use tasks, aiming for strong performance in a compact size.
- 42

chinese-ime-lm
912metasequoiaime/chinese-ime-lm · PythonIt is a toolkit for building and evaluating language models for Chinese input methods (IME): a corpus pipeline, an n-gram/KenLM statistical route, a character-level neural reranker, and the evaluation sets used to judge which candidate readings they pick.
- 43

ai-system-design
898amitshekhariitbhu/ai-system-design · MarkdownA free, open-source guide that teaches AI System Design step by step: how to combine GPUs, inference servers, caches, vector databases, AI agents, guardrails, and evals into one system that is fast, cheap, reliable, and safe.
- 44

OpenArch
428anuj0456/OpenArch · PythonA set of hand-written PyTorch implementations of modern open-source LLM architectures (Llama, Qwen, DeepSeek, Gemma, GPT-OSS, Kimi and more), written from scratch for readability and learning.
- 45

cardputer-ai
132therezor/cardputer-ai · C++Cardputer AI is a tiny offline chatbot that runs entirely on the M5Stack Cardputer / Cardputer ADV handheld, powered by an 8-million-parameter language model baked directly into the firmware.
Related topics
Often tagged together
- llm1,590
- python2,386
- machine-learning767
- ai2,006
- deep-learning582
- research693
- open-source5,461
- large-language-models210
- huggingface349
- benchmark465
- nlp171
- transformer186
- apache-2.01,441
- gpu798
- pytorch348
- gpt123
- inference314
- mit3,173
- transformers88
- education666
- fine-tuning175
- openai584
- artificial-intelligence235
- linux4,256