gpt-2

Open repos and models their makers tagged gpt-2, most starred first. The same for everyone.

Language and translationRepo

RWKV-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 kv-cache), fast training, infinite ctx_len, and free sentence embedding.

  • 15k
  • Python
  • Apache-2.0
  • 3 wk ago
BlinkDLTake it
Images and videoRepo

VAR

[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!

  • 8.8k
  • Jupyter Notebook
  • MIT
  • 13 mo ago
AI on my own machineRepo

texar

Toolkit for Machine Learning, Natural Language Processing, and Text Generation, in TensorFlow. This is part of the CASL project: http://casl-project.ai/

  • 2.4k
  • Python
  • Apache-2.0
  • 4 mo ago
asymlTake it
Language and translationRepo

Kashgari

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

  • 2.4k
  • Python
  • Apache-2.0
  • 2 y ago
BrikerManTake it
Language and translationRepo

gpt2-ml

GPT2 for Multiple Languages, including pretrained models. GPT2 多语言支持, 15亿参数中文预训练模型

  • 1.7k
  • Python
  • Apache-2.0
  • 4 y ago
imcasparTake it
GitHubRepo

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

  • 862
  • TypeScript
  • MIT
  • 13 d ago
niieaniTake it
AI on my own machineRepo

NamiGPT

零基础入门大模型(LLM)的基础教程:从零手写 GPT-2,一行行看懂大模型是怎么工作的 | Build GPT-2 from scratch in PyTorch, step by step

  • 290
  • Python
  • MIT
  • 4 wk ago
aa1143Take it

Show 8 more

Search GitHub and Hugging Face for gpt-2

Get , open it once and sign in. Then come back here and press the button again.