Abstract

We introduce Texar, an open-source toolkit aiming to support the broad set of text generation tasks that transform any inputs into natural language, such as machine translation, summarization, dialog, content manipulation, and so forth. With the design goals of modularity, versatility, and extensibility in mind, Texar extracts common patterns underlying the diverse tasks and methodologies, creates a library of highly reusable modules and functionalities, and allows arbitrary model architectures and algorithmic paradigms. In Texar, model architecture, inference, and learning processes are properly decomposed. Modules at a high concept level can be freely assembled or plugged in/swapped out. Texar is thus particularly suitable for researchers and practitioners to do fast prototyping and experimentation. The versatile toolkit also fosters technique sharing across different text generation tasks. Texar supports both TensorFlow and PyTorch, and is released under Apache License 2.0 at https://www.texar.io. © 2019 All rights reserved.

Keywords

Programming languageComputer scienceExtensibilitySoftware engineering

Affiliated Institutions

Related Publications

Publication Info

Year
2019
Type
preprint
Pages
159-164
Citations
47
Access
Closed

External Links

Social Impact

Social media, news, blog, policy document mentions

Citation Metrics

47
OpenAlex

Cite This

Zhiting Hu, Haoran Shi, Bowen Tan et al. (2019). Texar: A Modularized, Versatile, and Extensible Toolkit for Text Generation. , 159-164. https://doi.org/10.18653/v1/p19-3027

Identifiers

DOI
10.18653/v1/p19-3027