Views
No views yet
unsloth/gemma-4-e4b-it. Quantized to Q4_K_M (~5 GB) for
single-step use through Ollama or llama.cpp — no Python sidecar, no
bitsandbytes, no CUDA requirement. Runs on Mac (Metal), Linux, Windows,
and CPU.m0rtyddd/clario-gemma4-e4b-lora-v2,
just merged and quantized. For QLoRA / PEFT workflows on a CUDA box,
prefer that repo. For everything else, prefer this one.1# 1. download the GGUF + Modelfile to a folder
2huggingface-cli download m0rtyddd/clario-gemma4-e4b-extract-gguf \
3 --local-dir ./clario-extract --include "*.gguf" "Modelfile"
4
5# 2. register with Ollama
6cd clario-extract
7ollama create clario-extract -f Modelfile
8
9# 3. run
10ollama run clario-extract "Diary entry: My eyes are gritty and my mouth is so dry I can't swallow toast."http://127.0.0.1:11434/api/chat with model: "clario-extract".1llama-cli -m clario-extract-q4_k_m.gguf \
2 -p "Diary entry: My eyes are gritty and my mouth is so dry I can't swallow toast." \
3 --temp 0 -n 512(diary, target_json) pairs
derived from Orphanet rare-disease phenotypes and HPO synonyms.diary text → [Gemma 4 E4B + Clario LoRA, Q4_K_M] → JSON entities
→ deterministic HPO synonym lookup → HPO IDs + canonical namesbackend/scripts/build_knowledge.py from
HPO hp.obo + Orphanet en_product4.xml. See
m0rtyddd/clario-synthetic-diary
for the training corpus and the model card of the unquantized LoRA for
the full discussion of limitations.| Metric | Vanilla Gemma 4 E4B | Clario LoRA | Δ |
|---|---|---|---|
| JSON schema correctness | 0%¹ | 100% | +100 pp |
| Name F1 (synonym-aware) | 0.209 | 0.524 | +151% |
| HPO ID F1 (via name→lookup) | 0.349 | 0.524 | +50% |
| File | Size | What |
|---|---|---|
clario-extract-q4_k_m.gguf | ~5.0 GB | the model |
Modelfile | <1 KB | Ollama Modelfile with SYSTEM_PROMPT + 2 few-shot demos |
README.md | this file | — |
m0rtyddd/clario-gemma4-e4b-lora-v2.
TL;DR: extract symptoms, do not trust the model's hpo_id field
(always post-resolve via deterministic lookup), human-in-the-loop
review, English only, not a diagnostic tool.1@misc{okulov2026clario_gguf,
2 title = {{Clario} {Gemma 4 E4B} Symptom-Diary Extractor (GGUF, Q4\_K\_M)},
3 author = {Okulov, Maksim},
4 year = {2026},
5 howpublished = {\url{https://huggingface.co/m0rtyddd/clario-gemma4-e4b-extract-gguf}}
6}