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 to split single-triplet and multi-triplet #10

Open
suolyer opened this issue Oct 10, 2022 · 1 comment
Open

how to split single-triplet and multi-triplet #10

suolyer opened this issue Oct 10, 2022 · 1 comment

Comments

@suolyer
Copy link

suolyer commented Oct 10, 2022

hi~, nice work
I have some question. how to get the single-triplet dataset and multi-triplet dataset? Why is the accuracy rate used for single-triplet instead of F1? The model may obtain multiple triplets during prediction, or a single triplet cannot be generated. How to solve this situation?

@chiayewken
Copy link
Collaborator

Hi, for the single-triplet case, the model is restricted to one triplet prediction, hence we specifically use the accuracy metric which is equivalent to F1 in this case.

For the multi-triplet case, we do not have any constraints on the model prediction, hence the F1 metric is used which is consistent with other information extraction tasks.

For the single and multi-triplet datasets, the data processing steps for evaluation can be found here:

if mode == "single":

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