gpt-2
StarHere are 1,334 public repositories matching this topic...
Language: All Filter by language All 1,334 Python 644 Jupyter Notebook 441 HTML 54 TypeScript 23 C++ 19 Rust 19 JavaScript 18 Dockerfile 7 Cuda 6 PHP 6 Sort: Most stars Sort options Most stars Fewest stars Most forks Fewest forks Recently updated Least recently updatedBlinkDL / RWKV-LM
Star 14.8kRWKV (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 kv-cache), fast training, infinite ctx_len, and free sentence embedding.
deep-learning transformers pytorch transformer lstm rnn gpt language-model attention-mechanism gpt-2 gpt-3 linear-attention rwkv chatgpt- Updated Nov 4, 2026
- Python
microsoft / LoRA
Star 14kCode for loralib, an implementation of "LoRA: Low-Rank Adaptation of Large Language Models"
deep-learning pytorch lora language-model adaptation roberta low-rank gpt-2 gpt-3 deberta- Updated Dec 17, 2024
- Python
NielsRogge / Transformers-Tutorials
Star 11.8kThis repository contains demos I made with the Transformers library by HuggingFace.
transformers pytorch bert gpt-2 layoutlm vision-transformer- Updated Sep 17, 2026
- Jupyter Notebook
codota / TabNine
Star 10.8kAI Code Completions
javascript ruby python java bash swift rust golang php typescript ai lua cpp vim-plugin artificial-intelligence atom-package vscode-extension sublime-package jetbrains-plugin gpt-2- Updated Sep 4, 2025
- Shell
FoundationVision / VAR
Star 8.8k[NeurIPS 2024 Best Paper Award][GPT beats diffusion🔥] [scaling laws in visual generation📈] Official impl. of "Visual Autoregressive Modeling: Scalable Image Generation via Next-Scale Prediction". An *ultra-simple, user-friendly yet state-of-the-art* codebase for autoregressive image generation!
transformers generative-model image-generation auto-regressive-model gpt neurips gpt-2 diffusion-models autoregressive-models vision-transformer large-language-models generative-ai- Updated Nov 10, 2025
- Jupyter Notebook
EleutherAI / gpt-neo
Sponsor Star 8.2kAn implementation of model parallel GPT-2 and GPT-3-style models using the mesh-tensorflow library.
transformers gpt language-model gpt-2 gpt-3- Updated Feb 25, 2022
- Python
Morizeyao / GPT2-Chinese
Star 7.6kChinese version of GPT2 training code, using BERT tokenizer.
nlp text-generation transformer chinese gpt-2- Updated Apr 25, 2024
- Python
lonePatient / awesome-pretrained-chinese-nlp-models
Star 5.6kAwesome Pretrained Chinese NLP Models,高质量中文预训练模型&大模型&多模态模型&大语言模型集合
nlp dataset chinese gpt pretrained-models pangu bert multimodel roberta gpt-2 ernie xlnet nezha nlu-nlg simbert large-language-models llm- Updated Aug 30, 2026
- Python
jaymody / picoGPT
Star 3.5kAn unnecessarily tiny implementation of GPT-2 in NumPy.
python nlp machine-learning deep-learning neural-network gpt gpt-2 large-language-models- Updated Apr 24, 2023
- Python
dbiir / UER-py
Star 3.1kOpen Source Pre-training Model Framework in PyTorch & Pre-trained Model Zoo
natural-language-processing model-zoo pytorch classification bart chinese gpt pegasus ner clue albert bert fine-tuning roberta elmo pre-training gpt-2 t5 unilm xlm-roberta- Updated May 9, 2024
- Python
guillaume-be / rust-bert
Star 3.1kRust native ready-to-use NLP pipelines and transformer-based models (BERT, DistilBERT, GPT2,...)
nlp rust machine-learning translation deep-learning sentiment-analysis transformer rust-lang question-answering bart gpt ner bert language-generation electra roberta gpt-2- Updated Jan 13, 2026
- Rust
yangjianxin1 / GPT2-chitchat
Star 3kGPT2 for Chinese chitchat/用于中文闲聊的GPT2模型
nlp text-generation transformer gpt-2 gpt2 dialogpt chichat dialogue-model- Updated Oct 30, 2023
- Python
stochasticai / xTuring
Star 2.7kBuild, 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
adapter deep-learning llama lora quantization language-model mistral fine-tuning peft finetuning mixed-precision gpt-2 gpt-j llm generative-ai gen-ai- Updated Dec 2, 2026
- Python
microsoft / DialoGPT
Star 2.4kLarge-scale pretraining for dialogue
machine-learning dialogue text-generation pytorch transformer data-processing text-data gpt-2 dialogpt- Updated Oct 17, 2022
- Python
asyml / texar
Star 2.4kToolkit for Machine Learning, Natural Language Processing, and Text Generation, in TensorFlow. This is part of the CASL project: http://casl-project.ai/
python machine-learning natural-language-processing deep-learning tensorflow machine-translation text-generation data-processing bert text-data dialog-systems gpt-2 texar xlnet casl-project- Updated Jul 21, 2026
- Python
BrikerMan / Kashgari
Star 2.4kKashgari is a production-level NLP Transfer learning framework built on top of tf.keras for text-labeling and text-classification, includes Word2Vec, BERT, and GPT2 Language Embedding.
nlp machine-learning text-classification named-entity-recognition seq2seq transfer-learning ner bert sequence-labeling nlp-framework bert-model text-labeling gpt-2- Updated Sep 3, 2024
- Python
guinmoon / LLMFarm
Star 2.1kllama and other large language models on iOS and MacOS offline using GGML library.
macos swift ios ai llama gpt-2 rwkv ggml gptneox starcoder- Updated Jan 30, 2026
- C
lxe / simple-llm-finetuner
Star 2kSimple UI for LLM Model Finetuning
ai pytorch llama peft gpt-2 huggingface huggingface-transformers gpt-3 llm- Updated Dec 21, 2023
- Jupyter Notebook
thu-coai / CDial-GPT
Star 2kA Large-scale Chinese Short-Text Conversation Dataset and Chinese pre-training dialog models
dialogue text-generation pytorch gpt gpt-2 lccc- Updated Jun 12, 2023
- Python
VHellendoorn / Code-LMs
Star 1.8kGuide to using pre-trained large language models of source code
deep-learning source-code gpt-2- Updated Jul 7, 2024
- Python
Add this topic to your repo
To associate your repository with the gpt-2 topic, visit your repo's landing page and select "manage topics."