Can you tell me what is the forward_labeld and foward_unlabeld?
zshy1205 opened this issue · 3 comments
zshy1205 commented
Can you give some advice about read your code?
why the loss use forward_labeld and foward_unlabeld?
mxc19912008 commented
This might be helpful: #4 (comment)
zshy1205 commented
Thanks
allanj commented
Thanks @mxc19912008 . To briefly elaborate more about this: forward_labeled
calculates the score (in log-space) corresponds to the gold path. forward_unlabeled
calculate the sum of the scores (in log-space) that corresponds to all the possible paths.