steph-speak Gemma 4 E2B v2 (GGUF)
Fine-tuned language model that turns the output of a shell command into one short spoken sentence for a blind or visually impaired user. It is the quality tier of steph, a talking terminal, for machines with enough memory and a GPU or a fast CPU.
| File | steph-speak-gemma-4-E2B-sft-v2.0-off-ple3.gguf |
| Size | 2,432,011,840 bytes (2.43 GB) |
| sha256 | eb6e76076b819d9e7a1bbb01e38e8cbf256eb3bd741b6cb0c6311a4a7ed3b429 |
| Base | google/gemma-4-E2B-it-qat-q4_0-unquantized |
| License | Apache 2.0 (the license of the Gemma 4 base model on its Hugging Face card, checked 2026-10-21) |
| Languages | English, French |
| Quantization | Q4_0 layers without importance matrix, per-layer token embeddings in Q3_K |
The small sibling is steph-speak-granite-4.0-h-350M-v2-GGUF.
Intended use
Reads a command, its exit code and its output, and answers in one short spoken line with exact names and numbers. Also answers questions about a session history. Steph gives it a short block of precomputed facts next to the output.
Out of scope: security advice or automated decisions from command output, summarizing anything that is not terminal output. The model lowers the risk of invented facts, it does not remove it.
Training
| Item | Value |
|---|---|
| Method | LoRA SFT in bf16 (rank 16, alpha 32, attention and MLP), learning rate 1e-4, 2 epochs, seed 42; no preference tuning (it brought no significant gain and worsened language errors in English) |
| Data | 3,840 training and 196 validation examples, English and French, with the precomputed facts block, plus 250 examples that fix answers given in the wrong language. This mix is not published. steph-speak-train holds the mix of the small model (4,571 examples), not this one |
| Labels | mostly Qwen3.5 27B, the rest Qwen3.5 9B (both Apache 2.0), filtered by an LLM judge for invented facts |
| Contamination | every training row checked against the held-out benchmark by fingerprint; zero rows rejected in the final mix |
| Quantization | llama.cpp b11205 llama-quantize with --tensor-type per_layer_token_embd=q3_k; 540 of 541 tensors are identical to the plain Q4_0 build |
Evaluation
Held-out internal test set (654 cases, English and French, 3 decoding seeds, paired bootstrap, 95% interval), compared with the unmodified base model in the same quantization family and with the previous steph-speak Granite model. The set is not released; the public steph-speak-bench is a smaller companion.
| Measure | Base model | This model (Q4_0 build) | Difference |
|---|---|---|---|
| Quality score | 60.6 | 64.0 | +3.45 [+1.98; +4.91] |
| Production score | 67.6 | 68.8 | +1.18 [+0.07; +2.31] |
| Questions | - | - | +2.74 [+0.71; +5.36] |
| Spoken phrasing, strong judge, net preference | - | - | +27.5 [+19.2; +35.8] |
| Invented facts (LLM judge, 9B) | 18.2 % | 17.6 % | -0.52, not significant |
| Wrong language under an English prompt | 2.74 % | 2.99 % | not significant |
The released file (smaller PLE quantization) against the Q4_0 build: quality 63.7 against 64.0 (-0.37 [-1.11; +0.38]), production score 68.8 against 68.8, invented facts 19.1 % against 18.0 % (+1.07 [-0.36; +2.54], a trend worth watching), wrong language under an English prompt 2.58 % against 2.99 %. None of these differences is significant.
For reference the previous steph-speak Granite model scores 50.6 on the same set.
Intel i5-7200U, CPU only: peak memory 3,894 MB (4,772 MB for the Q4_0 build), first token p90 27.2 s. That is too slow for comfortable use on this CPU; use a GPU, a recent CPU, or the Granite model.
Limitations
- Invents facts in about one answer out of five on the internal test set; keep a grounding check.
- Slow to first token on old CPUs (see above).
- Trained and evaluated on Linux and macOS tool output in English and French; no Windows.
- Spoken phrasing was judged by an LLM, not by blind users.
- Carbon footprint not measured.
Use
llama-server -hf lsmdx/steph-speak-gemma-4-E2B-v2-GGUF -c 8192 --jinja
The model was trained with a generic chat prompt that steph builds (command, status, output, facts block). With steph, steph setup downloads and configures it.
License and attributions
Weights: Apache 2.0, following the license shown on the Hugging Face cards of google/gemma-4-E2B-it and google/gemma-4-E2B-it-qat-q4_0-unquantized. Training labels came from Qwen3.5 27B and 9B (Apache 2.0, no restriction on using outputs for training). The steph application is under a different license and is not covered by this card.
Citation
@misc{steph_speak_2026,
author = {Parra, Luis},
title = {steph-speak: small language models that speak terminal output aloud},
year = {2026},
url = {https://huggingface.co/lsmdx/steph-speak-gemma-4-E2B-v2-GGUF}
}