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

Retrieving the wrong predictions #16

Open
debajit15kgp opened this issue Sep 17, 2020 · 1 comment
Open

Retrieving the wrong predictions #16

debajit15kgp opened this issue Sep 17, 2020 · 1 comment

Comments

@debajit15kgp
Copy link

Hey, great work!
I was trying to analyze the sentences where the model produces it incorrectly. However, the sentences have been converted into a matrix of features in glue_utils and later loss has been calculated. Could you provide me the step by step solution of how to just print the observed output , the predicted output, and the corresponding aspects?

Thanking you in advance

@lixin4ever
Copy link
Owner

Sorry for the late reply.

Within the function compute_metrics_absa, we calculate the predicted tags and the gold standard tags according to the corresponding numerical labels. You can set these tags as the additional return values of this function if you need them for further operations.

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