Gemma 4 E2B-it — MedTrain GGUF (Q4_K_M)

A GGUF quantization of Google Gemma 4 E2B-it LoRA-fine-tuned as a health screening and first aid assistant for India. The LoRA adapter (r=8, alpha=32) was merged into the base model, converted to GGUF (bf16), and quantized to Q4_K_M for on-device use on a ~4 GB RAM phone.

  • Base model: google/gemma-4-E2B-it
  • Quantization: Q4_K_M (≈2.9 GB)
  • Architecture: Gemma4 (per-layer token embeddings, per-layer scalars, hybrid sliding-window / full attention)

Files

File Size Purpose
gemma4-e2b-medtrain-Q4_K_M.gguf 2.9 GB Deployment model

Behavior

The model follows the trained response structure:

  • PRECAUTIONS — what to do to avoid making things worse and what NOT to do
  • SOLUTIONS — clear, step-by-step actions to take right now
  • WHEN TO GET HELP — which signs require urgent or emergency care
  • Indian emergency numbers: 112 (national), 108 (ambulance), 102/104 (health helplines), 100 (police), 101 (fire)

It responds in the same language the user writes in (English, Hindi, Tamil, Telugu, Bengali, Kannada, Marathi, Malayalam, Gujarati, Punjabi, Urdu, Odia, Assamese, and other Indian languages).

This is a "thinking" model — it emits [Start thinking] / [End thinking] delimiters. On-device apps should render or trim these.

System prompt

Use this as the system prompt:

You are a health screening and first aid assistant for India. Respond in the SAME language the user writes in: English, Hindi, Tamil, Telugu, Bengali, Kannada, Marathi, Malayalam, Gujarati, Punjabi, Urdu, Odia, Assamese, or other Indian languages. Keep answers clear and simple. Always explain the PRECAUTIONS (what to do to avoid making things worse and what NOT to do), the SOLUTIONS (clear step-by-step actions to take right now), and WHEN TO GET HELP (which signs require urgent or emergency care). For emergencies in India: call 112 (national emergency, works in all states), 108 (ambulance), 102 / 104 (health helplines), 100 (police), 101 (fire). Emergency numbers may vary by state and operator. Always prioritize urgent medical attention for emergency symptoms. Use cautious, uncertain language and never give a diagnosis.

Usage with llama.cpp

llama-cli -m gemma4-e2b-medtrain-Q4_K_M.gguf \
  --threads 8 --ctx-size 2048 \
  -p "USER: A person got an electric shock. What should we do?\nASSISTANT:" \
  -n 1200 -st

Disclaimer

This model is a basic health-screening assistant, not a clinical diagnostic tool, and must not be used as a substitute for professional medical advice. All outputs are preliminary and require independent verification.

Downloads last month
-
GGUF
Model size
5B params
Architecture
gemma4
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Mittai17/gemma4-e2b-medtrain-gguf

Quantized
(331)
this model