Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better key error for AutoConfig (huggingface#27976)
* Improve the error printed when loading an unrecognized architecture * Improve the error printed when loading an unrecognized architecture * Raise a ValueError instead because KeyError prints weirdly * make fixup
- Loading branch information