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

Parameters of the model ? #14

Open
mohannadrateb opened this issue Apr 11, 2018 · 1 comment
Open

Parameters of the model ? #14

mohannadrateb opened this issue Apr 11, 2018 · 1 comment

Comments

@mohannadrateb
Copy link

Hi , i just had a question regarding the parameters of the model, did you put them imperially or did you use an optimization technique to choose the parameters of the model ?

Thanks !!

@oswaldoludwig
Copy link
Owner

oswaldoludwig commented Apr 12, 2018

Hi, this space is for issues, not questions, but I can answer your question: no, it wasn't arbitrary, I reserved a small fraction of the training set as a validation set to observe the cross-entropy during training (I also printed the validation answers to have a better feeling about performance). The variable n_test in line 34 of train_bot.py defines the amount of data reserved for this validation process, now it’s set to a small value because I have already found the best architecture of this model to use as chatbot (for other uses, such as translation or text summarization, it's better to re-evaluate the architecture, i.e. word embedding dimension, thought vector dimension, number of neurons and layers... ).

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