textgenrnn
FreeEasily train your own text-generating neural network of any size and complexity on any text dataset with a few lines of code.
About textgenrnn
textgenrnn is an open-source Python library designed to simplify the process of training and generating text with recurrent neural networks. Built on top of Keras and TensorFlow, it allows users to create text-generating models of varying size and complexity using just a few lines of code. The library supports training on any text dataset, making it accessible for tasks ranging from creative writing to data augmentation. As an open-source tool hosted on GitHub, it is freely available for modification and distribution under the MIT license.
Key Features
Pros & Cons
- Free and open-source with no usage limits
- Simple API requiring only a few lines of code
- Flexible model architecture (size and complexity adjustable)
- Active community and documentation on GitHub
- Requires Python and familiarity with machine learning concepts
- Training can be computationally intensive for large datasets
- Output quality depends heavily on training data and model tuning
- Limited to text generation; does not handle images, audio, or video
Best For
Alternatives to textgenrnn
CDial-GPT
A Large-scale Chinese Short-Text Conversation Dataset and Chinese pre-training dialog models
ChatLM-mini-Chinese
中文对话0.2B小模型(ChatLM-Chinese-0.2B),开源所有数据集来源、数据清洗、tokenizer训练、模型预训练、SFT指令微调、RLHF优化等流程的全部代码。支持下游任务sft微调,给出三元组信息抽取微调示例。
Chat-Haruhi-Suzumiya
Chat凉宫春日, An open sourced Role-Playing chatbot Cheng Li, Ziang Leng, and others.
DialoGPT
Large-scale pretraining for dialogue
GPT2-Chinese
Chinese version of GPT2 training code, using BERT tokenizer.
gpt-2-simple
Python package to easily retrain OpenAI's GPT-2 text-generating model on new texts