Compute probability of target sentences given an input
I need to test the probabilities that the model would produce certain outputs. Let me give you an example:
I have a source sentence X, and several possible target sentences Y1, Y2, Y3, Y4 , ... 

I want to know if I can compute the probability that the model would give to each of the translation Y, given X. 
Is there a function to compute these values?
Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.
Could you ask your question on the [forum](https://discusss.huggingface.co) instead?

Thanks!<|||||>This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md) are likely to be ignored.