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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Various autoencoder for text data.
text_autoencoder.variational_autoencoders import VAEXXX
l = VAEXXX(n_steps=..., latent_size=..., state_size=..., ...)
l.fit(x=..., mask=..., epochs=10)
l.save(output_path)
z
l.get_latent_vector(x=..., mask=..., batch_size=1)
l.encode(x=..., mask=..., batch_size=1)
l.load(path)
get the output_dir you input when calling model.fit
monitor training loss
nsorboard --logdir="<output_dir>/summary/subtrain/"
monitor validation loss
nsorboard --logdir="<output_dir>/summary/valid/"