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.

18Projects
609.7KStars in total
+190Stars in a day

Hot right now

Most stars gained in a day · Oct 16

The all-time top

18 projects · by stars

  1. #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.

    167.8K
  2. #2 · fighting41love/funNLP

    funNLP

    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.

    83K
  3. #3 · karpathy/nanoGPT

    nanoGPT

    nanoGPT is the simplest, fastest repository for training and finetuning medium-sized GPT language models, written as a minimal rewrite of minGPT.

    63.9K
  1. 4

    LocalAI

    49.6Kmudler/LocalAI · Go

    LocalAI 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.

  2. 5

    fairseq

    32.2Kfacebookresearch/fairseq · Python

    Fairseq 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.

  3. 6

    storm

    31.7Kstanford-oval/storm · Python

    STORM 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.

  4. 7

    ai

    27.4Kvercel/ai · TypeScript

    It'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.

  5. 8

    gpt-2

    25Kopenai/gpt-2 · Python

    This 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.

  6. 9

    minGPT

    25Kkarpathy/minGPT · Python

    minGPT 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.

  7. 10

    deep-learning-with-python-notebooks

    20.3Kfchollet/deep-learning-with-python-notebooks · Jupyter Notebook

    Companion 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).

  8. 11

    gpt-3

    15.7Kopenai/gpt-3

    The 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.

  9. 12

    BullshitGenerator

    15.5Kmenzi11/BullshitGenerator · JavaScript

    A joke project that generates nonsensical Chinese text, built purely so the author could test whether his GUI code renders text correctly.

  10. 13

    MOSS

    12.3KOpenMOSS/MOSS · Python

    MOSS 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.

  11. 14

    train-llm-from-scratch

    12.2KFareedKhan-dev/train-llm-from-scratch · Python

    A 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.

  12. 15

    char-rnn

    12.1Kkarpathy/char-rnn · Lua

    A 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.

  13. 16

    dolly

    10.8Kdatabrickslabs/dolly · Python

    Dolly 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.

  14. 17

    sutskever-30-implementations

    5.2Kpageman/sutskever-30-implementations · Jupyter Notebook

    It 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.

  15. 18

    qxotic

    175qxoticai/qxotic · Java

    Qxotic 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.

Often tagged together