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
MaintainX is the world-leading mobile-first workflow management platform for industrial and frontline workers. Icon
MaintainX is the world-leading mobile-first workflow management platform for industrial and frontline workers.

Trusted by Operational Leaders Across the Globe

Your day-to-day maintenance tasks, simplified. MaintainX eliminates the paperwork, so you can spend less time on your clipboard and more time getting things done.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Texar!