Looking for a small LLM for Linux command generation
Mirrored from r/LocalLLaMA for archival readability. Support the source by reading on the original site.
I'm looking for a small LLM to act as a Linux command assistant. I will use llama.cpp.
use case:
- User asks in natural language. Model outputs only the shell command
- Should work well with no reasoning (for example, LFM 2.6 has forced reasoning)
- Fast, like ~4B at most, cause it's going to be on CPU
Example 1:
"replace string X with Y in file Z"
Example 2:
"stop and remove docker containers with X in the name"
[link] [comments]
More from r/LocalLLaMA
-
What are some practical tasks I can assign to my local AI models?
Sep 8
-
I made a custom llama.cpp build optimized for 7900xtx (one or two). for qwen 3.8 next and 27B. includes optimizations for PciE x4 and tensor parallel. read inside! (no AI slop)
Sep 8
-
Voice conversations between Gemma4 12B and E2B on GPU and Jetson Orin
Sep 8
-
For Strix Halo - Official llama.cpp isn't ideal and how to highest possible throughput
Sep 8
Discussion (0)
Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.
Sign in →No comments yet. Sign in and be the first to say something.