• Stars
    star
    357
  • Rank 119,149 (Top 3 %)
  • Language
    Python
  • License
    MIT License
  • Created almost 8 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Recurrent Variational Autoencoder that generates sequential data implemented with pytorch

Pytorch Recurrent Variational Autoencoder

Model:

This is the implementation of Samuel Bowman's Generating Sentences from a Continuous Space with Kim's Character-Aware Neural Language Models embedding for tokens

Sampling examples:

the new machine could be used to increase the number of ventures block in the company 's <unk> shopping system to finance diversified organizations

u.s. government officials also said they would be willing to consider whether the proposal could be used as urging and programs

men believe they had to go on the <unk> because their <unk> were <unk> expensive important

the companies insisted that the color set could be included in the program

Usage

Before model training it is necessary to train word embeddings:

$ python train_word_embeddings.py

This script train word embeddings defined in Mikolov et al. Distributed Representations of Words and Phrases

Parameters:

--use-cuda

--num-iterations

--batch-size

--num-sample –– number of sampled from noise tokens

To train model use:

$ python train.py

Parameters:

--use-cuda

--num-iterations

--batch-size

--learning-rate

--dropout –– probability of units to be zeroed in decoder input

--use-trained –– use trained before model

To sample data after training use:

$ python sample.py

Parameters:

--use-cuda

--num-sample

More Repositories

1

pytorch_NEG_loss

NEG loss implemented in pytorch
Python
125
star
2

pytorch_Highway

Highway network implemented in pytorch
Python
82
star
3

pytorch_TDNN

Time Delayed NN implemented in pytorch
Python
81
star
4

contiguous-succotash

Recurrent Variational Autoencoder with Dilated Convolutions that generates sequential data implemented in pytorch
Python
72
star
5

bdir_vae

simple implementation of "Improved Variational Inference with Inverse Autoregressive Flow" paper with pytorch
Python
53
star
6

variational_dropout

Implementation of "Variational Dropout and the Local Reparameterization Trick" paper with Pytorch
Python
50
star
7

bytenet

Pytorch implementation of bytenet from "Neural Machine Translation in Linear Time" paper
Python
47
star
8

hybrid_rvae

pytorch implementation of "A Hybrid Convolutional Variational Autoencoder for Text Generation" Paper
Python
36
star
9

amt

Adversarial Machine Translation with pytorch
Python
24
star
10

pytorch_GloVe

simple pytorch GloVe implementation
Python
17
star
11

attentive-translation

pytorch Transformer model with byte-pair encoding
Python
11
star
12

RGAN

Python
7
star
13

cvade

Conditional Variational Deep Embeddings
Python
6
star
14

am-cp-ml

Jupyter Notebook
4
star
15

ContRVAE

Contiguous Recurrent Variational Autoencoder
Python
3
star
16

vk_clustering

Python
2
star
17

functional-enigma

Transformer network for text summarizing
Python
2
star
18

spbu

SPbU iOS application
Swift
2
star
19

ptb_batchloader

Batchloader for Penn Treebank dataset
Python
2
star
20

zarya

Hyperbolic Neural Networks for PyTorch
Python
1
star
21

CDVAE

Python
1
star
22

mnist_cdvae

Π‘ross Domain Autoencoding Variational Bayes Algorithm on MNIST
Python
1
star