CoolFace
Modelpublic

C-H-Liu/bash2nl-qwen2.5-coder-3b-GGUF

sourceHugging Faceotherupdated 7d agoView on Hugging Face
1likes69downloads
Model Card

bash2nl — Qwen2.5-Coder-3B QLoRA, GGUF q4KM

Explains a Bash command line in exactly one English sentence, phrased as an instruction starting with a verb. QLoRA fine-tune of Qwen/Qwen2.5-Coder-3B-Instruct, merged and quantized to q4KM.

find . -name "*.py"
-> Find all *.py files/directories under current directory

Usage

bash
hf download C-H-Liu/bash2nl-qwen2.5-coder-3b-GGUF --local-dir bash2nl-3b
cd bash2nl-3b && ollama create bash2nl-3b -f Modelfile
ollama run bash2nl-3b 'ps -ef | grep nginx | awk "{print \$2}" | xargs kill -9'

The Modelfile pins the system prompt and this decoding:

optionvalue
temperature0.0
top_k1
top_p1.0
repeat_penalty1.0
num_predict96
num_ctx4096
stop`<im_end>, <endoftext>`

Evaluation

920 held-out commands Judge columns are claude-sonnet-5 scoring a fixed 200-command subset.

metric3B base3B qlora f163B qlora q4_K_M, no examples**this model**7B qlora q4_K_M
BLEU13.4932.0432.0432.3033.49
chrF43.1250.8550.8150.3952.21
ROUGE-L37.5851.9151.3751.1953.24
judge acceptable+0.7850.8900.8250.8750.890
judge wrong0.2150.1100.1750.1250.110
avg words18.511.811.911.912.4

License

Apache-2.0, matching the base model, whose weights this GGUF contains. Training data comes from the nl2bash project; consult it for the terms attached to that corpus.