-
Notifications
You must be signed in to change notification settings - Fork 581
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed GeneralTags, ModelTags and DatasetTags (#1761)
* removed tags from endpoint tests * removed tags from endpoints * removed tags from hf_api * removed tags from docstrings in endpoint_helpers * removed tags from hf_api * removed model search argument from test_hf_api * removed ModelSearchArguments and DataSearchArguments * removed DatasetSearchArguments and ModelSearchArguments * removed DatasetSearchArguments and * removed ModelSearchArguments and DatasetSearchArguments from the docs * Revert "removed DatasetSearchArguments and" This reverts commit ce6b91b. * removed tags from __init__.py * ran make style * Removed ## How to explore filter options ? section * Revert "removed tags from __init__.py" This reverts commit ad1a31c. Reverting removal get_dataset_tags and get_model_tags for comment 2 * Revert "removed DatasetSearchArguments and ModelSearchArguments" This reverts commit fbf6dd0. * Revert "removed tags from __init__.py" This reverts commit ad1a31c. * Revert "removed tags from hf_api" This reverts commit 2cefee1. * Revert "removed tags from hf_api" This reverts commit dd3b8f1. * Removed attribute dictionary from imports and removed model search argument class * Complete removed class AttributeDictionary(dict): * Removed attribute dictionary tests * Updating ModelTags and DatasetTags so that they just return the raw dictionary * Removed final DatasetTags import * Removed 'ModelTags' import * Ran make style * fix: remove useless token (#1765) * Retry on ConnectionError/ReadTimeout when streaming file from server (#1766) * Retry on ConnectionError/ReadTimeout when streaming file from server * add test * fix testing utils * Adding `InferenceClient.get_recommended_model` (#1770) * Moved logger info to InferenceClient, so get_recommended_model function can bypass that * Added get_recommended_model to InferenceClient * Ran make style to generate the async client * Added tests of get_recommended_model * Update src/huggingface_hub/inference/_client.py Co-authored-by: Lucain <lucainp@gmail.com> * Fixed ordering of logger info and _get_recommended_model, for model string to have been populated * Removed _get_recommended_model private function, in favor of get_recommended_model in InferenceClient * Fixed wording of ValueError to use 'model' not 'task' * Ran make style for AsyncInferenceClient --------- Co-authored-by: Lucain <lucainp@gmail.com> * Fix document link for manage-cache (#1774) * Fix document link for manage-cache * Use redirects in _redirects.yml * Update docs/source/en/package_reference/file_download.md --------- Co-authored-by: Lucain <lucainp@gmail.com> * Minor doc fixes (#1775) * Don't use `api` in `list_repo_refs` example. * Minor typo fssepc -> fsspec * Use `.item_object_id` instead of `._id` * Ran make style --------- Co-authored-by: Remy <remy@huggingface.co> Co-authored-by: Lucain <lucainp@gmail.com> Co-authored-by: James Braza <jamesbraza@gmail.com> Co-authored-by: liuxueyang <liuxueyang457@gmail.com> Co-authored-by: Pedro Cuenca <pedro@huggingface.co>
- Loading branch information
1 parent
ef48c7f
commit 0a2503d
Showing
8 changed files
with
10 additions
and
791 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.