You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
why the loss use log_pointer_score not argmax_pointer,but train_accuracy use argmax_pointer
unrolled = log_pointer_score.view(-1, log_pointer_score.size(-1))
loss = F.nll_loss(unrolled, target.view(-1), ignore_index=-1)
The text was updated successfully, but these errors were encountered:
why the loss use log_pointer_score not argmax_pointer,but train_accuracy use argmax_pointer
unrolled = log_pointer_score.view(-1, log_pointer_score.size(-1))
loss = F.nll_loss(unrolled, target.view(-1), ignore_index=-1)
The text was updated successfully, but these errors were encountered: