Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update poem-generator #1

Open
wants to merge 51 commits into
base: master
Choose a base branch
from
Open

Update poem-generator #1

wants to merge 51 commits into from

Conversation

tfavory
Copy link

@tfavory tfavory commented Oct 4, 2018

add rhyme generator (code and notebook)
add corpus_cleaner.py

tfavory added 30 commits October 4, 2018 21:38
project update
First attempt GRU and LSTM
minor changes
Short description of the training algorithms
Uploaded the poem and rhyme generators
Upload the corpus.txt and rhymes.txt
Delete corpus.txt from the root
One can still find it in the folder model_training
New version in folder model_training
New version in folder model_training as a notebook
Can be found in model_training
Relocate and rename corpus_cleaner.py into corpus2rhymes
corpus_cleaner.py cleans the corpus, but also creates rhymes, hence the name change
Upload the poem generator notebook

Weights yet to come
A new version is in the folder model_training
Minor changes
Minor change
Minor change
Doomed to change. This way of saving model is both inefficient and ugly
quick update
Minor update for poem_generator.ipynb
Upload corpus and rhymes, necessary for poem_generator.ipynb
Delete word2idx_rhymes.npy to change loading process
Delete rhymes.txt to change loading process
Delete idx2word_rhymes.npy to change loading process
Delete idx2char_poems.npy to change loading process
Delete hyperparameters_rhymes.npy to change loading process
Delete hyperparameters_poems.npy to change loading process
Delete gru_weights_rhymes.npy to change loading process
Delete gru_weights_poems.npy to change loading process
Delete fc_weights_rhymes.npy to change loading process
Delete fc_weights_poems.npy to change loading process
Delete embedding_weights_rhymes.npy to change loading process
Delete embedding_weights_poems.npy to change loading process
Delete corpus.txt from root to change loading process
Delete char2idx_poems.npy to change loading process
Quick update with a better saving/loading process
Update training models for both rhymes and poems: rhyme_model.ipynb and poem_model.ipynb
Update poem generator notebook: poem_generator.ipynb
Upload the poem model (parameters, weights):  model_poems.npy

Note: rhymes model is too heavy for GitHub online
Upload some poems for Edgar Allan Poe
Quick update of README.md
Add speech_to_poem.py.
First, this script converts the user's speech to text. This text will be a seed for our poem generator. Once the poem created, the script 'recites' the poem.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant