minimaxir/gpt-2-simple
Python package to easily retrain OpenAI's GPT-2 text-generating model on new texts observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2699
- days_rel: n/a
- days_push: 1358
- n_releases_24m: 0
Adoption not part of the score
3400 stars · 666 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Python package that simplifies fine-tuning OpenAI's GPT-2 text-generation model (124M/355M) on custom text and generating text from the retrained model, built on TensorFlow. Development has largely been superseded by the same author's aitextgen.
Use cases
- fine-tune gpt-2 on my own text corpus
- generate text with a retrained gpt-2 model
- train a small language model on a custom dataset
- generate text continuations from a prompt prefix
- run gpt-2 training in a colab notebook
When to choose
- you specifically need TensorFlow-based GPT-2 fine-tuning
- you want a simple, scriptable API for retraining and generating with GPT-2
- you have existing gpt-2-simple checkpoints to continue using
When to avoid
- you want modern, efficient LLM fine-tuning - use aitextgen or Hugging Face transformers instead
- you need models larger than GPT-2 medium (355M)
- you want actively developed features or PyTorch support
Facets
library · maturity maintenance
llm-training llm-inference machine-learning deep-learning large-language-models deep-learning machine-learning python cross-platform gpt-2 fine-tuning text-generation tensorflow superseded-by-aitextgen natural-language-processing gpu
2 sources
- readme: https://github.com/minimaxir/gpt-2-simple · fetched 2026-08-28 · 74e8a5971b3e
- registry_pypi: https://pypi.org/pypi/gpt-2-simple/json · fetched 2026-08-29 · fec1b3b1b82a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| minimaxir/gpt-2-simple | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="minimaxir/gpt-2-simple")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem