Texar is a toolkit aiming to support a broad set of machine learning, especially natural language processing and text generation tasks. Texar provides a library of easy-to-use ML modules and functionalities for composing whatever models and algorithms. The tool is designed for both researchers and practitioners for fast prototyping and experimentation. Texar was originally developed and is actively contributed by Petuum and CMU in collaboration with other institutes. A mirror of this repository is maintained by Petuum Open Source. Two Versions, (Mostly) Same Interfaces. Texar-TensorFlow (this repo) and Texar-PyTorch have mostly the same interfaces. Both further combine the best design of TF and PyTorch. Rich Pre-trained Models, Rich Usage with Uniform Interfaces. BERT, GPT2, XLNet, etc, for encoding, classification, generation, and composing complex models with other Texar components!

Features

  • Interfaces and variable sharing in PyTorch convention
  • Excellent factorization and rich functionalities in TF convention
  • Free to plug in whatever external modules, since Texar is fully compatible with the native TF/PyTorch APIs
  • Encoder(s) to decoder(s), sequential- and self-attentions, memory, hierarchical models, classifiers
  • Maximum likelihood learning, reinforcement learning, adversarial learning, probabilistic modeling
  • Distributed model training with multiple GPUs

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow Texar

Texar Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Texar!