# Finetuned 1.5B Qwen to generate bash commands at gpt-4o level using 400k synthetic examples + Fully opensource finetune dataset

Digest AI · Generative AI & Models · published 2026-10-05T15:38:16Z

Canonical: https://digestai.news/story/finetuned-1-5b-qwen-to-generate-bash-commands-at-gpt-4o-level-using-40

## Summary

Finetuned 1.5B Qwen to generate bash commands at gpt-4o level using 400k synthetic examples + Fully opensource finetune dataset
How it started

Despite using LLMs for most of the coding, there was always one thing I kept Googling: Bash commands. It's quite flow-breaking to pause work, open Google, type the full query, go to Stack Overflow or similar, and look up the syntax I wanted. Intuitively, this always felt like something a small model would perform well at because you have a finite set of commands, well-defined syntax, and easy-to-generate training data. So one day I decided to actually find out. Over the course of the experiment, I tried six different models: SmolLM 135M, SmolLM 360M, Qwen3-0.6B, Qwen2.5-Coder-1.5B, Qwen3.5-0.8B, and Qwen3.5-2B.

## Key points

- 401,975 synthetic request/command pairs used for fine‑tuning
- Model scored 63.7 % on ALFA‑updated 300‑task benchmark

## Why it matters

Fine‑tuned small models that generate shell commands can reduce context‑switching for developers, demonstrating that lightweight LLMs can match larger models on narrow tasks.

## Sources

1. [Finetuned 1.5B Qwen to generate bash commands at gpt-4o level using 400k synthetic examples + Fully opensource finetune dataset](https://dirac.run/posts/easycommand) (dirac.run, 2026-10-05)

Part of the developing story: [Qwen Bash Command Revolution Unfolds](https://digestai.news/thread/finetuned-1-5b-qwen-to-generate-bash-commands-at-gpt-4o-level-using-400k) (2 stories)

## Cite

Digest AI, "Finetuned 1.5B Qwen to generate bash commands at gpt-4o level using 400k synthetic examples + Fully opensource finetune dataset", 5 October 2026, https://digestai.news/story/finetuned-1-5b-qwen-to-generate-bash-commands-at-gpt-4o-level-using-40

---

Written by Digest AI's editorial model from the linked sources; the sources are the record. Headlines, digests and key points are written by Digest AI and may be quoted with a link to the story page. Linked articles belong to their publishers. Terms: https://digestai.news/terms#reuse
JSON: https://digestai.news/story/finetuned-1-5b-qwen-to-generate-bash-commands-at-gpt-4o-level-using-40.json
