Manual Download: Gemma 3 1B Instruct
Gemma 3 1B Instruct (Gemma-3-1b-it) is a powerful compact language model from Google that requires manual download due to licensing requirements.
Why Manual Download?
Google's Gemma models require you to:
- Have a Hugging Face account
- Accept the Gemma license agreement
- Use authenticated downloads
This cannot be done automatically by Izwi.
Prerequisites
Create a Hugging Face Account
If you don't have one, sign up at huggingface.co.
Accept the Gemma License
- Visit the Gemma 3 1B model page
- Click Agree and access repository
- Read and accept the license terms
Note: License approval is usually instant but may take a few minutes.
Step 1: Install Hugging Face CLI
Choose one method:
Option 1: Using pipx (Recommended)
pipx install huggingface_hubOption 2: Using pip
python3 -m pip install --upgrade "huggingface_hub[cli]"Step 2: Authenticate
Log in to Hugging Face from your terminal:
huggingface-cli loginWhen prompted:
- Go to huggingface.co/settings/tokens
- Create a new token with Read permissions
- Paste the token into your terminal
Verify you're logged in:
huggingface-cli whoamiStep 3: Download the Model
macOS
huggingface-cli download google/gemma-3-1b-it \ --repo-type model \ --local-dir "$HOME/Library/Application Support/izwi/models/Gemma-3-1b-it"Linux
huggingface-cli download google/gemma-3-1b-it \ --repo-type model \ --local-dir "$HOME/.local/share/izwi/models/Gemma-3-1b-it"Windows (PowerShell)
huggingface-cli download google/gemma-3-1b-it ` --repo-type model ` --local-dir "$env:APPDATA\izwi\models\Gemma-3-1b-it"The download is approximately 2.5 GB and may take several minutes depending on your connection.
Step 4: Verify Installation
Restart Izwi or refresh the model list:
izwi list --localYou should see Gemma-3-1b-it in the list.
Load the model:
izwi models load Gemma-3-1b-itTroubleshooting
"Access to model is restricted"
You haven't accepted the license yet:
- Visit huggingface.co/google/gemma-3-1b-it
- Click Agree and access repository
- Wait a few minutes for approval
- Try the download again
"401 Client Error: Unauthorized"
Your token doesn't have the right permissions:
- Go to huggingface.co/settings/tokens
- Create a new token with Read access
- Run
huggingface-cli loginagain with the new token
Model not appearing in Izwi
- Check the model was downloaded to the correct directory
- Verify the folder name is exactly
Gemma-3-1b-it - Restart the Izwi server
Download interrupted
The Hugging Face CLI automatically resumes. Just run the same download command again.
Using Gemma 3 1B
Once loaded, you can use Gemma for chat:
izwi chat --model Gemma-3-1b-itOr via the web UI at http://localhost:8080/chat.