Views
No views yet
kubelm-qwen2.5-1.5b-v1.llama-server
at temperature 0:| metric | qwen2.5-7b (reference) | kubelm-qwen2.5-1.5b-v1 (edge) | kubelm-qwen3.5-2b-v1 |
|---|---|---|---|
conclusion_rubric_passed | 28 / 35 | 29 / 35 | 32 / 35 |
reference_calls_passed | 28 / 35 | 27 / 35 | 32 / 35 |
fabrications (grounding v2) | 8 | 21 | 3 |
schema_passed (tool-call) | 34 / 35 | 32 / 35 | 35 / 35 |
termination_label == complete | 33 / 35 | 33 / 35 | 35 / 35 |
narrative_inconsistencies | 0 | 0 | 0 |
eval/results/summaries/shape-d-2026-05-27.json.qwen3next loader currently rejects this GGUF (see
Known issues). Use llama.cpp directly:1# Boot the model (Apple Silicon shown; on Linux drop -ngl or set 0)
2brew install llama.cpp # or: build from https://github.com/ggml-org/llama.cpp
3huggingface-cli download rbentaarit/kubelm-qwen3.5-2b-v1 \
4 kubelm-edge.Q4_K_M.gguf --local-dir .
5
6llama-server \
7 -m kubelm-edge.Q4_K_M.gguf \
8 --host 127.0.0.1 --port 8088 \
9 --jinja \
10 -c 16384 \
11 -ngl 99--jinja uses the model's embedded Qwen 3.5 chat template
(including its tool-call rendering). Without it, tool-use will
silently break.-c 16384 matches the model's max_seq_length at training
time. Long-trajectory investigations regularly accumulate 9–11 K
tokens of conversation history; a smaller context errors with HTTP
400 request exceeds the available context size.chat_template_kwargs: {enable_thinking: false} in your /v1/chat/completions payload. The training
corpus contains no <think> blocks; serving in thinking mode is a
train/serve mismatch and silently degrades quality. reasoning_effort
is the equivalent lever on ollama; llama.cpp's OpenAI shim ignores
it for Qwen 3.5 and only reads chat_template_kwargs.1curl -sS http://127.0.0.1:8088/v1/chat/completions \
2 -H 'Content-Type: application/json' \
3 -d '{
4 "model": "kubelm-qwen3.5-2b",
5 "temperature": 0.0,
6 "max_tokens": 2048,
7 "chat_template_kwargs": {"enable_thinking": false},
8 "messages": [
9 {"role": "system", "content": "You are an SRE investigating a Kubernetes cluster via K8sGPT MCP tools..."},
10 {"role": "user", "content": "Why is api-pod in namespace foo not ready?"}
11 ],
12 "tools": [{"type": "function", "function": {"name": "get-resource", "parameters": {"type": "object", "properties": {"resourceType": {"type": "string"}, "name": {"type": "string"}, "namespace": {"type": "string"}}, "required": ["resourceType", "name"]}}}],
13 "tool_choice": "auto"
14 }'kubelm-qwen2.5-1.5b-v1 for K8sGPT integrations
that already speak the OpenAI Chat Completions API.kubectl usage. The tools list is K8sGPT MCP-specific;
training the model on this corpus and then asking it to emit raw
kubectl will cause mode confusion.rbentaarit/kubelm-seed-v0
v0.2 corpus — 561 records across all 33 scenarios, with the corrected
DEFAULT_SYSTEM_PROMPT baked in and a corrective seed for
pod-insufficient-cpu-001. See the
dataset card
"v0.2 corpus" section for the full provenance.q_proj k_proj v_proj o_proj gate_proj up_proj down_proj. LoRA
adapter included in this repo under adapter/.training/configs/kubelm-edge-v02-qwen35.yaml.training/sft.py.
Two Qwen 3.5-specific mitigations are gated on
restore_base_chat_template: true (Qwen 2.5 path is byte-identical
without them):
FastLanguageModel.from_pretrained. Unsloth's loader installs a
tool-schema-enumerating variant that renders unused parameters as
literal None in Qwen 3.5's per-parameter template; the stock
template renders only real arguments.<parameter=X>\nNone\n</parameter>
blocks from rendered training text — Unsloth patches
apply_chat_template at the method level and the patch leaks
even into a freshly-loaded AutoTokenizer, so a string-level
post-pass is the load-bearing mitigation.eval/results/summaries/shape-d-2026-05-27.json.0.4.32. Tool surface and MCP error shapes
change between K8sGPT releases; quality numbers above are not
guaranteed against other versions.2025-03-26.qwen3next loader rejects it
with "layer 24 missing attn_qkv/attn_gate projections". The GGUF
is valid (it loads cleanly under llama.cpp's llama-cli and serves
reliably under llama-server); use llama-server until ollama's
Qwen 3.5 loader stabilizes.kubelm-qwen3.5-0.8b-v1.@misc{kubelm_qwen35_2b_v1,
title = {kubelm-qwen3.5-2b-v1},
author = {Ramzi Ben Taarit and contributors},
year = {2026},
url = {https://huggingface.co/rbentaarit/kubelm-qwen3.5-2b-v1},
note = {QLoRA on Qwen3.5-2B; trained against K8sGPT v0.4.32 MCP trajectories}
}