transformers
9d7a0871 - Use _BaseAutoModelClass's register method (#24810)

Commit
2 years ago
Use _BaseAutoModelClass's register method (#24810) Switching _BaseAutoModelClass from_pretrained and from_config to use the register classmethod that it defines rather than using the _LazyAutoMapping register method directly. This makes use of the additional consistency check within the base model's register.
Author
Parents
Loading