When Manual Download is Required
You’ll need to manually download models when:- The model requires accepting a license agreement
- The model is gated (requires Hugging Face authentication)
- You want to use a custom or fine-tuned model
- Automatic download fails due to network issues
Prerequisites
Install Hugging Face CLI
Choose one method: Option 1: Using pipx (Recommended)Authenticate with Hugging Face
- Create a Hugging Face account at huggingface.co
- Generate an access token at huggingface.co/settings/tokens
- Log in via CLI:
Download Process
Step 1: Find the Model Directory
Izwi stores models in a specific location:| Platform | Location |
|---|---|
| macOS | ~/Library/Application Support/izwi/models/ |
| Linux | ~/.local/share/izwi/models/ |
| Windows | %APPDATA%\izwi\models\ |
Step 2: Download the Model
Use the Hugging Face CLI to download:Step 3: Verify the Download
Step 4: Load the Model
Downloading Specific Files
If you only need certain files (e.g., to save space):Resuming Interrupted Downloads
The Hugging Face CLI automatically resumes interrupted downloads. Just run the same command again.Using a Custom Cache Directory
By default, Hugging Face caches downloads in~/.cache/huggingface/. To use a different location:
Common Models Requiring Manual Download
| Model | Repository | Notes |
|---|---|---|
| Gemma 3 1B | google/gemma-3-1b-it | Requires license acceptance |
| Llama 3 | meta-llama/Llama-3-* | Requires license acceptance |
Troubleshooting
”Access denied” or “401 Unauthorized”
-
Ensure you’re logged in:
- Check that you’ve accepted the model’s license on Hugging Face
- Verify your token has read permissions
Download is very slow
Try usinghf_transfer for faster downloads:
Model not detected by Izwi
- Verify the model is in the correct directory
- Check the folder name matches what Izwi expects
- Restart the Izwi server: