Stop Googling Flags: 1.5B Fine-tuned Model Generates Shell Commands Instantly on CPU
PicassoOnPause · reddit · 2026-08-14
To solve the pain of frequently searching for command flags, the author fine-tuned Qwen2.5-Coder-1.5B specifically for natural language to Shell commands (nl2sh).
- Performance: Trained on 125k natural-language/command pairs. On a standard laptop CPU, it achieves 31.9 tok/s, with a median query latency of 0.59s and 1.6GB RAM usage.
- Benchmarks: Scores 0.620 on InterCode-ALFA, slightly outperforming the untuned Qwen2.5-Coder-7B (0.613) and approaching GPT-4o (0.73).
- Open Source: Includes a static safety checker to prevent malicious commands. Weights and code are open-source under Apache-2.0.
More from coding & agent
- 6 MCP servers ate 30k tokens before the first prompt: a Claude Code slimming recipe — for-entire-phonly · 2026-11-30
- Redditor ships 14-rule Lumen Anchor Protocol claiming math-anchored hallucination and jailbreak immunity — Teralitha · 2026-11-30
- Developer explains agent memory design: append-only storage plus quarantine to handle collisions — rchardkovacs · 2026-11-30
- WorkflowArena: 145 long-horizon tasks benchmark multi-agent orchestration across nine models — jiqizhixin · 2026-11-30
- VASP: visual-anchored agent tops scientific poster generation with 94.3 mAP figure extraction — Huihan Wang · 2026-11-30
- Dev shows agents auto-verifying and sending SAFE fundraising docs in parallel — Scobleizer · 2026-11-30