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

How to create our own weight file #2

Open
SaiPoojithaDubba opened this issue Apr 23, 2018 · 3 comments
Open

How to create our own weight file #2

SaiPoojithaDubba opened this issue Apr 23, 2018 · 3 comments

Comments

@SaiPoojithaDubba
Copy link

I am trying to create weight file for my data. Model is giving gibberish responses.

@oswaldoludwig
Copy link
Owner

As you can see in Line 3 of Algorithm 2, you have to train the model by teacher forcing first, then you are able to start the GAN training, otherwise the self conversation process doesn't succeed. I suggest to start with the pre-trained weights provided in https://github.com/oswaldoludwig/Seq2seq-Chatbot-for-Keras (the ones trained by teacher forcing).

@SaiPoojithaDubba
Copy link
Author

How to train by teacher forcing method?

@oswaldoludwig
Copy link
Owner

oswaldoludwig commented Apr 23, 2018

See train_bot.py in https://github.com/oswaldoludwig/Seq2seq-Chatbot-for-Keras . If you want to see the result of this GAN method (using the trained discriminator), you can run the file conversation_discriminator.py and compare to the performance of conversation.py, which was trained by teacher forcing.

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

No branches or pull requests

2 participants