Texar: A Modularized, Versatile, and Extensible Toolkit for Text Generation

Zhiting Hu, Haoran Shi, Bowen Tan, Wentao Wang, Zichao Yang +10 more
9/4/2018
59 citations
cs.CLcs.AIcs.LG

Official code: asyml/texar (2,392 stars, Python, Apache-2.0, TensorFlow, last commit 2021-08-26).

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 allows arbitrary model architectures and algorithmic paradigms.

Show full abstract

In Texar, model architecture, inference, and learning processes are properly decomposed. Modules at a high concept level can be freely assembled and plugged in/swapped out. The toolkit also supports a rich set of large-scale pretrained models. 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.

View on arXivView PDF

Code Implementations(1)

asyml/texarOfficial100%
TensorFlowApache-2.0

Toolkit for Machine Learning, Natural Language Processing, and Text Generation, in TensorFlow. This is part of the CASL project: http://casl-project.ai/

2,392367Python, PerlJul 22, 20175 years agoApache-2.0
bertcasl-projectdata-processingdeep-learningdialog-systems+10 more

Similar Papers

Cite this paper

@article{hu2018texar,
  title  = {Texar: A Modularized, Versatile, and Extensible Toolkit for Text Generation},
  author = {Zhiting Hu and Haoran Shi and Bowen Tan and Wentao Wang and Zichao Yang and Tiancheng Zhao and Junxian He and Lianhui Qin and Di Wang and Xuezhe Ma and Zhengzhong Liu and Xiaodan Liang and Wangrong Zhu and Devendra Singh Sachan and Eric P. Xing},
  year   = {2018},
  eprint = {1809.00794},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1809.00794}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1809.00794.svg)](https://codeofpaper.com/paper/1809.00794)

Discussion