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

It shows only one label result #14

Open
tarkanoz opened this issue Aug 24, 2019 · 2 comments
Open

It shows only one label result #14

tarkanoz opened this issue Aug 24, 2019 · 2 comments

Comments

@tarkanoz
Copy link

tarkanoz commented Aug 24, 2019

Hi,

I've create dataset with 5 label (person, location, date, time, counrty) using dataturks NER tagging and i trained my model using dataturks to scapy and train scapy scripts.

I get results but its returning only Person label result. I re-run script few time than i get date and person label sometimes.

Also i realized that if i use 'testdata.json' (project test data) i get results for all labels even if i trained the model with my own data.

I couldnt find what can be reason for it.

Code: https://paste.ubuntu.com/p/7G28brTWgv/

Train File: https://paste.ubuntu.com/p/GGTFdGbHDN/
Test File: https://paste.ubuntu.com/p/29XWP6MRrp/

@omerarshad
Copy link

Did you find a solution to this? I am also facing same issue

@NishuKumar
Copy link

I faced same issue when I tried to use the same example on invoices.However I have different templates of invoices so for some templates after providing more than 200 data it worked i.e started showing atleast 3 labels out of four i gave as input.For some templates it doesn't show more than 1 label.Also for less no of data i.e 60 or 80 training set it shows only one label for me as well.

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

3 participants