Fixing issue where generic model types wouldn't load properly with the pipeline #18392
Adding a better error message when the model is improperly configured
d72ac387
Narsil
commented
on 2022-08-01
Update src/transformers/pipelines/__init__.py
b53a8119
Black version.
fabc476b
Overriding task aliases so that tokenizer+feature_extractor
3d0f2f85
Fixing task aliases by overriding their names early
b50a2f71
X.
d1ccc2b0
Fixing feature-extraction.
288270b2
black again.
75d8f4af
Normalizing `translation` too.
998dd153
Fixing last few corner cases.
903ecb27
doc-builder fix.
169f34c5
Fixing the real issue.
2bfb93a9
Removing dead code.
d6febc82
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
Do not import the actual config classes.
554bb3b5
sgugger
approved these changes
on 2022-08-04
Narsil
merged
586dcf6b
into main 3 years ago
Narsil
deleted the improve_error_message_when_transformers_is_misconfigured branch 3 years ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub