Ask a question to get started
Enter to sendā¢Shift+Enter new line
Construct the pipeline object from model_id and task.
from_model_id( cls, model_id: str, task: str, backend: str = 'default', device: int | None = None, device_map: str | None = None, model_kwargs: dict | None = None, pipeline_kwargs: dict | None = None, batch_size: int = DEFAULT_BATCH_SIZE, **kwargs: Any = {} ) -> HuggingFacePipeline