Loads a tool from the HuggingFace Hub.
load_huggingface_tool(
task_or_repo_id: str,
model_repo_id: Optional[str] = None,
token: Optional[str] = None,
remote: bool = False,
**kwargs: Any = {}
) -> BaseTool| Name | Type | Description |
|---|---|---|
task_or_repo_id* | str | Task or model repo id. |
model_repo_id | Optional[str] | Default: NoneOptional model repo id. Defaults to None. |
token | Optional[str] | Default: NoneOptional token. Defaults to None. |
remote | bool | Default: FalseOptional remote. Defaults to False. |
kwargs | Any | Default: {}Additional keyword arguments. |