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
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)Step 2: Authenticate
Log in to Hugging Face from your terminal:- Go to huggingface.co/settings/tokens
- Create a new token with Read permissions
- Paste the token into your terminal
Step 3: Download the Model
macOS
Linux
Windows (PowerShell)
Step 4: Verify Installation
Restart Izwi or refresh the model list:Gemma-3-1b-it in the list.
Load the model:
Troubleshooting
”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:http://localhost:8080/chat.