Flintglass PrismVerify-35B-A3B

Fast 3B-Active MoE (35B Total) 8K RAG Hallucination & Groundedness Verifier โ€” trained via Pure On-Policy RLVR (PPO-Clipped GRPO) on Qwen/Qwen3.6-35B-A3B across our strictly held-out, zero-leakage 63,806-example flintglass/PrismVerify-Corpus.

Crushes Base Qwen/Qwen3.6-35B-A3B across ALL 5 out of 5 strictly held-out zero-shot hallucination benchmarks (8,857 tasks) on both Hallucination F1 (0.6850 -> 0.7325, +4.75 pts) and Macro F1 (0.6911 -> 0.7930, +10.19 pts!), achieving 0.8048 RAGTruth Hallucination F1 / 0.8522 Macro F1 (+13.63 pts!), +21.80 pts Macro F1 (+35.79 pts Accuracy!) on Zero-Shot FinQA-OOD, 0.9499 LongRAG-8K, and 99.93% strict JSON schema compliance at ~55 tokens/verdict and 3B-active MoE inference speed!

Part of the Flintglass Prism Open-Source Agent & RAG Stack ยท GGUF Quantizations: flintglass/PrismVerify-35B-A3B-GGUF (Q4_K_M, Q6_K) ยท Live CPU Demo: flintglass/PrismVerify-Demo


Verified 5-Benchmark Zero-Shot Hallucination Leaderboard (8,857 Tasks)

Evaluated deterministically (temperature=0.0, enable_thinking=False) across 5 strictly held-out benchmarks (zero overlap with training data):

Model Active / Total RAGTruth (2,700) F1 / Macro HaluEval (1,500) F1 / Macro DocNLI (2,000) F1 / Macro FinQA-OOD (1,657) F1 / Macro LongRAG-8K (1,000) F1 / Macro 5-Bench Halluc. F1 5-Bench Macro F1 Valid JSON
Qwen/Qwen3.6-35B-A3B (Base) 3B / 35B 0.7013 / 0.7159 0.7340 / 0.6754 0.7639 / 0.7283 0.2999 / 0.4141 0.9261 / 0.9218 0.6850 0.6911 99.65%
flintglass/PrismVerify-35B-A3B 3B / 35B 0.8048 / 0.8522 0.7406 / 0.7366 0.7794 / 0.7953 0.3878 / 0.6321 0.9499 / 0.9490 0.7325 0.7930 99.93%
Delta vs Base โ€” +10.35 / +13.63 +0.66 / +6.12 +1.55 / +6.70 +8.79 / +21.80 +2.38 / +2.72 +4.75 +10.19 +0.28

Quickstart (transformers)

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "flintglass/PrismVerify-35B-A3B"
tok = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, dtype=torch.bfloat16, device_map="auto").eval()

SYSTEM_PROMPT = (
    "You are Flintglass PrismVerify, a strict RAG groundedness and hallucination verifier. "
    "Compare the [CLAIM] against the [CONTEXT] ONLY (never rely on outside knowledge). "
    "Respond ONLY with a valid JSON object matching this exact schema:\n"
    '{"verdict": "FAITHFUL" | "UNSUPPORTED" | "CONTRADICTION", "hallucinated": false | true, "reason": "concise evidence-based justification (<=30 words)"}\n'
    "Rules:\n"
    "- FAITHFUL (hallucinated=false): Every factual claim is directly supported by [CONTEXT].\n"
    "- UNSUPPORTED (hallucinated=true): Introduces facts, numbers, or entities absent from [CONTEXT].\n"
    "- CONTRADICTION (hallucinated=true): Directly contradicts information stated in [CONTEXT]."
)

messages = [
    {"role": "system", "content": SYSTEM_PROMPT},
    {"role": "user", "content": "[CONTEXT]\nQ3 revenue rose 14% YoY to $2.4B.\n\n[CLAIM]\nQ3 revenue grew 24% YoY to $2.4B."},
]
prompt = tok.apply_chat_template(messages, tokenize=False, add_generation_prompt=True, enable_thinking=False)
inputs = tok(prompt, return_tensors="pt").to(model.device)
with torch.inference_mode():
    out = model.generate(**inputs, max_new_tokens=160, do_sample=False)
print(tok.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))

Output Schema

{"verdict": "CONTRADICTION", "hallucinated": true, "reason": "Context states Q3 revenue rose 14% YoY, contradicting the claim of 24% YoY growth."}

Training & Provenance

  • Base Model: Qwen/Qwen3.6-35B-A3B (Apache-2.0, 3B-active MoE)
  • Method: Pure On-Policy RLVR (PPO-Clipped GRPO, 40 steps, K=8 rollouts, LoRA r=32 merged cleanly into native BF16 weights)
  • Corpus: flintglass/PrismVerify-Corpus (strictly permissive commercial-safe sources; zero leakage into RAGTruth, HaluEval, DocNLI, FinQA-OOD, or LongRAG-8K)
  • 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/PrismVerify-35B-A3B

Finetuned
(564)
this model
Quantizations
1 model