How is the "sequences_scores" field in the "generate()" method calculated?
I’d like to compute the sequences_scores for arbitrary sequences that aren’t necessarily beam search outputs so I want to understand what this computation is doing. Looking at the numbers it seems like the sequences_scores are different from the losses.
2023-02-15T10:40:43Z
Hi@brianbarghThe scores and the losses are different things – the former is akin to probabilities, while the latter depends on which loss you’ve picked for your model.Seethis threadfor the discussion about the computation ofsequence_scores