huggingface_hub icon indicating copy to clipboard operation
huggingface_hub copied to clipboard

The official Python client for the Huggingface Hub.

Results 265 huggingface_hub issues
Sort by recently updated
recently updated
newest added

The best practice calls for executable scripts, such as those with shebang, to have their execution bits set. Among other things, this helps to immediately highlight them as scripts in...

I am getting the following error: from huggingface_hub import CommitOperationAdd, SpaceHardware, SpaceStage ImportError: cannot import name 'CommitOperationAdd' from 'huggingface_hub' (/Users/connor/opt/anaconda3/envs/LMSYS/lib/python3.12/site-packages/huggingface_hub/__init__.py). Did you mean: 'CommitOperation'? I've seen similar errors on other...

Solve https://github.com/huggingface/huggingface_hub/issues/2325. **EDIT:** added support for `model_info`/`dataset_info`/`space_info` as well as `list_models`/`list_datasets`/`list_spaces`. Added tests and docstrings for all of them. --- First draft of what we discussed in https://github.com/huggingface/huggingface_hub/issues/2325#issuecomment-2162407468 cc @osanseviero...

This can be done by using the `/models` endpoint and adding `?expand:downloadsAllTime`. As it's a frequent request, it might be useful to support this directly in the library. Right now,...

enhancement

the problem with git clone it download the file 4time size of original size and disk usage is also spammed please consider provide an single download button on website itself...

### Describe the bug my code is : ` # from huggingface_hub import snapshot_download snapshot_download( repo_id="meta-llama/Meta-Llama-3-8B", repo_type = None, local_dir=r"D:\model\qwen", token = "xxx", proxies={"https": "http://127.0.0.1:7890"}, max_workers=8 # )` because of...

bug

This PR does 3 things: 1. It adds support for the `hypothesis_template` argument from the 0-shot pipeline, which is important for customizing 0-shot classification 2. It removes the requirement for...

What is this PR about ? This is a sub PR, I translated the "overview" part of the documentation to french, they require review. I also added the toctcree as...

This is a sub PR, I translated the "inference" part of the documentation to french, they require review. I also added the toctcree as I will be creating PRs for...

This is a sub PR, I translated the "hugging face file system" part of the documentation to french, they require review. I also added the toctcree as I will be...