How to use from the
Use from the
MLX library
# 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

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.

Downloads last month

-

Downloads are not tracked for this model. How to track
MLX
Hardware compatibility
Log In to add your hardware

Quantized

Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for foreignerfromjupiter/hey-steph-e2b-lora

Adapter
(1)
this model