hf-hub
hf-hub copied to clipboard
Token file not found "token"
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: Token file not found "token"
ureq:::stream connecting to huggingface.co
use hf_hub::api::sync::Api;
let api = Api::new().unwrap();
let repo = api.model("bert-base-uncased".to_string());
let _filename = repo.get("config.json").unwrap();
// filename is now the local location within hf cache of the config.json file