Conversion of [Model]ForSequenceClassification logits to probabilities
## ❓ Questions & Help

<!-- A clear and concise description of the question. -->

I noticed that whenever I would convert logits coming from the model to probabilities using the following equation:

probability = e^logit/(1 + e^logit)

The probabilities for my two classes do not add up to 1. Why is this?

Logits are the classification scores before softmax.
I don't see why the results of your equation should add up to 1.
You may try to use the softmax function directly.<|||||>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.
