Hugging Face – explained simply
Hugging Face is the most important platform for publishing and downloading AI models, datasets, and demos.
Also: Hugging Face Hub, huggingface.co, Model Card, Model Card
Almost every freely available model is on the Hugging Face Hub. According to its own documentation, there are over two million models, plus datasets and demo apps (Spaces). Each model has its own repository built on Git.
Especially important is the Model Card, the model’s description page. It lists the license, recommended settings, limitations, and often the memory requirements. Some models are gated: you have to log in and agree to the terms before you can download them; for scripts, you then need an access token.
What does that mean for you? Before downloading, read the Model Card, especially the license and recommended settings, and if possible download safetensors or GGUF files.
Related terms
Errors where that matters
- [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate – Python does not trust the certificate (often a company proxy or antivirus)
- AnythingLLM: Fetch failed while embedding documents (embedding model cannot be loaded)
- GGUF: tensor '…' data is not within the file bounds, model is corrupted or incomplete (model file incomplete)
- Hugging Face: 429 Client Error: Too Many Requests / We had to rate limit you – too many requests, you’re being throttled
- LM Studio: Error rendering prompt with jinja template (Model chat template cannot be processed)
- Ollama: pull model manifest: file does not exist (model name or tag does not exist)
- Transformers: FlashAttention2 has been toggled on, but … flash_attn seems to be not installed (FlashAttention missing)
- whisper.cpp: invalid model data (bad magic) (model file has the wrong format)
- WhisperX: Could not download 'pyannote/speaker-diarization…' pipeline / 'NoneType' object has no attribute 'to' (speaker diarization must not load the model)