Skip to main content

An deep leaning util based on tensorflow

Project description

# mautil An deep learning util based on tensroflow. - easy to build model and do experiments - easy to debug - support for colab tpu - no need to transfer data to tf records(non tpu)

# requirements tensorflow >= 1.11

# Install pip install mautil

# Demo ## Text style transfer - There are two text style transfer models. CA is an implementation of the paper [Style Transfer from Non-Parallel Text byCross-Alignment](https://papers.nips.cc/paper/7259-style-transfer-from-non-parallel-text-by-cross-alignment.pdf). CAR model just use reinforcement learning to bypass gumbel softmax - run the text style transfer model in debug mode

python train.py -m CAR -dataset yelp -d

## TPU - see the [notebook](demo/colab/mautil_tfxl_colab_tpu.ipynb) about how to train a transformer-xl model for dataset wikitext103 - the demo is for colab cloud tpu, you need google cloud storage access to run the demo

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mautil-0.2.1.linux-x86_64.tar.gz (206.8 kB view hashes)

Uploaded Source

Built Distribution

mautil-0.2.1-py3-none-any.whl (102.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page