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
File size: 2,437 Bytes
b92999b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | ---
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](https://github.com/ForeignerfromJupiter/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
```python
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.
|