SIGN IN SIGN UP

🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.

0 0 187 Python

Fixing offline mode for pipeline (when inferring task). (#21113)

* Fixing offline mode for pipeline (when inferring task).

* Update src/transformers/pipelines/__init__.py

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>

* Updating test to reflect change in exception.

* Fixing offline mode.

* Clean.

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
N
Nicolas Patry committed
25ddd91b249014d818fb2ed3d4ba856ed9a5653e
Parent: 8896ebb
Committed by GitHub <noreply@github.com> on 1/17/2023, 2:24:40 PM