Closed
Description
Describe the bug
When an InferenceClient
is constructed with a model name, it is expected that this model name does not need to be provided when calling the inference method, such as .tabular_regression()
This is the case for all of the methods, except for .tabular_regression()
and .tabular_classification()
Reproduction
from huggingface_hub import InferenceClient
client = InferenceClient("scikit-learn/tabular-playground")
client.tabular_classification([[1, 1]])
Logs
No response
System info
Copy-and-paste the text below in your GitHub issue.
- huggingface_hub version: 0.20.3
- Platform: macOS-13.3-arm64-arm-64bit
- Python version: 3.11.3
- Running in iPython ?: Yes
- iPython shell: ZMQInteractiveShell
- Running in notebook ?: Yes
- Running in Google Colab ?: No
- Token path ?: /Users/abidlabs/.cache/huggingface/token
- Has saved token ?: True
- Who am I ?: abidlabs
- Configured git credential helpers: osxkeychain
- FastAI: N/A
- Tensorflow: N/A
- Torch: 2.1.2
- Jinja2: 3.1.2
- Graphviz: N/A
- Pydot: N/A
- Pillow: 9.2.0
- hf_transfer: N/A
- gradio: 4.16.0
- tensorboard: N/A
- numpy: 1.24.4
- pydantic: 2.3.0
- aiohttp: 3.8.4
- ENDPOINT: https://huggingface.co
- HF_HUB_CACHE: /Users/abidlabs/.cache/huggingface/hub
- HF_ASSETS_CACHE: /Users/abidlabs/.cache/huggingface/assets
- HF_TOKEN_PATH: /Users/abidlabs/.cache/huggingface/token
- HF_HUB_OFFLINE: False
- HF_HUB_DISABLE_TELEMETRY: False
- HF_HUB_DISABLE_PROGRESS_BARS: None
- HF_HUB_DISABLE_SYMLINKS_WARNING: False
- HF_HUB_DISABLE_EXPERIMENTAL_WARNING: False
- HF_HUB_DISABLE_IMPLICIT_TOKEN: False
- HF_HUB_ENABLE_HF_TRANSFER: False
- HF_HUB_ETAG_TIMEOUT: 10
- HF_HUB_DOWNLOAD_TIMEOUT: 10
Activity