CoolFace
Modelpublic

greenpolo/langslice-gemma-4-E4B

sourceHugging Facegemmaupdated 4mo agoView on Hugging Face
0likes164downloads
Model Card

LangSlice-Gemma-4-E4B v1.0

[image]

A Gemma 4 E4B-IT fine-tune that estimates the anterior-posterior (AP) coordinate of a histological brain section in the matching mouse coronal atlas. Trained on adult (Allen mouse 25 µm) and developmental (DeMBA P9–P35, ADMBA P4–P56) coronal sections.

ModelMean abs. error (mm)Mean error (% of 13.2 mm AP axis)
Base unsloth/gemma-4-E4B-it2.37518.02 %
LangSlice-Gemma-4-E4B v1.01.2289.32 %
Gemini 3 Flash Preview0.4293.25 %

SliceBench small coronal, mouse subset (n = 112).

Serve via vLLM

bash
vllm serve greenpolo/langslice-gemma-4-E4B \
  --max-model-len 16384 \
  --enable-auto-tool-choice \
  --tool-call-parser gemma4 \
  --reasoning-parser gemma4

GGUF (Q4KM, Q8_0, BF16) under `gguf/` for use with llama.cpp llama-mtmd-cli (pair with the bundled mmproj-BF16.gguf for image input).

The model is intentionally scoped to single-slice mouse coronal AP estimation. Sagittal, horizontal, and rat performance are much weaker. Inference must use the bundled chat template.

Full agent loop, multi-slice estimation, and end-to-end registration: LangSlice harness.

License

Gemma 4 Terms of Use governs the weights.

Citation

A Zenodo DOI is forthcoming. Until it's minted, please cite this Hugging Face repository directly:

Baughman, N. and Walsh Lab. LangSlice-Gemma-4-E4B v1.0. Hugging Face, 2026. <https://huggingface.co/greenpolo/langslice-gemma-4-E4B>