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

Steps needed to train the model #3

Open
ashakodali opened this issue Dec 14, 2017 · 2 comments
Open

Steps needed to train the model #3

ashakodali opened this issue Dec 14, 2017 · 2 comments

Comments

@ashakodali
Copy link

 Hi,i trained the model with 1000 steps but result is as below

Predicted headline:
contention Stefano Stefano Stefano Stefano Stefano Stefano contention contention contention

Actual headline:
Williams says he will never quit

can i know how many steps needed to get exact results??
And also provide me the dataset link that you used in your code which you converted to .pkl file

@Nemzy
Copy link
Owner

Nemzy commented Dec 15, 2017

Hi @ashakodali ,
Well number of steps that you should use depends on how big is your dataset. Ideally you should train the model with at least 10 epochs so NUM_STEPS = EPOCHS * NUM_SAMPLES / BATCH_SIZE.
Dataset url is specified in data_utils.py at the top of file.

@ashakodali
Copy link
Author

ashakodali commented Dec 15, 2017

Hi i used same data.pkl file ,same code whatever you used without any change i trained it with 1000steps even though results are as below

Predicted headline:
contention Stefano Stefano Stefano Stefano Stefano Stefano contention contention contention

Actual headline:
Williams says he will never quit

can you tell me how many steps needed to get related predicted headline and actual headline same?
can we change hyperparameters also

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