huggingface[patch]: bump deps and increment version to 0.1.0.dev1 (#26263)

This commit is contained in:
ccurme
2024-09-10 16:49:12 -04:00
committed by GitHub
parent bee8994b7e
commit fc08f240ee
5 changed files with 47 additions and 15 deletions

View File

@@ -115,8 +115,8 @@ class HuggingFaceEndpoint(LLM):
model_kwargs: Dict[str, Any] = Field(default_factory=dict)
"""Holds any model parameters valid for `call` not explicitly specified"""
model: str
client: Any
async_client: Any
client: Any = None #: :meta private:
async_client: Any = None #: :meta private:
task: Optional[str] = None
"""Task to call the model with.
Should be a task that returns `generated_text` or `summary_text`."""