-
Notifications
You must be signed in to change notification settings - Fork 118
Open
Description
Why we want to use gen_upper_triangle like
Line 80 in adef469
| Get upper triangle matrix from start and end scores (batch) |
instead of just calculating start_loss and end_loss separately like
start_loss = loss_fct(start_logits, start_positions)
end_loss = loss_fct(end_logits, end_positions)Metadata
Metadata
Assignees
Labels
No labels