Skip to content
Back to skills

Merit Token Classification Eval

ASecurity

Evaluates document understanding models on token classification tasks using structured school transcripts. It probes the model's ability to accurately label tokens based on layout and text features across English and Spanish documents with varying templates and layouts. Use when the user wants to benchmark on MERIT, or asks about evaluating this task. Reports Token Classification.

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

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill merit-token-classification-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Merit Token Classification Eval?

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

Security grade badge for Merit Token Classification Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-merit-token-classification-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-merit-token-classification-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: merit-token-classification-eval
description: Evaluates document understanding models on token classification tasks using structured school transcripts. It probes the model's ability to accurately label tokens based on layout and text features across English and Spanish documents with varying templates and layouts. Use when the user wants to benchmark on MERIT, or asks about evaluating this task. Reports Token Classification.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2409.00447
  bibtex_key: [REDACTED]
  confidence: medium
---

# merit-token-classification-eval

> The MERIT Dataset: Modelling and Efficiently Rendering Interpretable Transcripts — de Rodrigo et al. (2024) (arXiv:2409.00447, 2024)

## What this evaluates

Evaluates document understanding models on token classification tasks using structured school transcripts. It probes the model's ability to accurately label tokens based on layout and text features across English and Spanish documents with varying templates and layouts.

## Datasets

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

## Metrics

- `Token Classification` **(primary)** — range: [0, 1]
  - Standard token-level classification accuracy or F1 score. Exact variant (micro vs macro) is not specified in the provided text.

## Input / output format

**Input**: Document images with original words and bounding boxes provided under a perfect OCR hypothesis (no OCR errors).

**Output**: Token-level classification labels for each word/bounding box in the document.

## Scoring recipe

```python
def compute_token_accuracy(predictions, gold):
    correct = sum(1 for p, g in zip(predictions, gold) if p == g)
    total = len(gold)
    if total == 0: return 0.0
    return correct / total
```

## Common pitfalls

- Perfect OCR assumption: models receive ground-truth words and bounding boxes, ignoring real-world OCR errors that typically degrade performance.
- Layout restriction: test set only includes samples with 'Model A' and 'Model B' layouts, excluding other template variations.
- Language split: English models are trained/evaluated on the English subset and Spanish models on the Spanish subset, limiting cross-lingual evaluation claims.

## Evidence (verbatim from paper)

> We train LayoutLMv2 [34], LayoutLMv3 [16], and LayoutXLM [5] on the Token Classification task, which is the primary niche of the MERIT Dataset. The samples used to train LayoutLMv2 and v3 are in English, while those for training LayoutXLM are in Spanish. ... we use samples from 5 schools to train and validate the model, reserving the remaining samples from the other two schools for testing. We decide to include only samples with Model A and Model B layouts as testing subsets. ... we work under the perfect OCR hypothesis, i.e., when testing, the model receives the original words and bounding boxes from the dataset, so no OCR induces downstream errors. We present the benchmark results in Table 8.

## Citation

```bibtex
@misc{derodriguez2024merit,
  title={The MERIT Dataset: Modelling and Efficiently Rendering Interpretable Transcripts},
  author={de Rodrigo et al. (2024)},
  year={2024},
  note={arXiv:2409.00447}
}
```

- arXiv: 2409.00447

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.