hf-hub icon indicating copy to clipboard operation
hf-hub copied to clipboard

Rust client for the huggingface hub aiming for minimal subset of features over `huggingface-hub` python package

Results 27 hf-hub issues
Sort by recently updated
recently updated
newest added

Changed `tokio.rs` to allow configuration of TLS in `reqwest` clients. Changed `sync.rs` to allow configuration of TLS in `ureq` agents. Both are configured via the `ApiBuilder`. The connection type is...

When creating an API instance the current methods enforce checking for a local `token` file, even when you intend to provide your own via `with_token()`, thus finding a token is...

I am using fastembed-rs package, to create embeddings for text input While I am running my application as a shared library on Android, it is giving below error ``` hf_hub:...

It appears that adding `native-tls` as a feature in `ureq` is not sufficient, and that the `native_tls::TlsConnector` must explicitly be used in code.

If environment variable `HF_ENDPOINT` exists, use it to build api. fix #47

This update enables the client to be configured with a different endpoint other than `https://huggingface.co`, allowing the use of a mirror with this library.

Support for resume functionality to avoid the need to re-download large files from the beginning in case of network interruptions during the download process. The compilation switch 'download-with-offset' controls whether...

In my Windows OS, when I run the example: ```rust use hf_hub::api::sync::Api; fn main() { let api = Api::new().unwrap(); let repo = api.model("bert-base-uncased".to_string()); let _filename = repo.get("config.json").unwrap(); } ``` -...

It seems didn't use the mirror settings in env: `export HF_ENDPOINT=`

I try to handle the Error that Api::new() may return, but it seems that it never returns a error. Here's the related code in latest commit `6303587576f8a1ce9f91f8274265a153b89afb6e`: ```rust // src/api/sync.rs...