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
- E2B Moves Off Native Firecracker to Custom Sandbox Runtime — badphilosopher · 2026-08-14
- GooeyPi: A Cross-Platform Desktop GUI for Local Coding Agents — kevinkern · 2026-08-14
- Building a 3D Web Monopoly Game Rapidly with Claude and Codex — nijfranck · 2026-08-14
- GitHub Report: Open Source Security Practices in the AI Era — mariorod1 · 2026-08-14
- Developer Shares Most Used AI Agent Skills Based on Real-World Workflow — kevinkern · 2026-08-14
- Rails Agent Benchmark: Claude Opus 5 Most Accurate, GPT-5.6 Luna Best Value — sergeykarayev · 2026-08-14