-
Notifications
You must be signed in to change notification settings - Fork 20
calculating loss per token #9
Copy link
Copy link
Open
Description
Hi,
I am looking into the baseline code for calculating the likelihood of the generation, and not sure why in this line it was the loss within this range [-SUFFIX_LEN-1:-1] is considered. I thought it should be loss in [-SUFFIX_LEN:] is considered as it was the first prefix token's loss excluded, so the losses at the last 50 positions should be the losses for the 50 generated tokens.
Maybe I misunderstood tough! Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels