Downloads · 30 days
93
5% of all-time downloads
animeshkundu/cmd-correct
cmd-correct is a machine learning model from animeshkundu. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
Shell command correction models for the fix CLI. Fine-tuned Qwen3 models that correct typos, fix case errors, and translate natural language to shell commands.
Downloads · 30 days
93
5% of all-time downloads
All-time downloads
1.8K
Public
Repo size
3.7 GB
Likes
1
Public
Click a slice to open those files.
.gguf2.6 GB · 100%
From the Hugging Face model README
Shell command correction models for the fix CLI. Fine-tuned Qwen3 models that correct typos, fix case errors, and translate natural language to shell commands.
| Model | Size | Base | Description |
|---|---|---|---|
| qwen3-correct-0.6B.gguf | 378 MB | Qwen3-0.6B | Fast, lightweight (default) |
| qwen3-correct-1.7B.gguf | ~1 GB | Qwen3-1.7B | Higher quality, more capable |
macOS (Homebrew):
brew tap animeshkundu/fix
brew install fix
From Source (Rust):
cargo install --git https://github.com/animeshkundu/fix --features metal # macOS
cargo install --git https://github.com/animeshkundu/fix --features cuda # Linux/Windows with NVIDIA
cargo install --git https://github.com/animeshkundu/fix # CPU only
# Basic correction
fix gti status
# Output: git status
# With shell override
fix --shell powershell Get-ChidItem
# Output: Get-ChildItem
# Switch to larger model
fix --use-model qwen3-correct-1.7B
# List available models
fix --list-models
bash, zsh, fish, powershell, cmd, tcsh
<|im_start|> / <|im_end|> tokens<|im_start|>system
You are a shell command corrector for {shell}. Output only the corrected command.<|im_end|>
<|im_start|>user
{incorrect_command}<|im_end|>
<|im_start|>assistant
| Input | Output | Type |
|---|---|---|
| gti status | git status | typo |
| git remote -V | git remote -v | case |
| dcokre ps | docker ps | typo |
| I need to list docker images | docker images | natural language |
Apache 2.0