Thanks to visit codestin.com
Credit goes to github.com

Skip to content

petetanru/char-rnn_pytorch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Text Generation Char-RNN with Pytorch

Let's try to implement Andrej's minmal char-RNN to generate text in Pytorch! The difference is that we'll use LSTM layers instead of vanilla RNN, and we'll do it in batches with GPU.

Why Pytorch? I have also implemented this in Keras with Tensorflow as backend and Pytorch is around 3x faster.

Compared to the Intermediate RNN tutorials on Pytorch's website, the main difference is that this implementation takes advantage of the GPU, by taking in multiple words/characters at a time, and in batches.

Click here to check it out!

About

char-rnn with pytorch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published