transformers
8e0d3b42
- Add defensive check for config num_labels and id2label (#16709)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
4 years ago
Add defensive check for config num_labels and id2label (#16709) * Add defensive check for config num_labels and id2label * Actually check value... * Only warning inside init plus better error message
References
#16709 - Add defensive check for config num_labels and id2label
Author
sgugger
Parents
6bed0647
Loading