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 Β· GGUF Quantizations: 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)

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
Downloads last month
-
Safetensors
Model size
36B params
Tensor type
BF16
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for flintglass/PrismCode-35B-A3B

Finetuned
(564)
this model
Quantizations
1 model

Collection including flintglass/PrismCode-35B-A3B