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.

62
/ 100
Established

Built on Keras/TensorFlow, textgenrnn implements character- or word-level RNNs with modern architectural improvements including attention-weighting, skip connections, and optional contextual label training to accelerate convergence. The framework leverages CuDNN-optimized LSTM implementations for GPU training while supporting CPU inference, and includes pretrained weights (2 MB) derived from diverse Reddit data that can be fine-tuned on new datasets with momentum-based optimization and learning rate decay to prevent gradient instability.

4,931 stars and 204 monthly downloads. No commits in the last 6 months. Available on PyPI.

Stale 6m No Dependents
Maintenance 0 / 25
Adoption 15 / 25
Maturity 25 / 25
Community 22 / 25

How are scores calculated?

Stars

4,931

Forks

738

Language

Python

License

Last pushed

Jul 17, 2022

Monthly downloads

204

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/minimaxir/textgenrnn"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.