Open-source AI repos
Open-source AI, all in one place.
13,356 open-source AI repositories for learning, teaching, research and building. Kept up to date by the community: anyone can add a repo with a pull request.
21 repos matching “gpt-2”
Training & MLOps
Stars:3.4kgpt-2-simple
Python package to easily retrain OpenAI's GPT-2 text-generating model on new texts
Python · updated 3 years agoDetails›Image generation
Stars:105pixelgpt-24x24
Tiny local text-to-24x24 pixel art model, trained on roughly 200K samples in 30 minutes on an RTX 5090.
JavaScript · updated 4 months agoDetails›Chat interfaces
Stars:14.8kRWKV-LM
RWKV (pronounced RwaKuv) is an RNN with great LLM performance, which can also be directly trained like a GPT transformer (parallelizable). We are at RWKV-7 "Goose". So it's combining the best of RNN and transformer - great performance, linear time, constant space (no…
Python · Apache-2.0 · updated 27 days agoDetails›Image generation
Stars:13.9kLoRA
Code for loralib, an implementation of "LoRA: Low-Rank Adaptation of Large Language Models"
Python · MIT · updated 1 year agoDetails›Learn AI
Stars:11.8kTransformers-Tutorials
This repository contains demos I made with the Transformers library by HuggingFace.
Jupyter Notebook · MIT · updated 2 months agoDetails›AI agents
Stars:4knixtla
TimeGPT-2.1: production ready pre-trained Time Series Foundation Model for forecasting and anomaly detection. Generative pretrained transformer for time series trained on over 100B data points. It's capable of accurately predicting various domains such as retail, electricity…
Jupyter Notebook · updated 10 days agoDetails›Open models
Stars:3.5kpicoGPT
An unnecessarily tiny implementation of GPT-2 in NumPy.
Python · MIT · updated 3 years agoDetails›Image generation
Stars:2.7kxTuring
Build, personalize and control your own LLMs. From data pre-processing to fine-tuning, xTuring provides an easy way to personalize open-source LLMs. Join our discord community: https://discord.gg/TgHXuSJEk6
Python · Apache-2.0 · updated 26 days agoDetails›Open models
Stars:2.1kLLMFarm
llama and other large language models on iOS and MacOS offline using GGML library.
C · MIT · updated 10 months agoDetails›Open models
Stars:2ksimple-llm-finetuner
Simple UI for LLM Model Finetuning
Jupyter Notebook · MIT · updated 2 years agoDetails›Open models
Stars:2kCDial-GPT
A Large-scale Chinese Short-Text Conversation Dataset and Chinese pre-training dialog models
Python · MIT · updated 3 years agoDetails›Training & MLOps
Stars:1.8kCode-LMs
Guide to using pre-trained large language models of source code
Python · MIT · updated 2 years agoDetails›Image generation
Stars:1.6kInfinity
[CVPR 2025 Oral]Infinity ∞ : Scaling Bitwise AutoRegressive Modeling for High-Resolution Image Synthesis
Python · MIT · updated 7 months agoDetails›Open models
Stars:1.4kspacy-transformers
Use pretrained transformers like BERT, XLNet and GPT-2 in spaCy
Python · MIT · updated 27 days agoDetails›Image generation
Stars:1.2kvlms-zero-to-hero
This series will take you on a journey from the fundamentals of NLP and Computer Vision to the cutting edge of Vision-Language Models.
Jupyter Notebook · Apache-2.0 · updated 1 year agoDetails›Open models
Stars:1kthis-word-does-not-exist
This Word Does Not Exist
Python · MIT · updated 5 months agoDetails›Data science
Stars:862gpt-tokenizer
The fastest JavaScript BPE Tokenizer Encoder Decoder for OpenAI's GPT models (gpt-5, gpt-o*, gpt-4o, etc.). Port of OpenAI's tiktoken with additional features.
TypeScript · MIT · updated 20 days agoDetails›Chat interfaces
Stars:564TextRL
Implementation of ChatGPT RLHF (Reinforcement Learning with Human Feedback) on any generation model in huggingface's transformer (blommz-176B/bloom/gpt/bart/T5/MetaICL)
Python · MIT · updated 7 months agoDetails›Chat interfaces
Stars:444gpt2bot
Your new Telegram buddy powered by transformers
Jupyter Notebook · MIT · updated 2 years agoDetails›Open models
Stars:344DialogRPT
EMNLP 2020: "Dialogue Response Ranking Training with Large-Scale Human Feedback Data"
Python · MIT · updated 2 years agoDetails›LLM & RAG frameworks
Stars:267NamiGPT
零基础入门大模型(LLM)的基础教程:从零手写 GPT-2,一行行看懂大模型是怎么工作的 | Build GPT-2 from scratch in PyTorch, step by step
Python · MIT · updated 1 month agoDetails›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.