transformers
8e0d3b42 - Add defensive check for config num_labels and id2label (#16709)

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
Author
Parents
Loading