Skip to main content

UNKNOWN

Project description

# word-level-rnn Word Level RNN for text generation using keras.

This is a project with a goal to make a Word Level Text generation using keras on Theano Framework. The code is based on the sample text generation character level code provided as a sample example at https://github.com/fchollet/keras/blob/master/examples/lstm_text_generation.py

I tried training it on chapters of The Game of Thrones (individually, because of memory constraints), seems coherent, please try and give me feedback.

#Read This: Since the code is done at word level instead of character level, it needs more epochs than the character level text generation counter part, as well as much more memory because it has to be trained on thousands of words, (unlike character level code where it’s only trained on 50-100 different characters (assuming ASCII).

Word level RNN text generation should in theory be more coherent then the Character level text generation at lesser amount of training. Suggestions and criticism are welcome to optimising and improve the code. thanks!

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

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

Source Distribution

WordLevelRNN-1.0.zip (2.7 kB view details)

Uploaded Source

Built Distribution

WordLevelRNN-1.0.win-amd64.exe (227.5 kB view details)

Uploaded Source

File details

Details for the file WordLevelRNN-1.0.zip.

File metadata

  • Download URL: WordLevelRNN-1.0.zip
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for WordLevelRNN-1.0.zip
Algorithm Hash digest
SHA256 755d8eb9b99145a3edf50fa5c02b3ca3c3f5c47e5086ebdebadaab6abf255f5d
MD5 620ebd0db3450088f108f7158867322d
BLAKE2b-256 7c8b6778ab7a159ef4f1611b49b1df03e4cf93801764b4d4314e272ddf61c7c9

See more details on using hashes here.

File details

Details for the file WordLevelRNN-1.0.win-amd64.exe.

File metadata

File hashes

Hashes for WordLevelRNN-1.0.win-amd64.exe
Algorithm Hash digest
SHA256 9e0098b9f4c01b44a1182007e51e6806f65b24a354e3fc12475bb77ea059ff83
MD5 97fc7dc98d4eff93f1ec8dd6074697d4
BLAKE2b-256 0f0131d8573d46a6b13b84b2935289cef170ef60d4eacc0858a286088dc97db7

See more details on using hashes here.

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