Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

What parameters use to get model 'bidaf_10.h5'? #12

Open
hemavatisaboo opened this issue Jun 19, 2019 · 2 comments
Open

What parameters use to get model 'bidaf_10.h5'? #12

hemavatisaboo opened this issue Jun 19, 2019 · 2 comments

Comments

@hemavatisaboo
Copy link

What parameters are used to train model 'bidaf_10.h5'? When I am trying to train the code, I am not getting that much accuracy. I used epochs=1000, steps_per_epoch=10, validation _steps=1.

@ParikhKadam
Copy link
Owner

The SQUAD v1.1 dataset contains more than 100000 question-answer pairs. You are training the model on only 10*1000=10000 pairs. That's not even a single iteration on the dataset. That's the reason you won't get accuracy.

For more analysis on SQUAD v1.1, you may look here - https://datarepository.wolframcloud.com/resources/SQuAD-v1.1

Reply if this solves your issue..

@r-baradaran
Copy link

The SQUAD v1.1 dataset contains more than 100000 question-answer pairs. You are training the model on only 10*1000=10000 pairs. That's not even a single iteration on the dataset. That's the reason you won't get accuracy.

For more analysis on SQUAD v1.1, you may look here - https://datarepository.wolframcloud.com/resources/SQuAD-v1.1

Reply if this solves your issue..

Hello, I have the same problem. I have run
!bidaf-keras --do_lowercase train --epochs=10 --batch_size=8 --save_model_per_epoch
but accuracy is very low (below 1%) and grow very slowly . what are the best parameters to train bidaf-keras to get good accuracy?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants