Do not softmax when num_labels==1 (#7726)
* Do not softmax when num_labels==1 * Update src/transformers/pipelines.py Co-authored-by:Funtowicz Morgan <mfuntowicz@users.noreply.github.com> Co-authored-by:
Funtowicz Morgan <mfuntowicz@users.noreply.github.com>
Showing
Please register or sign in to comment