Zero-Leakage 5-Benchmark Evaluation (4,775 Held-Out Execution Tasks)
Every model below was evaluated identically with deterministic greedy decoding (temperature=0, enable_thinking=False for Qwen3 models) across 4,775 strictly held-out, execution-verified test tasks with zero benchmark overlap (832 eval leaks caught and purged from training data via exact normalized prompt + function entry-point deduplication):
- BFCL v3 Live (Full 2,233 tasks):
live_simple (258), live_multiple (1,053), live_parallel (16), live_parallel_multiple (24), and live_irrelevance (882)
- JSONSchemaBench Test (1,000 schemas): Real-world GitHub/OpenAPI/Kubernetes schemas validated with
jsonschema
- Gretel Text-to-SQL Test (1,000 queries): Real in-memory SQLite DDL + INSERT + SELECT result-set equivalence
- HumanEval+ (164 tasks): Full EvalPlus hidden test suite
- MBPP+ (378 tasks): Full EvalPlus hidden test suite
Table with columns: Model (7B–8B, Fast Non-Thinking Mode), Avg 5-Bench, BFCL v3 Live (2,233), JSONSchema (1,000), SQLite SQL (1,000), HumanEval+ (164), MBPP+ (378), Avg Output Tokens (BFCL / JSON)| Model (7B–8B, Fast Non-Thinking Mode) | Avg 5-Bench | BFCL v3 Live (2,233) | JSONSchema (1,000) | SQLite SQL (1,000) | HumanEval+ (164) | MBPP+ (378) | Avg Output Tokens (BFCL / JSON) |
|---|
NousResearch/Hermes-3-Llama-3.1-8B | 62.65% | 61.98% | 86.00% | 77.90% | 46.34% | 41.01% | 50.0 / 120.5 |
Qwen/Qwen2.5-7B-Instruct | 76.93% | 71.47% | 89.40% | 78.80% | 76.22% | 68.78% | 66.3 / 105.1 |
Qwen/Qwen3-8B (Base /no_think) | 78.59% | 75.77% | 86.20% | 80.40% | 76.22% | 74.34% | 51.9 / 134.6 |
flintglass/PrismAgent-8B | 80.11% | 77.43% | 91.70% | 82.10% | 76.83% | 72.49% | 42.9 / 110.3 |
Gain vs. Base Qwen3-8B | +1.52 pts | +1.66 pts | +5.50 pts | +1.70 pts | +0.61 pts | -1.85 pts | -17.3% / -18.1% tokens |
BFCL v3 Live Category Breakdown (Full 2,233 Tasks)
Table with columns: Model, Micro Avg (2,233), Macro Avg (5 cats), live_simple (258), live_multiple (1,053), live_parallel (16), live_par_mult (24), live_irrelevance (882)| Model | Micro Avg (2,233) | Macro Avg (5 cats) | live_simple (258) | live_multiple (1,053) | live_parallel (16) | live_par_mult (24) | live_irrelevance (882) |
|---|
Hermes-3-Llama-3.1-8B | 61.98% | 53.61% | 69.38% | 68.85% | 43.75% | 33.33% | 52.72% |
Qwen2.5-7B-Instruct | 71.47% | 67.90% | 68.60% | 73.50% | 68.75% | 58.33% | 70.29% |
Qwen3-8B (Base /no_think) | 75.77% | 72.79% | 68.60% | 76.45% | 62.50% | 79.17% | 77.21% |
flintglass/PrismAgent-8B | 77.43% | 73.73% | 69.38% | 76.64% | 62.50% | 79.17% | 80.95% |
Training Methodology & Transparent Ablation
PrismAgent-8B was trained strictly on permissively licensed data (Apache-2.0, MIT, CC-BY-4.0) with zero proprietary LLM distillation and four exact deterministic execution verifiers (no LLM-as-a-judge):
- Tool Call & Abstention AST Verifier: Exact tool name, argument value/type, bipartite parallel call matching, and strict non-invocation verification on missing-required-parameter / same-domain unsupported / multilingual greeting queries.
- JSON Schema Verifier: Live Draft-4 / Draft-7 / Draft-2020-12
jsonschema validation rewarding raw, unfenced valid JSON.
- SQLite Execution Verifier: In-memory SQLite DDL + INSERT + SELECT result-set equivalence with execution timeout guards.
- Python Subprocess Unit-Test Verifier: Isolated Python test execution using 100% pure on-policy self-play pairs (no off-policy code style drift).
During development, we observed a classic post-training trade-off that we report transparently below:
Table with columns: Training Stage / Ablation, Avg 5-Bench, BFCL Live, live_simple, live_irrel, JSONSchema, SQLite, HumanEval+, MBPP+| Training Stage / Ablation | Avg 5-Bench | BFCL Live | live_simple | live_irrel | JSONSchema | SQLite | HumanEval+ | MBPP+ |
|---|
Base Qwen/Qwen3-8B (/no_think) | 78.59% | 75.77% | 68.6% | 77.2% | 86.20% | 80.40% | 76.22% | 74.34% |
| Stage-1 Off-Policy SFT (37.5K verified) | 77.67% | 69.50% | 76.4% | 57.6% | 91.20% | 81.20% | 75.00% | 71.43% |
| Balanced Pure On-Policy RLVR (50K rollouts, 0 SFT) | 79.65% | 76.49% | 67.8% | 79.0% | 88.80% | 80.50% | 78.66% | 73.81% |
| SFT + RLVR (40K rollouts) | 73.14% | 44.20% | 3.5% | 99.0% | 92.00% | 81.30% | 76.22% | 71.96% |
Final PrismAgent-8B (Weight-Space Merge: 0.35 Bal-RLVR + 0.25 SFT + 0.40 SFT-RLVR) | 80.11% | 77.43% | 69.4% | 81.0% | 91.70% | 82.10% | 76.83% | 72.49% |
Off-policy SFT sharply improved active tool calling (+7.8 on live_simple) and JSONSchema (+5.0) but degraded tool abstention (-19.6), while balanced Pure On-Policy RLVR avoided forgetting and lifted HumanEval+ (+2.4) and BFCL (+0.7). Combining the same-base checkpoints in BF16 weight space (0.35 Balanced-Pure-RLVR + 0.25 SFT + 0.40 SFT-RLVR) landed strictly on the upper Pareto frontier: 80.11% Avg 5-Bench, 77.43% BFCL Live (+3.8 on Irrelevance), 91.70% JSONSchema (+5.5), 82.10% SQLite (+1.7), 76.83% HumanEval+ (+0.6), and 17–18% fewer output tokens than base Qwen3-8B.
Quickstart
import torchfrom transformers import AutoModelForCausalLM, AutoTokenizer model_id = "flintglass/PrismAgent-8B"tokenizer = AutoTokenizer.from_pretrained(model_id)model = AutoModelForCausalLM.from_pretrained( model_id, torch_dtype=torch.bfloat16, device_map="auto") tools = [ { "type": "function", "function": { "name": "get_weather", "description": "Get current weather for a city.", "parameters": { "type": "object", "properties": { "city": {"type": "string", "description": "City name"}, "unit": {"type": "string", "enum": ["celsius", "fahrenheit"]}, }, "required": ["city"], }, }, }] messages = [{"role": "user", "content": "What's the weather in Tokyo and Berlin right now?"}]prompt = tokenizer.apply_chat_template( messages, tools=tools, tokenize=False, add_generation_prompt=True, enable_thinking=False)inputs = tokenizer(prompt, return_tensors="pt").to(model.device)out = model.generate(**inputs, max_new_tokens=256, do_sample=False)print(tokenizer.decode(out[0, inputs["input_ids"].shape[1]:], skip_special_tokens=True))
vllm serve flintglass/PrismAgent-8B \ --dtype bfloat16 \ --enable-auto-tool-choice \ --tool-call-parser hermes \ --port 8000
3. Local CPU / Apple Silicon / Consumer GPU (Ollama & llama.cpp)
Use flintglass/PrismAgent-8B-GGUF:
ollama run hf.co/flintglass/PrismAgent-8B-GGUF:Q4_K_M
The Flintglass Prism Open-Source Agent Stack
Build a complete, Apache-2.0, local-first reliable agent pipeline:
Limitations & Responsible Use
- PrismAgent-8B is optimized for fast, non-thinking (
enable_thinking=False) structured tool calling, schema generation, SQL, and concise Python synthesis; for open-ended mathematical proofs or multi-page creative writing, dedicated reasoning models may be preferable.
- Always execute model-generated SQL queries and Python code in sandboxed / least-privilege environments with read-only database permissions where appropriate.
License
Apache 2.0. Built by Flintglass Labs.