Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Passages with multiple answer spans #233

Open
TZeng20 opened this issue Sep 29, 2022 · 0 comments
Open

Passages with multiple answer spans #233

TZeng20 opened this issue Sep 29, 2022 · 0 comments

Comments

@TZeng20
Copy link

TZeng20 commented Sep 29, 2022

Hi,
I'm trying to implement the reader model training in Tensorflow. How does DPR deal with multiple answer spans in a positive passage?
Will there just be multiple positions labelled as the correct start/end position?

E.g. if there are 2 answer starts in a passage (h_i, h_j), would the model try to maximise the scores for tokens i and j using cross entropy loss?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant