CTranslate2 icon indicating copy to clipboard operation
CTranslate2 copied to clipboard

[feature request] Add more detailed outputs to score_batch()

Open vince62s opened this issue 1 year ago • 0 comments

Hello,

I know this is for a specific use-case but today the score_batch() function returns only the argmax() which enables only to score and get the logprob/perplexity of a sentence, file, ...

In a scenario where we need all scores for each word in the vocab to be able to use against an MT ouput, one could need the full detailed output, in the same format as the onmt-py generator.

whenever, if possible.

Thanks, Vincent

vince62s avatar Jul 20 '22 10:07 vince62s