Some models require manual download from Hugging Face due to licensing requirements or access restrictions. This guide covers the general process.

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)
Option 2: Using pip

Authenticate with Hugging Face

  1. Create a Hugging Face account at huggingface.co
  2. Generate an access token at huggingface.co/settings/tokens
  3. Log in via CLI:
Enter your token when prompted.

Download Process

Step 1: Find the Model Directory

Izwi stores models in a specific location:

Step 2: Download the Model

Use the Hugging Face CLI to download:
Example for macOS:
Example for Linux:

Step 3: Verify the Download

The model should appear in the list.

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

See specific guides:

Troubleshooting

”Access denied” or “401 Unauthorized”

  1. Ensure you’re logged in:
  2. Check that you’ve accepted the model’s license on Hugging Face
  3. Verify your token has read permissions

Download is very slow

Try using hf_transfer for faster downloads:

Model not detected by Izwi

  1. Verify the model is in the correct directory
  2. Check the folder name matches what Izwi expects
  3. Restart the Izwi server:

Disk space issues

Check available space before downloading:
Large models can be 10+ GB. Ensure you have enough free space.

Next Steps