Views
No views yet
google/gemma-4-e2b-it specialized for ASHA-Saathi — an offline, voice-first AI co-pilot for India's ~1 million ASHA frontline community-health workers, in Hindi and Marathi.Submitted to the Gemma 4 Good Hackathon. Repo: github.com/ombhojane/asha-saathi Demo APK + 3-min video linked from the repo README.
dosage_calculator, vaccine_schedule, danger_sign_check, nearest_phc_referralgoogle/gemma-4-e2b-itombhojane/asha-instructions-hi-mr-v1 — 5–8k examples, 60% protocol Q&A / 25% function-call / 10% refusal / 5% danger-signtrain/unsloth_e2b_lora.py + pinned train/requirements-train.txt| Metric | n | Base E2B | E2B-ASHA | Δ |
|---|---|---|---|---|
| Protocol accuracy (Hindi) | 25 | 24.0% | 20.0% | -4.0 pp |
| Protocol accuracy (Marathi) | 25 | 16.0% | 12.0% | -4.0 pp |
| Function-call validity (tool schema in prompt) | 15 | 100.0% | 100.0% | 0.0 pp |
| Refusal precision | 20 | 85.0% | 90.0% | +5.0 pp |
eval/results_v1.md for the latest run; on-device latency numbers land in eval/latency_v1.md once measured on a target Android device.1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3tok = AutoTokenizer.from_pretrained("ombhojane/gemma-4-e2b-asha-it")
4mdl = AutoModelForCausalLM.from_pretrained("ombhojane/gemma-4-e2b-asha-it", torch_dtype="bfloat16", device_map="auto")
5
6msgs = [{"role": "user", "content": "8 किलो के बच्चे को ORS कितना दें?"}]
7ids = tok.apply_chat_template(msgs, return_tensors="pt", add_generation_prompt=True).to(mdl.device)
8out = mdl.generate(ids, max_new_tokens=256, do_sample=False)
9print(tok.decode(out[0][ids.shape[-1]:], skip_special_tokens=True))1ollama pull ombhojane/gemma-4-e2b-asha-it
2ollama run ombhojane/gemma-4-e2b-asha-it "9 महीने के बच्चे का अगला टीका कौन सा है?"1@model{gemma_4_e2b_asha_it_2026,
2 author = {Bhojane, Om},
3 title = {gemma-4-e2b-asha-it: an offline ASHA co-pilot},
4 year = {2026},
5 url = {https://huggingface.co/ombhojane/gemma-4-e2b-asha-it}
6}