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

Stars
2.4k
License
Apache-2.0
Last commit
Jul 2026
Last release
Nov 2019
Language
Python
Stars, last 30 weeks+9
27 Apr 2026: 2,383 stars4 May 2026: 2,383 stars11 May 2026: 2,384 stars18 May 2026: 2,384 stars25 May 2026: 2,384 stars1 Jun 2026: 2,384 stars8 Jun 2026: 2,385 stars15 Jun 2026: 2,385 stars22 Jun 2026: 2,385 stars29 Jun 2026: 2,385 stars6 Jul 2026: 2,386 stars13 Jul 2026: 2,386 stars20 Jul 2026: 2,386 stars27 Jul 2026: 2,386 stars3 Aug 2026: 2,387 stars10 Aug 2026: 2,387 stars17 Aug 2026: 2,387 stars24 Aug 2026: 2,387 stars31 Aug 2026: 2,387 stars7 Sept 2026: 2,387 stars14 Sept 2026: 2,387 stars21 Sept 2026: 2,388 stars28 Sept 2026: 2,388 stars5 Oct 2026: 2,388 stars12 Oct 2026: 2,388 stars19 Oct 2026: 2,390 stars26 Oct 2026: 2,390 stars2 Nov 2026: 2,391 stars9 Nov 2026: 2,391 stars16 Nov 2026: 2,391 stars23 Nov 2026: 2,392 stars

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
Also in ML frameworks and libraries
RankProjectScore
#351gensimPython library for topic modelling and document similarity on large corpora16.5k starsLGPL-2.1no commits in a year29 out of 100
#352deepoDockerfile generator and prebuilt images for deep learning environments6.3k starsMIT29 out of 100
#354arraymancerN-dimensional tensor library for Nim with autograd and a neural network DSL1.4k starsApache-2.029 out of 100
#355mishReference code and benchmarks for the Mish activation function Live demo ↗ (opens in a new tab)1.3k starsMIT29 out of 100
#356pinnsReference code for physics-informed neural networks solving and discovering PDEs6.3k starsMIT28 out of 100