output probabilities of generated sequences in generate function
# 🚀 Feature request

output probabilities of generated sequences in generate function (generation utils)

thank you so much! :)
Duplicate of https://github.com/huggingface/transformers/issues/3891<|||||>Actually, those issues are different and we should probably provide this functionality!<|||||>This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
<|||||>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.