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

How is the entity linking F1 calculated? #9

Closed
yhshu opened this issue May 22, 2022 · 4 comments
Closed

How is the entity linking F1 calculated? #9

yhshu opened this issue May 22, 2022 · 4 comments

Comments

@yhshu
Copy link

yhshu commented May 22, 2022

Hi there,
I've noticed that in the paper appendix, there's an entity linking evaluation.
I would like to ask how does the linking F1 gets calculated? Is the evaluation in this repo?

Since there're some questions in GrailQA that have no golden entity, and it is definitely possible that the linking result is empty for a question, how does the F1 calculation handles these problems?

Thanks for your reply.

@yhshu yhshu changed the title How does the entity linking F1 calculated? How is the entity linking F1 calculated? May 22, 2022
@xiye17
Copy link
Collaborator

xiye17 commented May 22, 2022

[no gt entities] and [no detected entities] -> f1 = 1.0
[no gt entities] and [exists detected entities] -> f1 = 0.0
[exists gt entities] and [no detected entities] -> f1 = 0.0
then it's the standard f1 evaluation in other case.

This evaluation process might be a bit different from the original GRAILQA one (they also reported entity linking performance ), but the differences should be subtle enough.

I can share the script for references in any case. Just shoot me an email if needed.

@yhshu
Copy link
Author

yhshu commented May 22, 2022

I got some little higher results.
Would you please provide a script? Thanks.

@xiye17
Copy link
Collaborator

xiye17 commented May 22, 2022

sent

@yhshu
Copy link
Author

yhshu commented May 22, 2022

Received, thanks.

@yhshu yhshu closed this as completed May 22, 2022
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