-
Thomas Wolf authored
* Cleaner warning when loading pretrained models This make more explicit logging messages when using the various `from_pretrained` methods. It also make these messages as `logging.warning` because it's a common source of silent mistakes. * Update src/transformers/modeling_utils.py Co-authored-by:
Julien Chaumond <chaumond@gmail.com> * Update src/transformers/modeling_utils.py Co-authored-by:
Julien Chaumond <chaumond@gmail.com> * style and quality Co-authored-by:
Julien Chaumond <chaumond@gmail.com>
75e1eed8