Downloads · 30 days
0
etomoscow/tool-calling-hallucination-large-ensemble
tool-calling-hallucination-large-ensemble is a token classification model from etomoscow. Use it when you need labels on individual words, such as names. The card lists the license as mit.
A weighted probability ensemble of 4 ModernBERT span models (3 large CE + 1 base CRF) with span post-processing. Reproduces the best result from the experiment campaign: 0.9478 span-level IoU F1 on the s-nlp/toolace-u…
Downloads · 30 days
0
Access
Public
Updated Jun 14, 2026
Repo size
3 GB
Likes
0
Public
Click a slice to open those files.
.safetensors2.7 GB · 90%
From the Hugging Face model README
A weighted probability ensemble of 4 ModernBERT span models (3 large CE +
1 base CRF) with span post-processing. Reproduces the best result from the
experiment campaign: 0.9478 span-level IoU F1 on the
s-nlp/toolace-unified-hallucinations test split.
Span-level IoU F1 (greedy matching, IoU ≥ 0.5):
| System | Span F1 | answer_mismatch | missing_tool | overgeneration |
|---|---|---|---|---|
| Published baseline | 0.9176 | 0.8432 | 0.9895 | 0.9373 |
| This ensemble | 0.9478 | 0.9237 | 0.9951 | 0.9426 |
+3.02 points over the published base checkpoint (+3.3% relative); the
answer_mismatch bottleneck improves 0.8432 → 0.9237 (+9.6% rel).
| Member | Backbone / head | Span F1 | weight |
|---|---|---|---|
members/run_13 | ModernBERT-large, CE | 0.9350 | 1.5 |
members/run_20 | ModernBERT-large + AM3×, CE | 0.9407 | 1.5 |
members/run_27 | ModernBERT-large + AM3× (seed2), CE | 0.9387 | 1.5 |
members/run_22 | ModernBERT-base + linear-chain CRF | 0.9301 | 1.0 |
python inference_ensemble.py \
--checkpoints members/run_13/final_model,members/run_20/final_model,members/run_27/final_model \
--crf_checkpoint members/run_22 \
--weights 1.5,1.5,1.5,1 --threshold 0.55 --min_span 2 --gap 0
inference_ensemble.py accepts --input_json (a list of {system, conversations})
and emits predicted spans per item.
answer_mismatch bottleneck.members/run_22 (CRF) uses a custom architecture loaded by CRFM in
inference_ensemble.py (final_model/crf_model.pt + encoder/).MIT. Trained on s-nlp/toolace-unified-hallucinations. Builds on the
s-nlp/tool-calling-hallucination-modernbert-base-unified-final baseline and
answerdotai/ModernBERT-large.