
huggingface hub - ImportError: cannot import name …
Jan 21, 2025 · ImportError: cannot import name 'cached_download' from 'huggingface_hub' Asked 11 months ago Modified 10 months ago Viewed 25k times
How to change huggingface transformers default cache directory?
Aug 8, 2020 · The default cache directory lacks disk capacity, I need to change the configuration of the default cache directory. How can I do that?
How to do Tokenizer Batch processing? - HuggingFace
Jun 7, 2023 · 10 in the Tokenizer documentation from huggingface, the call fuction accepts List [List [str]] and says: text (str, List [str], List [List [str]], optional) — The sequence or batch of sequences to …
python - Cannot load a gated model from hugginface despite having ...
Nov 21, 2024 · I am training a Llama-3.1-8B-Instruct model for a specific task. I have request the access to the huggingface repository, and got access, confirmed on the huggingface webapp dashboard. I …
How to download a model from huggingface? - Stack Overflow
May 19, 2021 · How about using hf_hub_download from huggingface_hub library? hf_hub_download returns the local path where the model was downloaded so you could hook this one liner with …
How can I download a HuggingFace dataset via HuggingFace CLI while ...
Apr 5, 2024 · I downloaded a dataset hosted on HuggingFace via the HuggingFace CLI as follows: pip install huggingface_hub [hf_transfer] huggingface-cli download huuuyeah/MeetingBank_Audio --repo …
Facing SSL Error with Huggingface pretrained models
Mar 31, 2022 · huggingface.co now has a bad SSL certificate, your lib internally tries to verify it and fails. By adding the env variable, you basically disabled the SSL verification.
python - Facing issue using a model hosted on HuggingFace Server …
May 11, 2025 · I am trying to create a simple langchain app on text-generation using API to communicate with models on HuggingFace servers. I created a “.env” file and stored by KEY in the …
Huggingface cannot load configuration_....py in offline mode
Feb 14, 2025 · OSError: We couldn't connect to 'https://huggingface.co' to load this file, couldn't find it in the cached files and it looks like OpenGVLab/InternVL2_5-1B is not the path to a directory containing …
Huggingface: How do I find the max length of a model?
Jun 24, 2023 · Given a transformer model on huggingface, how do I find the maximum input sequence length? For example, here I want to truncate to the max_length of the model: tokenizer (examples …