Qwen-Compiler-Mind-4B v3.2.3 (Clean Reset Edition)
Qwen-Compiler-Mind-4B v3.2.3 resets the fine-tuning lineage cleanly back to commit 0ebb9b2418 (v1.0 A100 Clean Base), eliminating 8 generations (v2.0..v3.2.2) of cumulative merge_and_unload() drift, template overfitting, stub hallucinations, and <|im_end / <lim_end> EOS leaks.
Key v3.2.3 Fixes & Engineering Invariants
- Clean Base Anchor (
0ebb9b2418) & Anti-Overfit LoRA: Single-stage SFT withr=16,lora_alpha=32,lr=8e-5,1.5epochs, cosine schedule,effective_batch_size=32, evaluated every15steps (best_eval_loss = 0.4170at checkpoint 135). - Assistant-Only Loss Masking (
train_on_prompt=False): Masked all tokens up to and including the last<|im_start|>assistant\n(labels = -100) and verified clean<|im_end|>(151645) termination across all 3,200 samples (2,880train /320stratified eval). - Zero-Leakage & Multi-Turn Curriculum (
qwen_v3_2_3_curriculum.json, 3,200 samples):600Fast-Path Vietnamese conversational & short technical Q&A samples900Clean Action-Oriented Code & Systems Engineering samples (0 stub placeholders, 0SystemsUnittemplates, 0 HumanEval test leakage)800Formal CS, Logic & STEM Reasoning samples (0 MMLUtestsplit leakage)820GSM8K Arithmetic & Symbolic Reasoning samples80Multi-Turn (2–3 turns) Code Debugging & Self-Correction Dialogues
- Verified on NVIDIA A100-SXM4-80GB.
🏆 Benchmark Scorecard (Evaluated on NVIDIA A100)
| Metric / Benchmark | v3.2.2 | v3.2.3 (A100 Verified) | Notes |
|---|---|---|---|
| Behavioral & EOS Hygiene Probe | Fail (<lim_end>, stub/persona leaks) | 3 / 3 (100%) ✅ | Clean 151645 EOS on greetings, capabilities, and multi-turn debug |
| Open-Ended VN HumanEval (10 tasks, uncleaned) | 6/10 Strict (60.0%), 8/10 Hygiene | 8 / 10 Strict (80.0%), 10 / 10 Hygiene (100%) 🚀 | No English signatures/docstrings; no regex stub/garbage cleanup |
| HumanEval (Pass@1, 50 tasks) | 40/50 (80.0%) | 43 / 50 (86.0%) 🏆 | New All-Time High (+6.0%) |
| GSM8K (Batched CoT, 100 tasks) | 72/100 (72.0%) | 75 / 100 (75.0%) ⚡ | +3.0% even with 80 GSM8K samples swapped for multi-turn debug |
| MMLU (College CS & Formal Logic, 101 tasks) | 57/101 (56.44%) (leaked test split) | 51 / 101 (50.50%) | Honest zero-leakage score (MMLU test purged from curriculum) |
📦 Quantized GGUF Triplet (v3.2.3 Available Now)
Compiled natively with CMake AVX2/SIMD (-DGGML_CUDA=OFF):
| File Name | Precision | File Size | Recommended Target |
|---|---|---|---|
qwen-compiler-mind-v3.2.3-Q8_0.gguf | 8-bit | ~4.48 GB | Reference accuracy, server inference, benchmarking |
qwen-compiler-mind-v3.2.3-Q6_K.gguf | 6-bit | ~3.46 GB | Sweet spot: Laptop CPU / integrated GPU |
qwen-compiler-mind-v3.2.3-Q4_K_M.gguf | 4-bit | ~2.59 GB | Low-memory edge devices, mobile RAM |
🚀 Running with Ollama
# 1. Download Modelfile and Q6_K GGUF
ollama create qwen-compiler-mind-v3.2.3 -f Modelfile
# 2. Run interactively
ollama run qwen-compiler-mind-v3.2.3
📜 Citations & Architecture Credits
- Architects: Ritmada (@RitmadaPrompt) & Tri (@Trivnpk)
- Base Anchor:
Trivnpk/Qwen-Compiler-Mind-4B@0ebb9b2418(Qwen3ForCausalLM) - License: Apache 2.0