Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix optional model in tabular tasks #2018

Merged
merged 3 commits into from
Feb 7, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
make style
  • Loading branch information
Wauplin committed Feb 7, 2024
commit 766829bfae73ef0178c7e304537d71858c720b3c
4 changes: 2 additions & 2 deletions src/huggingface_hub/inference/_generated/_async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1089,7 +1089,7 @@ async def tabular_classification(self, table: Dict[str, Any], *, model: Optional
Set of attributes to classify.
model (`str`, *optional*):
The model to use for the tabular classification task. Can be a model ID hosted on the Hugging Face Hub or a URL to
a deployed Inference Endpoint. If not provided, the default recommended text classification model will be used.
a deployed Inference Endpoint. If not provided, the default recommended tabular classification model will be used.
Defaults to None.

Returns:
Expand Down Expand Up @@ -1135,7 +1135,7 @@ async def tabular_regression(self, table: Dict[str, Any], *, model: Optional[str
Set of attributes stored in a table. The attributes used to predict the target can be both numerical and categorical.
model (`str`, *optional*):
The model to use for the tabular regression task. Can be a model ID hosted on the Hugging Face Hub or a URL to
a deployed Inference Endpoint. If not provided, the default recommended text classification model will be used.
a deployed Inference Endpoint. If not provided, the default recommended tabular regression model will be used.
Defaults to None.

Returns:
Expand Down
Loading