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

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

4 Sep 2018ACL 2019 7arXiv:1809.00794archive 2025-07-28

Zhiting Hu, Haoran Shi, Bowen Tan, Wentao Wang, Zichao Yang, Tiancheng Zhao, Junxian He, Lianhui Qin, Di Wang, Xuezhe Ma, Zhengzhong Liu, Xiaodan Liang, Wangrong Zhu, Devendra Singh Sachan, Eric P. Xing

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. 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.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1809.00794")

Code

Syntology Ran 0 of 12 code samples harvested from 2 repositories linked to this paper; 12 have no recorded run.

By repository: community (archive-listed): 12 samples from 2 repositories, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

asyml/texar officialmentioned in papermentioned on GitHubtfApache-2.0 report
asyml/texar-pytorch mentioned on GitHubpytorchApache-2.0 report
eff-kay/temp-texar-repo mentioned on GitHubtfApache-2.0 report
tanyuqian/texar-pytorch mentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

12 samples harvested; 0 ran; 0 honoured the contract we drafted; 12 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

12unverified

Licence: 0 of the 12 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

binary_adversarial_losses eff-kay/temp-texar-repo/texar/losses/adv_losses.py community (archive-listed) unverified Apache-2.0 (permissive) · 7be74c990e82bf0c · report
get_rnn_cell_trainable_variables eff-kay/temp-texar-repo/texar/core/layers.py community (archive-listed) unverified Apache-2.0 (permissive) · 0473c1f7b7625eef · report
hardmax asyml/texar-pytorch/texar/torch/core/attention_mechanism_utils.py community (archive-listed) unverified Apache-2.0 (permissive) · d5cec307427d9e0e · report
identity asyml/texar-pytorch/texar/torch/core/layers.py community (archive-listed) unverified Apache-2.0 (permissive) · 9653005aa6ef8e44 · report
kl_divg_loss_with_logits asyml/texar-pytorch/texar/torch/losses/info_loss.py community (archive-listed) unverified Apache-2.0 (permissive) · cba8e70beb916ef1 · report
l1 asyml/texar-pytorch/texar/torch/core/regularizers.py community (archive-listed) unverified Apache-2.0 (permissive) · 4e46a8c29447d006 · report
l1_l2 asyml/texar-pytorch/texar/torch/core/regularizers.py community (archive-listed) unverified Apache-2.0 (permissive) · cb53333219376a6d · report
l2 asyml/texar-pytorch/texar/torch/core/regularizers.py community (archive-listed) unverified Apache-2.0 (permissive) · 504c4f1f2d5dd1ad · report
reduce_batch_time asyml/texar-pytorch/texar/torch/losses/losses_utils.py community (archive-listed) unverified Apache-2.0 (permissive) · cc510f94510c4113 · report
reduce_batch_time eff-kay/temp-texar-repo/texar/losses/losses_utils.py community (archive-listed) unverified Apache-2.0 (permissive) · cf2417554b269567 · report
reduce_dimensions eff-kay/temp-texar-repo/texar/losses/losses_utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 969098d450751076 · report
wrap_builtin_cell asyml/texar-pytorch/texar/torch/core/cell_wrappers.py community (archive-listed) unverified Apache-2.0 (permissive) · 0b155fce843aab77 · report

Tasks

Machine TranslationText GenerationTranslation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections