sahellx commited on
Commit
d05611f
·
verified ·
1 Parent(s): 857f24b

Add peer comparison with methodology caveats

Browse files
Files changed (1) hide show
  1. README.md +42 -0
README.md CHANGED
@@ -151,6 +151,48 @@ variable is the fine-tuning. 100 examples per task.
151
  > `--rm ubuntu` is not valid standalone bash); the meaningful figure is
152
  > prefix + completion, at **99.29%**.
153
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
154
  ShellCheck is used because `bash -n` only proves a command *parses*. ShellCheck
155
  catches genuine defects — unquoted expansions (`SC2086`), word splitting
156
  (`SC2046`) — that parse fine and then break on a filename with a space.
 
151
  > `--rm ubuntu` is not valid standalone bash); the meaningful figure is
152
  > prefix + completion, at **99.29%**.
153
 
154
+ ### Comparison with other shell-focused models
155
+
156
+ Alongside the base-model comparison above, an **informal** benchmark was run against
157
+ four other publicly available fine-tunes for shell/linux command generation, all at
158
+ Q4_K_M (except where a repo ships only f16), through llama.cpp on the same 2-thread
159
+ CPU, using the same 80 held-out prompts.
160
+
161
+ | model | params | size | utility acc | token F1 | s/cmd |
162
+ |---|---|---|---|---|---|
163
+ | **Kitty Bash LLM** | **0.5B** | **398 MB** | **78.75** | **59.54** | **1.68** |
164
+ | `louisguthmann/qwen3.5-2b-shellcommand-linux` | 2.0B | 1274 MB | 63.75 | 32.02 | 15.39 |
165
+ | `vitali87/shell-commands-qwen2-1.5b-extended` | 1.5B | 3094 MB | 57.50 | 33.93 | 9.48 |
166
+ | `mecha-org/linux-command-generator-llama3.2-1b` | 1.0B | 808 MB | 52.50 | 34.21 | 2.78 |
167
+ | `chamibuddhika/linux-commands-0407-00` | — | 1709 MB | — | — | — |
168
+
169
+ > #### ⚠️ Please read this before citing the table
170
+ >
171
+ > **This is indicative, not a controlled evaluation.** Four specific caveats, all of
172
+ > which favour this model:
173
+ >
174
+ > 1. **The test set is drawn from this model's own training distribution.** The split
175
+ > is properly held out with zero leakage, but it comes from the same corpora and
176
+ > shares their formatting conventions. The other models never saw that style. This
177
+ > inflates exact match in particular, which is why exact match is omitted above.
178
+ > 2. **All models received *this* model's system prompt.** Peers trained with a
179
+ > different prompt format are being evaluated off-distribution, which alone could
180
+ > account for a large part of the gap.
181
+ > 3. **n = 80.** The 95% confidence interval is roughly ±9 points; the gap to the
182
+ > runner-up is significant only marginally (p ≈ 0.03).
183
+ > 4. **`chamibuddhika/linux-commands-0407-00` returned empty output for every prompt**
184
+ > and is reported as no-result rather than zero — the cause may well be the harness
185
+ > rather than the model. `qwen3.5-shellcommand` emits `</think>` reasoning tags that
186
+ > the harness did not strip, so its syntax-validity score was invalid and has been
187
+ > omitted here.
188
+ >
189
+ > A properly controlled comparison would use a neutral test set none of the models
190
+ > trained on, each model's own prompt format, and n ≥ 500. Treat the ordering above as
191
+ > a hint worth verifying, not a settled result.
192
+ >
193
+ > The **base-model comparison** in the previous section does not carry these caveats:
194
+ > same architecture, same data, same harness, only the fine-tuning differs.
195
+
196
  ShellCheck is used because `bash -n` only proves a command *parses*. ShellCheck
197
  catches genuine defects — unquoted expansions (`SC2086`), word splitting
198
  (`SC2046`) — that parse fine and then break on a filename with a space.