steph-speak Granite 4.0 H 350M v2 (GGUF)
Small 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 small tier of steph, a talking terminal, and targets slow PCs and machines with 4 GB of memory.
| File | steph-speak-granite-4.0-h-350M-sft-v2.0-Q4_K_M.gguf |
| Size | 222,662,112 bytes |
| sha256 | 0a4b8f42884a6cc87ac8958528f7c1f95bc702f08b3cb0ee7ea32063e1717199 |
| Base | ibm-granite/granite-4.0-h-350m (Apache 2.0) |
| License | Apache 2.0 |
| Languages | English, French |
| Quantization | Q4_K_M |
The larger sibling is steph-speak-gemma-4-E2B-v2-GGUF.
Intended use
Reads a command, its exit code and its output, and answers in at most 15 words: the result first, then one useful detail, with names and numbers copied exactly. Also answers questions about a short session history and says when the answer is not in it.
Out of scope: security advice or automated decisions from command output, summarizing anything that is not terminal output, safety certification of an assistant. The model lowers the risk of invented facts, it does not remove it; steph adds a grounding check on top.
Training
| Item | Value |
|---|---|
| Method | LoRA SFT (rank 16, alpha 32, all-linear), learning rate 2e-4, 3 epochs, 4 seeds averaged into one set of weights (uniform soup); no preference tuning |
| Starting point | previous steph-speak Granite 350M weights, merged |
| Data | 4,571 training and 221 validation examples, English and French: summaries, feature prompts and history questions, plus examples that fix answers given in the wrong language. See steph-speak-train |
| 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 is checked against the held-out benchmark by fingerprint; zero rows rejected in the final mix |
Evaluation
Held-out internal test set (654 cases, English and French, 3 decoding seeds, paired bootstrap, 95% interval) against the previous steph-speak Granite model. This internal set is not released; the public steph-speak-bench is a smaller companion.
| Measure | Previous model | This model | Difference |
|---|---|---|---|
| Quality score | 50.6 | 53.0 | +2.35 [+0.22; +4.47] |
| Invented facts (LLM judge, 9B) | 30.6 % | 26.0 % | -4.60 [-8.31; -0.93] |
| Spoken phrasing, strong judge, net preference | - | - | +18.8 [+8.3; +28.7] |
| Wrong language under an English prompt | 12.3 % | 4.4 % | -7.9 points |
| Production score (aids and grounding guard on) | 58.9 | 60.3 | +1.44 [-0.27; +3.14], not significant |
| History questions (70 cases) | 46.9 | 46.2 | -0.71 [-9.05; +7.62], not significant |
Steph Speak Bench, test split, 62 cases per language, steph protocol: French 41.5 (previous 43.2, not significant), English 48.3 (previous 47.2, not significant).
Speed on an Intel i5-7200U (CPU only, llama.cpp): first token p90 2.33 s, peak memory 564 MB, same as the previous model.
Limitations
- Trained and evaluated on Linux and macOS tool output in English and French; no Windows.
- Still invents facts in roughly a quarter of the judged answers on the internal test set; do not rely on it without a grounding check.
- History questions did not improve over the previous model (46.2 against 46.9, not significant); on questions whose answer is absent it abstains about as often as before.
- On the public bench the French score is 1.7 points below the previous model (not significant).
- Evaluation was run with CUDA on one GPU and with fixed seeds; other runtimes were not tested for quality.
- Carbon footprint not measured.
Prompts
The model was trained with these system prompts. Use them as is.
French:
Tu lis la sortie d'une commande de terminal et tu dis à voix haute l'essentiel, en français. Réponds par une seule ligne courte, 15 mots au plus : d'abord le résultat, puis un détail utile. Recopie les noms et les nombres exactement comme dans la sortie. Si une information n'est pas écrite dans la sortie, ne la donne pas : n'invente jamais.
English:
You read the output of a terminal command and say the essential aloud, in English. Answer with a single short line, 15 words at most: the result first, then one useful detail. Copy names and numbers exactly as they appear in the output. If a detail is not written in the output, do not give it: never invent.
Use
# Granite hybrid (Mamba) models: disable the prompt cache copy to avoid memory growth
llama-server -hf lsmdx/steph-speak-granite-4.0-h-350M-v2-GGUF:Q4_K_M --cache-ram 0 -c 4096
With steph, steph setup downloads and configures it.
License and attributions
Weights: Apache 2.0, like the base model. Training labels came from Qwen3.5 27B and 9B (Apache 2.0, no restriction on using outputs for training). The steph application itself 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-granite-4.0-h-350M-v2-GGUF}
}