Fix AttributeError in huggingface.py When 'model_type' is Missing (#1489)
* model_type attribute error
Getting attribute error when using a model without a 'model_type'
* fix w/ and w/out the 'model_type' specification
* use getattr(), also fix other config.model_type reference
* Update huggingface.py
---------
Co-authored-by:
Hailey Schoelkopf <65563625+haileyschoelkopf@users.noreply.github.com>
Showing
Please register or sign in to comment