About 50 results
Open links in new tab
  1. python - How to load a huggingface pretrained transformer model ...

    Oct 5, 2023 · I want to load a huggingface pretrained transformer model directly to GPU (not enough CPU space) e.g. loading BERT from transformers import AutoModelForCausalLM model = …

  2. How do I save a Huggingface dataset? - Stack Overflow

    Apr 26, 2022 · 28 How do I write a HuggingFace dataset to disk? I have made my own HuggingFace dataset using a JSONL file: Dataset ( { features: ['id', 'text'], num_rows: 18 }) I would like to persist …

  3. ImportError: cannot import name 'cached_download' from …

    Jan 21, 2025 · ImportError: cannot import name 'cached_download' from 'huggingface_hub' Asked 1 year, 4 months ago Modified 1 month ago Viewed 27k times

  4. 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 …

  5. Load a pre-trained model from disk with Huggingface Transformers

    Sep 22, 2020 · Load a pre-trained model from disk with Huggingface Transformers Asked 5 years, 9 months ago Modified 3 years, 1 month ago Viewed 294k times

  6. 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.

  7. python 3.x - SSLError: HTTPSConnectionPool (host='huggingface.co', …

    Jan 13, 2023 · Access the huggingface.co certificate by clicking on the icon beside the web address in your browser (screenshot below) > 'Connection is secure' > Certificate is valid (click show certificate).

  8. No module named 'huggingface_hub.snapshot_download'

    Nov 24, 2022 · No module named 'huggingface_hub.snapshot_download' Asked 3 years, 6 months ago Modified 3 years, 6 months ago Viewed 20k times

  9. Tokens to Words mapping in the tokenizer decode step huggingface?

    Jun 11, 2020 · Is there a way to know the mapping from the tokens back to the original words in the tokenizer.decode() function? For example: from transformers.tokenization_roberta import …

  10. Way to Offline Speaker Diarization with Hugging Face

    Jul 26, 2023 · I am looking for Offline / locally saved model for speaker diarization with Hugging face without Authentication. I have gone through google and found no relevant links for the same. Is there …