Topics / #text-generation
Text-generation projects on GitHub
Generating natural language text with language models.
As of , the most-starred Text-generation projects on GitHub are transformers (167.8K stars), funNLP (83K stars) and nanoGPT (63.9K stars). GitHub.Locker tracks 18 Text-generation repositories with 609.7K stars combined. The fastest-growing on October 16 was transformers, with +42 stars in a day.
Hot right now
Most stars gained in a day · Oct 16
transformers
huggingface/transformers · ★ 167.8KTransformers is Hugging Face's model-definition framework for state-of-the-art machine learning models across text, vision, audio, video, and multimodal tasks, usable for both inference and training.
+36nanoGPT
karpathy/nanoGPT · ★ 63.9KnanoGPT is the simplest, fastest repository for training and finetuning medium-sized GPT language models, written as a minimal rewrite of minGPT.
+34funNLP
fighting41love/funNLP · ★ 83KA huge curated collection of Chinese NLP resources: corpora, lexicons, tools, datasets and courses. The README calls it 'The Most Powerful NLP-Weapon Arsenal' — nearly the most complete Chinese NLP resource library.
+24LocalAI
mudler/LocalAI · ★ 49.6KLocalAI is an open-source, self-hosted AI engine that lets you run LLMs, vision, voice, image and video models on your own hardware, including CPU-only setups, through an OpenAI/Anthropic/ElevenLabs-compatible API.
The all-time top
18 projects · by stars
- 167.8K
#1 · huggingface/transformers
transformers
Transformers is Hugging Face's model-definition framework for state-of-the-art machine learning models across text, vision, audio, video, and multimodal tasks, usable for both inference and training.
- 83K
#2 · fighting41love/funNLPfunNLP
A huge curated collection of Chinese NLP resources: corpora, lexicons, tools, datasets and courses. The README calls it 'The Most Powerful NLP-Weapon Arsenal' — nearly the most complete Chinese NLP resource library.
- 63.9K
#3 · karpathy/nanoGPTnanoGPT
nanoGPT is the simplest, fastest repository for training and finetuning medium-sized GPT language models, written as a minimal rewrite of minGPT.
- 4

LocalAI
49.6Kmudler/LocalAI · GoLocalAI is an open-source, self-hosted AI engine that lets you run LLMs, vision, voice, image and video models on your own hardware, including CPU-only setups, through an OpenAI/Anthropic/ElevenLabs-compatible API.
- 5

fairseq
32.2Kfacebookresearch/fairseq · PythonFairseq is Facebook AI Research's sequence modeling toolkit for training custom models for translation, summarization, language modeling and other text generation tasks, built on PyTorch.
- 6
storm
31.7Kstanford-oval/storm · PythonSTORM is an LLM-powered system that researches a topic on the Internet and writes a full-length Wikipedia-like report with citations. Co-STORM extends it with human-AI collaborative knowledge curation.
- 7

ai
27.4Kvercel/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.
- 8

gpt-2
25Kopenai/gpt-2 · PythonThis is OpenAI's official code and release for GPT-2, the language model described in the paper 'Language Models are Unsupervised Multitask Learners'. It bundles the model code with scripts to generate text samples from the released GPT-2 checkpoints.
- 9

minGPT
25Kkarpathy/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

deep-learning-with-python-notebooks
20.3Kfchollet/deep-learning-with-python-notebooks · Jupyter NotebookCompanion Jupyter notebooks for the book 'Deep Learning with Python' by Francois Chollet (and Matthew Watson for the 3rd edition, 2025), implementing all its code samples, plus legacy notebooks for the 2nd edition (2021) and 1st edition (2017).
- 11

gpt-3
15.7Kopenai/gpt-3The official companion repo for the GPT-3 paper 'Language Models are Few-Shot Learners'. GPT-3 is an autoregressive language model with 175 billion parameters — 10x more than any previous non-sparse model — tested on few-shot learning across many NLP tasks.
- 12

BullshitGenerator
15.5Kmenzi11/BullshitGenerator · JavaScriptA joke project that generates nonsensical Chinese text, built purely so the author could test whether his GUI code renders text correctly.
- 13

MOSS
12.3KOpenMOSS/MOSS · PythonMOSS is an open-source, tool-augmented bilingual (Chinese-English) conversational language model built by Fudan University's OpenMOSS team, released with model weights, training data, and deployment/finetuning code.
- 14

train-llm-from-scratch
12.2KFareedKhan-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.
- 15

char-rnn
12.1Kkarpathy/char-rnn · LuaA multi-layer Recurrent Neural Network implementation (vanilla RNN, LSTM, GRU) in Torch/Lua for training and sampling character-level language models that learn to predict the next character in a text and can then generate new text that mimics it.
- 16

dolly
10.8Kdatabrickslabs/dolly · PythonDolly is Databricks' instruction-following large language model, trained on the Databricks Machine Learning Platform and licensed for commercial use; the flagship dolly-v2-12b derives from EleutherAI's Pythia-12b.
- 17

sutskever-30-implementations
5.2Kpageman/sutskever-30-implementations · Jupyter NotebookIt is a from-scratch NumPy implementation suite covering all 30 deep learning papers from Ilya Sutskever's famous reading list, the one he told John Carmack would teach '90% of what matters' in the field.
- 18

qxotic
175qxoticai/qxotic · JavaQxotic is an open-source AI stack built specifically for the JVM, giving Java applications local AI inference — chat, vision, audio, embeddings, reranking and text-to-speech — without needing Python or ONNX.
Related topics
Often tagged together