minimaxir/textgenrnn
Easily train your own text-generating neural network of any size and complexity on any text dataset with a few lines of code. 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: 3314
- days_rel: n/a
- days_push: 1508
- n_releases_24m: 0
Adoption not part of the score
4922 stars · 731 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Python 3 library built on Keras/TensorFlow for easily training char-rnn style neural networks that generate text from any dataset in a few lines of code. It supports character- and word-level generation, attention weighting, bidirectional RNNs, and pretrained models.
Use cases
- generate text in the style of a corpus
- train a char-rnn on a text file
- create a fake Hacker News headline generator
- train a small text-generating neural network with a few lines of code
- generate tweets or titles from a dataset
- experiment with RNN text generation in a Colab notebook
When to choose
- you want quick, low-effort text generation from a custom dataset
- you need a small (~2MB) model that trains fast and runs on CPU
- you want character- or word-level generation with minimal code
- you are prototyping or teaching RNN text generation
When to avoid
- you need modern transformer-based language models
- you need production-grade, actively maintained NLP tooling
- you need fine control over model architecture beyond RNN options
- you require long-term support, as the project is largely in maintenance
Facets
library · maturity maintenance
machine-learning deep-learning nlp deep-learning machine-learning python cross-platform text-generation char-rnn keras tensorflow rnn language-model natural-language-processing gpu
2 sources
- readme: https://github.com/minimaxir/textgenrnn · fetched 2026-08-28 · d8f74cf8c4cc
- registry_pypi: https://pypi.org/pypi/textgenrnn/json · fetched 2026-08-29 · f9ebb578b98e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| minimaxir/textgenrnn | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="minimaxir/textgenrnn")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem