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

The NLP NER example only predicts correct Os #12

Open
rohun-tripathi opened this issue May 15, 2018 · 2 comments
Open

The NLP NER example only predicts correct Os #12

rohun-tripathi opened this issue May 15, 2018 · 2 comments

Comments

@rohun-tripathi
Copy link

Hi, the NER example has an accuracy of 0.82 or 0.78 after running for 10 epochs on the toy 10 values dataset. I was using this code to startup a NER task I have to do. It is just predicting 'O's. I checked on set of predictions at the end of the epochs and the I's and B's predicted were all wrong.

Use a score like F1 on the B/I to get a better idea.

Note -
I am not a student in the course. and I know it is supposed to be starter code, but the way it is presented, one expects that it'll work for the toy example.

@suragnair
Copy link
Collaborator

Is this the tensorflow or the pytorch version?

@rohun-tripathi
Copy link
Author

The PyTorch version

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