Skip to content
Back to skills

Squad V1.1 Eval

ASecurity

Measures extractive question answering capability by requiring the model to identify a text span in a passage that answers a given question. It tests precise token-level span prediction and contextual understanding. Use when the user wants to benchmark on SQuAD v1.1, or asks about evaluating this task. Reports exact-match (EM).

  • 3 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 11, 2026
researchpythongogitperformance

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill squad-v1.1-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Squad V1.1 Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Squad V1.1 Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-squad-v1-1-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-squad-v1-1-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: squad-v1.1-eval
description: Measures extractive question answering capability by requiring the model to identify a text span in a passage that answers a given question. It tests precise token-level span prediction and contextual understanding. Use when the user wants to benchmark on SQuAD v1.1, or asks about evaluating this task. Reports exact-match (EM).
metadata:
  skill_kind: dataset_eval
  source_arxiv: 1810.04805
  bibtex_key: devlin2018bert
  confidence: high
---

# squad-v1.1-eval

> BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding — Devlin et al. (2018) (arXiv:1810.04805, 2018)

## What this evaluates

Measures extractive question answering capability by requiring the model to identify a text span in a passage that answers a given question. It tests precise token-level span prediction and contextual understanding.

## Datasets

- **SQuAD v1.1** — total 100000; splits: train (-1), dev (-1), test (-1); HF `squad`

## Metrics

- `exact-match (EM)` **(primary)** — range: [0, 1]
  - Percentage of questions where the predicted answer string exactly matches any of the ground truth answer strings.
- `F1` — range: [0, 1]
  - Token-level F1 score between the predicted answer and the ground truth answer, averaged over all questions.

## Input / output format

**Input**: Question and passage packed into a single sequence with distinct segment embeddings (A for question, B for passage).

**Output**: A start position and an end position for the answer span within the passage.

## Scoring recipe

```python
def compute_metrics(preds, golds):
    em = sum(p == g for p, g in zip(preds, golds)) / len(golds)
    f1s = [token_f1(p, g) for p, g in zip(preds, golds)]
    return em, sum(f1s)/len(f1s)
```

## Common pitfalls

- The model predicts start/end logits over all tokens; the best span is chosen by maximizing start+end scores, not by independently picking max start and max end.
- Ensembling multiple models with different seeds/checkpoints significantly boosts performance compared to single models.

## Evidence (verbatim from paper)

> The Stanford Question Answering Dataset (SQuAD v1.1) is a collection of 100k crowdsourced question/answer pairs... The score of a candidate span from position i to position j is defined as S·T_i + E·T_j, and the maximum scoring span where j ≥ i is used as a prediction. ... Table 2: SQuAD 1.1 results. ... EM | F1

## Citation

```bibtex
@misc{devlin2018bert,
  title={BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding},
  author={Devlin et al. (2018)},
  year={2018},
  note={arXiv:1810.04805}
}
```

- arXiv: 1810.04805

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.