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

Mentioned in https://github.com/huggingface/huggingface_hub/issues/1043#issuecomment-1246009544. Currently we store the user token for git commands in the git-credential-store. This is the default git storage that stores creds in plain text in a file....

This is a proposal following discussions started with the `datasets` team (@lhoestq @albertvillanova). The goal is to have a proper way to cache any kind of files from a downstream...

Pagination will be added to the Hub when listing models (as the number of models grows on the Hub). It would be good to already warn the user that `list_models`...

As discussed in https://github.com/huggingface/hffs/pull/1, it would be nice to add the `endpoint` param to `hf_hub_url` to support passing custom endpoints (useful for private Hub users)

enhancement

For `hffs`, it would be nice to have a `CopyOperation` in the commit API for efficiently copying repo siblings. PS: this would also require some changes server-side, so "low priority"...

enhancement

### Describe the bug When trying to convert and upload [this dataset](https://www.kaggle.com/datasets/gpiosenka/100-bird-species) using [dataset converter tool](https://github.com/nateraw/huggingface-datasets-converter/blob/0c309c6b4d5c7912b7720d670755079ac26eec09/huggingface_datasets_converter/convert.py#L217) I get following error in `upload_folder` (see logs). Most datasets on kaggle are quite...

bug

*Originally from @julien-c in https://github.com/huggingface/huggingface_hub/pull/986#issuecomment-1224480532:* > BTW this should be documented (maybe in a "Advanced" doc) no? See full discussion in https://github.com/huggingface/huggingface_hub/pull/986.

documentation

The current `snapshot_download` and `hf_hub_download` methods currently use symlinks for efficient storage management. However, symlinks are not properly supported on Windows where administrator privileges or [Developer Mode](https://docs.microsoft.com/en-us/windows/apps/get-started/enable-your-device-for-development) needs to be...

It would be nice to have a `discussions=True` parameter in `list_models` and other listing methods, to also add the discussions related information in the response. At the moment, one needs...

discussion

This PR adds metadata option to fast.ai utils. The model card looks like [this](https://huggingface.co/merve/fastai-test) when pushed with following code: ```python push_to_hub_fastai( learner=dummy_model, repo_id="merve/fastai-test", tags=["image-classification"] ) ```