Yoctol/text-autoencoder

Name: text-autoencoder

Owner: YOCTOL INFO INC.

Description: Various autoencoder for text data.

Created: 2018-04-17 08:24:33.0

Updated: 2018-05-08 09:47:23.0

Pushed: 2018-05-08 09:47:26.0

Homepage: null

Size: 33

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

text-autoencoder

Various autoencoder for text data.

Usage
Grab one autoencoder first
 text_autoencoder.variational_autoencoders import VAEXXX
l = VAEXXX(n_steps=..., latent_size=..., state_size=..., ...)
How to train
How to save model
l.save(output_path)
How to get latent vector z
l.get_latent_vector(x=..., mask=..., batch_size=1)
How to get output of encoder
l.encode(x=..., mask=..., batch_size=1)
How to load a trained model
l.load(path)
How to monitor the training process

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.