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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Texar!