Allennlp: Multiple prediction spans from machine comprehension (BiDAF)?

Created on 24 Nov 2018  路  3Comments  路  Source: allenai/allennlp

Hi,

Now the predictor of BiDAF machine comprehension returns one passage span with highest score. Can I use it to return a list of span with decreasing scores, starting from the highest one?

Thanks a lot,
Qiao

Most helpful comment

BiDAF returns the start and end probabilities for each span, which can you use to compute this.

All 3 comments

BiDAF returns the start and end probabilities for each span, which can you use to compute this.

@matt-gardner Thanks! I mistakenly thought prob of span end should be dependent on the start, so I was looking for a matrix. It turned out that they are independent in BiDAF setting.

BiDAF returns the start and end probabilities for each span, which can you use to compute this.

Is there any way that I can compute the span score for the bidaf allennlp model?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MeiqiGuo picture MeiqiGuo  路  4Comments

windweller picture windweller  路  5Comments

maksym-del picture maksym-del  路  4Comments

silencemaker picture silencemaker  路  4Comments

flyaway1217 picture flyaway1217  路  4Comments