Instructions to use foreignerfromjupiter/hey-steph-e2b-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use foreignerfromjupiter/hey-steph-e2b-lora with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download foreignerfromjupiter/hey-steph-e2b-lora --local-dir hey-steph-e2b-lora
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Download README.md from foreignerfromjupiter/hey-steph-e2b-lora: direct link, hf CLI and curl.
- Browser
- Download file 2.44 kB
-
https://huggingface.co/foreignerfromjupiter/hey-steph-e2b-lora/resolve/main/README.md
- Command line
-
hf download hf://foreignerfromjupiter/hey-steph-e2b-lora/README.md
-
curl -L -o README.md https://huggingface.co/foreignerfromjupiter/hey-steph-e2b-lora/resolve/main/README.md
base_model: mlx-community/gemma-4-E2B-it-qat-4bit
library_name: mlx-lm
tags:
- lora
- mlx
- tool-calling
- voice-assistant
license: gemma
Hey Steph — E2B routing LoRA adapter
A real LoRA adapter trained to improve tool-selection/routing accuracy for Hey Steph, a local-first, voice-controlled macOS assistant. Distilled from a larger local model's tool-selection judgment into the small, fast default routing model, so the free/local tier gets meaningfully smarter without any change in speed.
What this is
A LoRA fine-tune of mlx-community/gemma-4-E2B-it-qat-4bit — teacher/student
distillation, where a much larger local model (gemma-4-26b-a4b-it-4bit)
generated real tool-call labels for ~250 held-out voice-command examples, and
this adapter was trained (via mlx_lm.lora, rank 8, 1600 iterations) to
reproduce that judgment on the small model.
Real, held-out evaluation results
Verified before deployment, not just trusted from training loss:
| Test set | Base model | With this adapter |
|---|---|---|
| Distillation held-out (46 cases) | 42/46 (91.3%) @ 1.22s/call | 44/46 (95.7%) @ 1.34s/call |
| Broader routing regression suite (54 cases) | 50/54 (92.6%) @ 1.34s/call | 51/54 (94.4%) @ 1.39s/call |
Zero regressions in either set — nothing the base model already got right was made worse. The only changes were fixes: the fine-tuned model correctly declines ambiguous commands (e.g. "call mom", "close every window right now") that the base model would previously guess at.
Honest cost: roughly +0.1–0.15s per call (the adapter computation itself), measured directly, not estimated.
Usage
from mlx_vlm import load
model, processor = load(
"mlx-community/gemma-4-E2B-it-qat-4bit",
adapter_path="path/to/this/adapter",
)
Note: this adapter was verified to work correctly when loaded via
adapter_path (base weights + adapter applied at inference time). An earlier
attempt to fuse it into standalone weights was found to break tool-call
output on live inference despite looking fine in evaluation — if reusing
this adapter elsewhere, prefer adapter_path loading over fusing unless you
independently re-verify fused output against real generations.
License
Inherits the base model's license (Gemma). This adapter's own weights are released for anyone to use under the same terms.