Skip to content
Back to skills

Duorc Eval

ASecurity

Evaluates reading comprehension and long-form text understanding by asking models to answer questions about movie plots. It specifically probes sensitivity to narrative length and semantic shifts between short and paraphrased long versions of the same story. Use when the user wants to benchmark on DuoRC, or asks about evaluating this task. Reports F1.

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

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill duorc-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Duorc Eval?

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

Security grade badge for Duorc Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-duorc-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-duorc-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: duorc-eval
description: Evaluates reading comprehension and long-form text understanding by asking models to answer questions about movie plots. It specifically probes sensitivity to narrative length and semantic shifts between short and paraphrased long versions of the same story. Use when the user wants to benchmark on DuoRC, or asks about evaluating this task. Reports F1.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2101.06326
  bibtex_key: [REDACTED]
  confidence: high
---

# duorc-eval

> Grid Search Hyperparameter Benchmarking of BERT, ALBERT, and LongFormer on DuoRC — Quijano et al. (2021) (arXiv:2101.06326, 2021)

## What this evaluates

Evaluates reading comprehension and long-form text understanding by asking models to answer questions about movie plots. It specifically probes sensitivity to narrative length and semantic shifts between short and paraphrased long versions of the same story.

## Datasets

- **DuoRC** — total ?; splits: train (-1), val (-1), test (-1)

## Metrics

- `F1` **(primary)** — range: [0, 1]
  - Token-level F1 score between predicted and gold answers. Computed as 2 * (precision * recall) / (precision + recall).
- `Accuracy` — range: [0, 1]
  - Exact-match accuracy: 1 if the predicted answer exactly matches the gold answer, 0 otherwise.

## Input / output format

**Input**: Context (movie plot, either short or long paraphrased version) and a question.

**Output**: Predicted answer text or span.

## Scoring recipe

```python
def compute_metrics(predictions, golds):
    f1_scores = []
    exact_matches = []
    for pred, gold in zip(predictions, golds):
        pred_tokens = set(normalize(pred))
        gold_tokens = set(normalize(gold))
        if not gold_tokens:
            f1_scores.append(0.0)
            exact_matches.append(0.0)
            continue
        intersection = pred_tokens & gold_tokens
        precision = len(intersection) / len(pred_tokens) if pred_tokens else 0
        recall = len(intersection) / len(gold_tokens)
        f1 = 2 * precision * recall / (precision + recall) if (precision + recall) > 0 else 0
        f1_scores.append(f1)
        exact_matches.append(1.0 if pred == gold else 0.0)
    return {'F1': sum(f1_scores) / len(f1_scores), 'Accuracy': sum(exact_matches) / len(exact_matches)}
```

## Common pitfalls

- Effective batch size is tbs × number of GPUs, not just tbs.
- Hyperparameters are grid-searched per dataset subset, so optimal settings do not transfer between SelfRC and ParaphraseRC.
- Model selection is based on validation F1, but final results are reported on the test set.

## Evidence (verbatim from paper)

> Table 2 shows that the best model is the ALBERT model pretrained with the SQuAD2 dataset. The best F1 score is 76.4 and the accuracy score is 68.52 using the validation set. The results also indicate that increasing the hyperparameters improves the performance of the models.

## Citation

```bibtex
@misc{quijano2021gridsearch,
  title={Grid Search Hyperparameter Benchmarking of BERT, ALBERT, and LongFormer on DuoRC},
  author={Quijano et al. (2021)},
  year={2021},
  note={arXiv:2101.06326}
}
```

- arXiv: 2101.06326

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.