TextBox: A Unified, Modularized, and Extensible Framework for Text Generation
arXiv:2101.02046
Abstract
In this paper, we release an open-source library, called TextBox, to provide a unified, modularized, and extensible text generation framework. TextBox aims to support a broad set of text generation tasks and models. In our library, we implement 21 text generation models on 9 benchmark datasets, covering the categories of VAE, GAN, and pretrained language models. Meanwhile, our library maintains sufficient modularity and extensibility by properly decomposing the model architecture, inference, and learning process into highly reusable modules, which allows users to easily incorporate new models into our framework. The above features make TextBox specially suitable for researchers and practitioners to quickly reproduce baseline models and develop new models. TextBox is implemented based on PyTorch, and released under Apache License 2.0 at https://github.com/RUCAIBox/TextBox.
arXiv comment9 pages, 2 figures, 4 tables. For our GitHub page, see https://github.com/RUCAIBox/TextBox
References in corpus (7)
- PyTorch: An Imperative Style, High-Performance Deep Learning Library
- Deep Reinforcement Learning for Dialogue Generation
- A Survey of Knowledge-Enhanced Text Generation
- Maximum-Likelihood Augmented Discrete Generative Adversarial Networks
- Adversarial Ranking for Language Generation
- Context-aware Natural Language Generation with Recurrent Neural Networks
- Plato Dialogue System: A Flexible Conversational AI Research Platform