Views
No views yet
qwen14b-dapt-offsec),
V9 SFT (qwen14b-code-trainer-v9_mixed),
and V10 GRPO (qwen14b-code-trainer-v10-grpo)
— is merged into
Qwen/Qwen2.5-Coder-14B-Instruct
and quantized via llama.cpp.a100-large — the GPU sits
idle, we use that flavor only for its 144 GB system RAM during the float16
merge step.| File | Quantization | Size (≈) | Notes |
|---|---|---|---|
Qwen2.5-Coder-14B-Instruct-Q5_K_M.gguf | Q5_K_M | ~10.5 GB | Recommended default (V9+) — preserves <tool_call> tag fidelity |
Qwen2.5-Coder-14B-Instruct-Q5_K_M.gguf | Q4_K_M | ~9 GB | Fallback — balanced quality / footprint |
--quants to launch_convert.py.llama-cli, llama-server, Ollama, LM Studio, or
text-generation-webui.qwen14b-code-trainer-aggressive
card flags as out of scope (no safety tuning, no non-code tasks).Qwen/Qwen2.5-Coder-14B-Instruct
→ merge DAPT LoRA (qwen14b-dapt-offsec)
→ merge V9 SFT LoRA (qwen14b-code-trainer-v9_mixed)
→ merge V10 GRPO LoRA (qwen14b-code-trainer-v10-grpo)
→ convert_hf_to_gguf.py + llama-quantize → Q5_K_M| Stage | Repo / artifact |
|---|---|
| Base model | Qwen/Qwen2.5-Coder-14B-Instruct |
| DAPT adapter | cmndcntrlcyber/qwen14b-dapt-offsec |
| SFT adapter (V9) | cmndcntrlcyber/qwen14b-code-trainer-v9_mixed |
| GRPO adapter (V10) | cmndcntrlcyber/qwen14b-code-trainer-v10-grpo |
| Converter | llama.cpp (convert_hf_to_gguf.py + llama-quantize) |
| Conversion runtime | HF Job, a100-large, ~1 h on the merge + quantize path |
1llama-server \
2 -m Qwen2.5-Coder-14B-Instruct-Q5_K_M.gguf \
3 --host 0.0.0.0 --port 8080 \
4 --ctx-size 8192 --n-gpu-layers 9991FROM ./Qwen2.5-Coder-14B-Instruct-Q5_K_M.gguf
2TEMPLATE """{{ if .System }}<|im_start|>system
3{{ .System }}<|im_end|>
4{{ end }}{{ range .Messages }}{{ if eq .Role "user" }}<|im_start|>user
5{{ .Content }}<|im_end|>
6{{ else if eq .Role "assistant" }}<|im_start|>assistant
7{{ .Content }}<|im_end|>
8{{ else if eq .Role "tool" }}<|im_start|>tool
9{{ .Content }}<|im_end|>
10{{ end }}{{ end }}<|im_start|>assistant
11"""
12PARAMETER stop "<|im_start|>"
13PARAMETER stop "<|im_end|>"
14PARAMETER num_ctx 81921from llama_cpp import Llama
2
3llm = Llama(
4 model_path="Qwen2.5-Coder-14B-Instruct-Q5_K_M.gguf",
5 n_ctx=8192,
6 n_gpu_layers=999,
7)
8print(llm.create_chat_completion(messages=[
9 {"role": "user", "content": "Write a Go function that reverses a UTF-8 string."},
10])["choices"][0]["message"]["content"])python -m src.phase5_deployment.scripts.launch_convert --quants Q8_0.1set -a && source .env && set +a
2python -m src.phase5_deployment.scripts.launch_convert \
3 --config src/config/config.yaml --waitsrc/phase5_deployment/)src/config/pipeline-50.yml (deployment section)a100-large once the job runs.