Skip to content
Back to skills

Mga Pretraining Eval

ASecurity

This evaluation protocol assesses the effectiveness of a genre-audience reformulation data augmentation strategy on large language model pretraining. It measures downstream task performance across a suite of reasoning, knowledge, and language understanding benchmarks to determine if augmented data improves generalization and mitigates data repetition degradation. Use when the user wants to benchmark on ARC, HellaSwag, Winogrande, MMLU, GSM8K, CSQA, OpenBookQA, PIQA, TriviaQA, or asks about ev...

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

Security analysis

A100/100

Scanned September 11, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Mga Pretraining Eval?

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

Security grade badge for Mga Pretraining Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-mga-pretraining-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-mga-pretraining-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: mga-pretraining-eval
description: This evaluation protocol assesses the effectiveness of a genre-audience reformulation data augmentation strategy on large language model pretraining. It measures downstream task performance across a suite of reasoning, knowledge, and language understanding benchmarks to determine if augmented data improves generalization and mitigates data repetition degradation. Use when the user wants to benchmark on ARC, HellaSwag, Winogrande, MMLU, GSM8K, CSQA, OpenBookQA, PIQA, TriviaQA, or asks about evaluating this task. Reports average benchmark accuracy.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2502.04235
  bibtex_key: [REDACTED]
  confidence: high
---

# mga-pretraining-eval

> Reformulation for Pretraining Data Augmentation — Hao et al. (2025) (arXiv:2502.04235, 2025)

## What this evaluates

This evaluation protocol assesses the effectiveness of a genre-audience reformulation data augmentation strategy on large language model pretraining. It measures downstream task performance across a suite of reasoning, knowledge, and language understanding benchmarks to determine if augmented data improves generalization and mitigates data repetition degradation.

## Datasets

- **ARC, HellaSwag, Winogrande, MMLU, GSM8K, CSQA, OpenBookQA, PIQA, TriviaQA** — total ?; splits: test (-1)

## Metrics

- `average benchmark accuracy` **(primary)** — range: [0, 1]
  - Standard exact-match accuracy calculated over multiple-choice and generation tasks. Evaluated in 0-shot format for all benchmarks except MMLU, which uses 5-shot. The primary reported metric is the average accuracy across 12 benchmarks.

## Input / output format

**Input**: Multiple-choice questions or open-ended prompts formatted for 0-shot or 5-shot evaluation, provided as text prompts to the language model.

**Output**: Model-generated text or selected option corresponding to the prompt.

## Scoring recipe

```python
def calculate_accuracy(predictions, gold_labels):
    correct = 0
    for pred, gold in zip(predictions, gold_labels):
        if normalize_answer(pred) == normalize_answer(gold):
            correct += 1
    return correct / len(gold_labels)

# Note: MMLU uses 5-shot, others use 0-shot. Final score is average across 12 benchmarks.
```

## Common pitfalls

- Relying solely on validation loss to judge model quality, as the paper explicitly demonstrates that higher validation loss does not correlate with degraded benchmark performance.
- Ignoring shot settings: MMLU requires 5-shot evaluation while all other benchmarks use 0-shot, which significantly impacts accuracy scores.
- Comparing models trained on different data recipes or token counts without normalizing for the total training budget (e.g., 600B vs 1T tokens).

## Evidence (verbatim from paper)

> We follow popular practice of LightEval *[[24]]* and LM-Harness *[[25]]*, evaluate on a comprehensive suite of open benchmarks include ARC-Easy/Challenge*[[26]]*, HellaSwag*[[27]]*, Winogrande*[[28]]*, MMLU*[[29]]*, GSM8K*[[30]]*, etc. For training dynamics, we report the average of 12 benchmarks and validation losses on held-out fineweb-edu-dedup data. All benchmarks are 0-shot evaluations (obtained through LightEval), except for MMLU (5-shot).

## Citation

```bibtex
@misc{hao2025reformulation,
  title={Reformulation for Pretraining Data Augmentation},
  author={Hao et al. (2025)},
  year={2025},
  note={arXiv:2502.04235}
}
```

- arXiv: 2502.04235

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.