transformers
3b00b623
- Fix `top_k_top_p_filtering` having unexpected behavior (#17744)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
3 years ago
Fix `top_k_top_p_filtering` having unexpected behavior (#17744) - Fix `top_k_top_p_filtering` not passing `filter_value` to `TopPLogitsWarper` causing any top-p filtered logits to be -inf instead of specified value - Add corresponding test
References
#17744 - Fix `top_k_top_p_filtering` having unintended behavior
Author
unifyh
Parents
3ccff0d4
Loading