Instructions to use ericrisco/medical-gemma-3n-4b-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use ericrisco/medical-gemma-3n-4b-gguf with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf ericrisco/medical-gemma-3n-4b-gguf # Run inference directly in the terminal: llama cli -hf ericrisco/medical-gemma-3n-4b-gguf
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ericrisco/medical-gemma-3n-4b-gguf # Run inference directly in the terminal: llama cli -hf ericrisco/medical-gemma-3n-4b-gguf
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf ericrisco/medical-gemma-3n-4b-gguf # Run inference directly in the terminal: ./llama-cli -hf ericrisco/medical-gemma-3n-4b-gguf
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf ericrisco/medical-gemma-3n-4b-gguf # Run inference directly in the terminal: ./build/bin/llama-cli -hf ericrisco/medical-gemma-3n-4b-gguf
Use Docker
docker model run hf.co/ericrisco/medical-gemma-3n-4b-gguf
- LM Studio
- Jan
- Ollama
How to use ericrisco/medical-gemma-3n-4b-gguf with Ollama:
ollama run hf.co/ericrisco/medical-gemma-3n-4b-gguf
- Unsloth Studio
How to use ericrisco/medical-gemma-3n-4b-gguf with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for ericrisco/medical-gemma-3n-4b-gguf to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for ericrisco/medical-gemma-3n-4b-gguf to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for ericrisco/medical-gemma-3n-4b-gguf to start chatting
- Docker Model Runner
How to use ericrisco/medical-gemma-3n-4b-gguf with Docker Model Runner:
docker model run hf.co/ericrisco/medical-gemma-3n-4b-gguf
- Lemonade
How to use ericrisco/medical-gemma-3n-4b-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ericrisco/medical-gemma-3n-4b-gguf
Run and chat with the model
lemonade run user.medical-gemma-3n-4b-gguf-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
Medical Gemma-3N GGUF: Offline Medical Assistant 🏥🚀
GGUF quantized version of Medical Gemma-3N for ultra-fast local inference with Ollama. Optimized for offline emergency medical assistance on consumer hardware without requiring Python dependencies. Base Model: unsloth/gemma-3n-E4B-it
📦 Model File
| File | Size | Description | Quality |
|---|---|---|---|
medical-gemma-3n-4b.gguf |
13.7GB | Full precision GGUF | Maximum |
Note: This is a high-precision GGUF conversion. For smaller sizes, you can quantize further using llama.cpp tools.
🚀 Quick Start with Ollama
✅ 1. Download the GGUF model from Hugging Face
Download it:
wget https://huggingface.co/ericrisco/medical-gemma-3n-4b-gguf/resolve/main/medical-gemma-3n-4b.gguf
🗂️ 2. Create a Modelfile for Ollama
Create a new directory:
mkdir -p ~/ollama/models/medical-gemma-3n-4b
cd ~/ollama/models/medical-gemma-3n-4b
And add a file called Modelfile with this content:
FROM ./medical-gemma-3n-4b.gguf
# You can adjust these parameters if needed
PARAMETER temperature 0.7
PARAMETER top_k 40
PARAMETER top_p 0.9
PARAMETER repeat_penalty 1.1
🏗️ 3. Create the model with ollama
Now build the model:
ollama create medical-gemma-3n-4b -f Modelfile
🧠 4. Run the model
Once created, simply run:
ollama run medical-gemma-3n-4b
This will give you an interactive interface to talk to your model.
Interactive Medical Consultation
# Start interactive session
ollama run medical-gemma-3n-4b
# Example conversation:
>>> What are the signs of a stroke?
The main signs of a stroke can be ...
⚠️ Important Disclaimers
- 🚨 NOT A SUBSTITUTE for professional medical advice
- 🏥 ALWAYS consult qualified healthcare professionals
- 📞 CALL EMERGENCY SERVICES (911/112) for life-threatening situations
- 🔬 FOR EDUCATIONAL AND RESEARCH PURPOSES ONLY
- ⚖️ Users assume FULL RESPONSIBILITY for model usage
- 🔒 Ensure compliance with medical privacy regulations (HIPAA, GDPR)
📖 Citation
@misc{medical_gemma_gguf,
title={Medical Gemma-3N GGUF: Quantized Emergency Medical Assistant},
author={Eric Risco},
year={2025},
url={https://huggingface.co/ericrisco/medical-gemma-3n-lora-gguf},
note={GGUF quantized model for offline medical assistance}
}
🔗 Related Models
- ericrisco/medical-gemma-3n-4b - Full merged model
- ericrisco/medical-gemma-3n-lora - LoRA adapters
- ericrisco/medrescue - Training dataset
📜 License
This model is released under the Gemma License. See LICENSE for details.
🚀 Ultra-fast offline medical assistance - Deploy anywhere with zero dependencies
- Downloads last month
- 18
We're not able to determine the quantization variants.