← All models · DistilBERT SQuAD
use case · wild
A SQuAD-1.1 model has a blind spot: it was only ever trained on answerable questions, so it always returns its best span — even when the passage doesn't contain the answer at all. That's dangerous for a real bot. The fix is to watch its confidence: when the start-token distribution is diffuse (no token clearly begins an answer), it's probably guessing. Try an unanswerable question and watch the confidence gauge collapse.
Best span the model returns anyway
–
The threshold here (35% start-peak) is a simple, transparent heuristic — production systems train a dedicated "no-answer" head (that's what SQuAD 2.0 added). But even this crude confidence read catches most of the model's confident nonsense, which is exactly what you want before showing an answer to a user.
← Practical · DistilBERT SQuAD · Next: Multi-model →