# How to get the output probabilities from T0 decoding output?

**URL:** <https://discuss.huggingface.co/t/how-to-get-the-output-probabilities-from-t0-decoding-output/25235>\
**Category:** 🤗Transformers\
**Created:** [October 30, 2022, 10:01pm UTC](https://discuss.huggingface.co/t/how-to-get-the-output-probabilities-from-t0-decoding-output/25235 "2022-10-30T22:01:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tanjiro817](https://avatars.discourse-cdn.com/v4/letter/t/bc79bd/32.png) [@tanjiro817](https://discuss.huggingface.co/u/tanjiro817)\
**Post date:** [October 30, 2022, 10:01pm UTC](https://discuss.huggingface.co/t/how-to-get-the-output-probabilities-from-t0-decoding-output/25235/1 "2022-10-30T22:01:11Z")

</div>

Hello, I am trying to run prompts on T0, is there a way I can get the output probabilities?  
Example: for the given prompt I want to calculate P(positive|prompt): Is this review positive or negative? Review: this is the best cast iron skillet you will ever buy
