Text Classification
Transformers
Safetensors
English
Korean
qwen3_5
image-text-to-text
ztc
answer-verification
hallucination-detection
zero-token
confidence-estimation
Instructions to use FINAL-Bench/ZTC-Judge-9B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FINAL-Bench/ZTC-Judge-9B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="FINAL-Bench/ZTC-Judge-9B")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("FINAL-Bench/ZTC-Judge-9B") model = AutoModelForMultimodalLM.from_pretrained("FINAL-Bench/ZTC-Judge-9B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
card: generate candidates and let the verifier pick (+2.31 pp); majority voting measured as a loss
Browse files
README.md
CHANGED
|
@@ -192,11 +192,47 @@ The score alone is not actionable, so the response carries the measured conseque
|
|
| 192 |
| **Escalate the lowest 20% to a stronger model** | **+1.34 pp** end-to-end |
|
| 193 |
| **Send the lowest 20% to human review** | catches **47.2%** of all errors — 2.4× random |
|
| 194 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 195 |
**One thing that does not work:**
|
| 196 |
|
| 197 |
-
🔴 **Do not
|
| 198 |
-
|
| 199 |
-
|
| 200 |
|
| 201 |
*Escalation pays for itself through precision, not recall. Re-answering repairs about 38% of wrong
|
| 202 |
answers and damages about 30% of right ones, so a gate is only worth its budget if it mostly calls
|
|
|
|
| 192 |
| **Escalate the lowest 20% to a stronger model** | **+1.34 pp** end-to-end |
|
| 193 |
| **Send the lowest 20% to human review** | catches **47.2%** of all errors — 2.4× random |
|
| 194 |
|
| 195 |
+
### Generate several candidates and let the verifier pick
|
| 196 |
+
|
| 197 |
+
When the score is low, the most effective next step is not to escalate — it is to **produce more
|
| 198 |
+
candidate answers and select between them**. Measured on 346 questions with five candidates each
|
| 199 |
+
(1,730 candidates), all scored through this endpoint:
|
| 200 |
+
|
| 201 |
+
| Policy | Accuracy | Output tokens | vs. one attempt |
|
| 202 |
+
|---|---|---|---|
|
| 203 |
+
| One attempt | 49.13% | 72 | — |
|
| 204 |
+
| Majority vote over 3 | 46.82% | 212 | **−2.31 pp** |
|
| 205 |
+
| Majority vote over 5 | 46.53% | 353 | **−2.60 pp** |
|
| 206 |
+
| **Pick best of 5 with this model** | **51.45%** | 353 | **+2.31 pp** |
|
| 207 |
+
| Pick best of 5 with JEV | 53.47% | 353 | +4.34 pp |
|
| 208 |
+
| Pick one of 5 at random | 46.82% | 353 | −2.31 pp |
|
| 209 |
+
| *Oracle — any correct candidate counts* | *63.87%* | *353* | *+14.74 pp* |
|
| 210 |
+
|
| 211 |
+
**The same five candidates swing by 5 points depending on how one is chosen.** Majority voting is
|
| 212 |
+
worse than not resampling at all: when a model prefers a wrong answer, more samples make that wrong
|
| 213 |
+
consensus more certain. A verifier that ranks the candidates is what turns extra samples into
|
| 214 |
+
accuracy.
|
| 215 |
+
|
| 216 |
+
**Spend the budget only where it is needed.** Generating extra candidates only for low-scoring
|
| 217 |
+
first attempts captures most of the gain at a fraction of the cost:
|
| 218 |
+
|
| 219 |
+
| Triggered on | Accuracy | Output tokens | vs. one attempt |
|
| 220 |
+
|---|---|---|---|
|
| 221 |
+
| 10% of items | 49.71% | 80 | +0.58 pp |
|
| 222 |
+
| **30% of items** | **50.87%** | **132** | **+1.73 pp** |
|
| 223 |
+
| 100% of items | 51.45% | 353 | +2.31 pp |
|
| 224 |
+
|
| 225 |
+
**At a 30% trigger rate you get three quarters of the benefit for 1.8× the tokens**, where always
|
| 226 |
+
generating costs 4.9× for 1.3× the benefit.
|
| 227 |
+
|
| 228 |
+
*Scope: one generator (GPT-4o-mini), one item set, five candidates. The oracle row shows the
|
| 229 |
+
headroom that remains — a correct candidate is present far more often than any policy recovers it.*
|
| 230 |
+
|
| 231 |
**One thing that does not work:**
|
| 232 |
|
| 233 |
+
🔴 **Do not take a majority vote over resamples.** Measured: five resamples with majority voting score **46.53%** where a single attempt scores **49.13%**. More candidates make a wrong consensus more certain unless something picks between them — see the table above.
|
| 234 |
+
|
| 235 |
+
|
| 236 |
|
| 237 |
*Escalation pays for itself through precision, not recall. Re-answering repairs about 38% of wrong
|
| 238 |
answers and damages about 30% of right ones, so a gate is only worth its budget if it mostly calls
|