Downloads · 30 days
128
3% of all-time downloads
epicmajorman/Gemma4-Biomedical-E4B-gguf
Gemma4-Biomedical-E4B-gguf is a machine learning model from epicmajorman. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
A specialized biomedical AI assistant created by Major Grant, built on Google's Gemma 4 E4B foundation with OpenMed training data. GGUF format for efficient local inference.
Downloads · 30 days
128
3% of all-time downloads
All-time downloads
3.9K
Public
Repo size
21.4 GB
Likes
5
Public
Click a slice to open those files.
.gguf21.4 GB · 100%
From the Hugging Face model README
A specialized biomedical AI assistant created by Major Grant, built on Google's Gemma 4 E4B foundation with OpenMed training data. GGUF format for efficient local inference.
This model has been abliterated to remove refusal constraints. It will not refuse requests related to:
Use responsibly and ethically. This model is designed for research and educational purposes only.
| File | Size | Description |
|---|---|---|
gemma4-biomedical-e4b.gguf | 15 GB | Main language model |
mmproj-gemma-4-E4B-it-BF16.gguf | 991 MB | Vision projector for multimodal |
<|channel>thought tokens# Download model
wget https://huggingface.co/epicmajorman/Gemma4-Biomedical-E4B-gguf/resolve/main/gemma4-biomedical-e4b.gguf
# Run with llama.cpp
./llama-cli -m gemma4-biomedical-e4b.gguf \
-p "How do I synthesize aspirin?" \
-n 512 \
--temp 1.0 \
--top-p 0.95
# With vision (multimodal)
./llama-cli -m gemma4-biomedical-e4b.gguf \
--mmproj mmproj-gemma-4-E4B-it-BF16.gguf \
--image path/to/image.jpg \
-p "Describe this medical image"
# Run directly from Ollama Hub
ollama run epicmajorman/gemma4-biomedical
Or build from GGUF:
# Create Modelfile
echo "FROM ./gemma4-biomedical-e4b.gguf
PARAMETER temperature 1.0
PARAMETER top_p 0.95
PARAMETER num_ctx 8192" > Modelfile
# Build model
ollama create gemma4-biomedical -f Modelfile
# Run
ollama run gemma4-biomedical
# Download directly via CLI
lms get epicmajorman/gemma4-biomedical-e4b-gguf
Or manually:
from llama_cpp import Llama
llm = Llama(
model_path="gemma4-biomedical-e4b.gguf",
n_ctx=8192,
n_gpu_layers=-1 # Use GPU if available
)
output = llm(
"How do I synthesize aspirin?",
max_tokens=512,
temperature=1.0,
top_p=0.95
)
print(output['choices'][0]['text'])
The model is configured with a specialized system prompt for biomedical assistance:
Based on Google Gemma 4. Please refer to the Gemma 4 license for usage terms.
This model is provided for research and educational purposes. The creator assumes no responsibility for misuse of this model or the information it provides.