transformers
Fixing issue where generic model types wouldn't load properly with the pipeline
#18392
Merged

Fixing issue where generic model types wouldn't load properly with the pipeline #18392

Narsil
Narsil Adding a better error message when the model is improperly configured
d72ac387
Narsil
Narsil commented on 2022-08-01
Narsil Update src/transformers/pipelines/__init__.py
b53a8119
HuggingFaceDocBuilderDev
Narsil Black version.
fabc476b
Narsil Overriding task aliases so that tokenizer+feature_extractor
3d0f2f85
Narsil Fixing task aliases by overriding their names early
b50a2f71
Narsil X.
d1ccc2b0
Narsil Fixing feature-extraction.
288270b2
Narsil black again.
75d8f4af
Narsil Normalizing `translation` too.
998dd153
Narsil Fixing last few corner cases.
903ecb27
Narsil doc-builder fix.
169f34c5
Narsil Narsil requested a review from sgugger sgugger 3 years ago
sgugger
sgugger commented on 2022-08-02
Narsil Fixing the real issue.
2bfb93a9
Narsil Removing dead code.
d6febc82
Narsil
Narsil Narsil changed the title [Pipeline] Improving error message when `transformers` model is not correctly configured Fixing issue where generic model types wouldn't load properly with the pipeline 3 years ago
Narsil Narsil requested a review from sgugger sgugger 3 years ago
sgugger
sgugger commented on 2022-08-04
Narsil Do not import the actual config classes.
554bb3b5
sgugger
sgugger approved these changes on 2022-08-04
Narsil Narsil merged 586dcf6b into main 3 years ago
Narsil Narsil deleted the improve_error_message_when_transformers_is_misconfigured branch 3 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone