--- language: - en license: apache-2.0 library_name: transformers pipeline_tag: text-generation base_model: Qwen/Qwen3.6-35B-A3B tags: - flintglass - prismcode - qwen3 - moe - coding - python - evalplus - rlvr - grpo - apache-2.0 --- # Flintglass PrismCode-35B-A3B **Ultra-Fast 3B-Active MoE Execution-Verified Python Coding Specialist on Apache-2.0 `Qwen/Qwen3.6-35B-A3B` (35B Total / 3B Active Parameters)** — achieving **#1 Overall EvalPlus Strict Score in the Flintglass Stack**: **`89.63%` HumanEval+ (+0.61 pts)**, **`78.57%` MBPP+ (+0.53 pts, `-15%` tokens)**, **`84.10%` EvalPlus Strict Macro Average (+0.57 pts)**, and **`81.92%` Micro Average (`444/542` strict EvalPlus tasks solved!)** at **3B-class inference speed**! > **Part of the [Flintglass Prism Open-Source Agent & RAG Stack](https://huggingface.co/collections/flintglass/flintglass-prism-open-agent-and-rag-stack-6b0df22104aefbb7e8d4fe11)** · **GGUF Quantizations:** [`flintglass/PrismCode-35B-A3B-GGUF`](https://huggingface.co/flintglass/PrismCode-35B-A3B-GGUF) (`Q4_K_M`, `Q6_K`) --- ## Verified Zero-Leakage EvalPlus Strict Results (542 Tasks) Evaluated identically with greedy decoding (`temperature=0.0`, `enable_thinking=False`) against the full **EvalPlus** strict test suites (80× more edge-case unit tests than standard HumanEval/MBPP): | Benchmark | Tasks | `Qwen/Qwen3.6-35B-A3B` (Base) | **`flintglass/PrismCode-35B-A3B`** | Delta | Avg Tokens (Base -> PrismCode) | |---|---:|---:|---:|---:|---:| | **HumanEval+ (EvalPlus Strict)** | 164 | 89.02% (146/164) | **89.63% (147/164)** | **+0.61 pts** | 271.2 -> **263.3 (-3%)** | | **MBPP+ (EvalPlus Strict)** | 378 | 78.04% (295/378) | **78.57% (297/378)** | **+0.53 pts** | 178.9 -> **152.4 (-15%)** | | **EvalPlus Macro Average** | **542** | **83.53%** | **84.10%** | **+0.57 pts** | — | | **EvalPlus Micro Average** | **542** | **81.37% (441/542)** | **81.92% (444/542)** | **+0.55 pts** | — | --- ## Quickstart (`transformers`) ```python import torch from transformers import AutoModelForCausalLM, AutoTokenizer model_id = "flintglass/PrismCode-35B-A3B" tok = AutoTokenizer.from_pretrained(model_id) model = AutoModelForCausalLM.from_pretrained(model_id, dtype=torch.bfloat16, device_map="auto") messages = [{"role": "user", "content": "Write a Python function `merge_intervals(intervals)` that merges overlapping [start, end] intervals."}] prompt = tok.apply_chat_template(messages, tokenize=False, add_generation_prompt=True, enable_thinking=False) inputs = tok(prompt, return_tensors="pt").to(model.device) out = model.generate(**inputs, max_new_tokens=512, do_sample=False) print(tok.decode(out[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True)) ``` ## Training & Provenance - **Base Model:** `Qwen/Qwen3.6-35B-A3B` (Apache-2.0, 35B total / 3B active MoE) - **Algorithm:** Pure On-Policy PPO-Clipped GRPO (`r=32`, 20 steps, `K=8` rollouts/prompt, isolated subprocess unit-test execution reward with zero token-shortening penalty). - **License:** Apache-2.0