transformers
776855c7 - Fixing a regression with `return_all_scores` introduced in #17606 (#17906)

Commit
3 years ago
Fixing a regression with `return_all_scores` introduced in #17606 (#17906) Fixing a regression with `return_all_scores` introduced in #17606 - The legacy test actually tested `return_all_scores=False` (the actual default) instead of `return_all_scores=True` (the actual weird case). This commit adds the correct legacy test and fixes it. Tmp legacy tests. Actually fix the regression (also contains lists) Less diffed code.
Author
Parents
Loading