#353353rd of 433 in ML frameworks and libraries
texar
TensorFlow toolkit for text generation and NLP model building
Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts texar on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.texar is on your watch list. Its new releases and problems show there.
- Stars
- 2.4k
- License
- Apache-2.0
- Last commit
- Jul 2026
- Last release
- Nov 2019
- Language
- Python
2,383 on 27 Apr 20262,392 on 23 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Texar is a modular TensorFlow 1.x library for building text generation and other NLP models, with components for data loading, encoders, decoders, losses and agents. It supports maximum likelihood, adversarial and reinforcement learning, and wraps pretrained BERT, GPT2 and XLNet. A PyTorch sibling, texar-pytorch, is maintained in a separate repo.
Who it is for: Researchers prototyping TensorFlow 1.x text generation models
Strengths
- Same model can switch between MLE, adversarial and RL training with small code changes
- Wraps pretrained BERT, GPT2 and XLNet behind uniform module interfaces
- Multi-GPU distributed training and a documented examples directory
- Compatible with native TensorFlow APIs, so external modules can be plugged in
Weaknesses
- Requires tensorflow below 2.0 and tensorflow_probability below 0.8
- Needs Python 3.6 or 3.7 for versions above 0.2.3
- Last release was November 2019; pretrained model list stops at XLNet
- TensorFlow version is a separate codebase from the PyTorch port
What it needs
- GPU optional
- Needs tensorflow >=1.10,<2.0, tensorflow_probability >=0.3.0,<0.8.0, Python 3.6 or 3.7
- Models: BERT, GPT2, XLNet, Transformer encoder-decoder
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Also in ML frameworks and libraries
See all 433| Rank | Project | Score |
|---|---|---|
| #351 | gensimPython library for topic modelling and document similarity on large corpora | 29 out of 100 |
| #352 | deepoDockerfile generator and prebuilt images for deep learning environments | 29 out of 100 |
| #354 | arraymancerN-dimensional tensor library for Nim with autograd and a neural network DSL | 29 out of 100 |
| #355 | mishReference code and benchmarks for the Mish activation function | 29 out of 100 |
| #356 | pinnsReference code for physics-informed neural networks solving and discovering PDEs | 28 out of 100 |