You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"See [https://huggingface.co/models](https://huggingface.co/models) for a list of models. "
"Pass a model's repository ID as the model ID; for example, `huggingface_hub:ExampleOwner/example-model`."
but passing it in this format results in:
pydantic.v1.error_wrappers.ValidationError: 1 validation error for HfHubProvider
__root__
Repo id must use alphanumeric chars or '-', '_', '.', '--' and '..' are forbidden, '-' and '.' cannot start or end the name, max length is 96: 'huggingface_hub:ExampleOwner/example-model'. (type=value_error.hfvalidation)
Removing huggingface_hub: works. The error message from upstream is confusing though.
Also there is a warning:
site-packages/huggingface_hub/utils/_deprecation.py:131: FutureWarning: 'InferenceApi' (from 'huggingface_hub.inference_api') is deprecated and will be removed from version '1.0'. `InferenceApi` client is deprecated in favor of the more feature-complete `InferenceClient`. Check out this guide to learn how to convert your script to use it: https://huggingface.co/docs/huggingface_hub/guides/inference#legacy-inferenceapi-client.
The text was updated successfully, but these errors were encountered:
Description
The
help
message suggestsjupyter-ai/packages/jupyter-ai-magics/jupyter_ai_magics/providers.py
Lines 503 to 505 in e27293c
but passing it in this format results in:
Removing
huggingface_hub:
works. The error message from upstream is confusing though.Also there is a warning:
The text was updated successfully, but these errors were encountered: