0xSero/reap-calibration-data-v1

Dataset

> [!TIP]

5

5 commits

2 linked in READMEs

updated Apr 21, 2026

See the code
benchmark-free
calibration
expert-pruning
reap

README

[!TIP] Support this work: donate.sybilsolutions.ai

REAP surfaces: GLM | MiniMax | Qwen | Gemma | Paper | Code | PR17 | Cerebras Collection

REAP Calibration Dataset v1

Benchmark-free calibration dataset for REAP (Routing-Enhanced Activation Pruning) of Mixture-of-Experts language models.

What This Dataset Does

REAP prunes MoE models by removing experts that rarely activate. To decide which experts are safe to remove, REAP needs to observe which experts fire on diverse inputs. This dataset provides those inputs.

This is NOT training data. No model weights are updated. The dataset is fed through the model in inference mode to record expert routing statistics. Those statistics then guide the pruning decisions.

Key Property: Zero Benchmark Contamination

This dataset was specifically curated to exclude all common evaluation benchmarks, ensuring REAP pruning decisions are not biased toward benchmark-specific patterns.

Excluded Benchmarks

HumanEval, MBPP, EvalPlus, SWE-bench (all variants), TerminalBench, GSM8K, MATH-500, GAIA, KernelBench, ARC, BoolQ, HellaSwag, WinoGrande, MMLU (except physics/chemistry for science coverage), TruthfulQA, PIQA, OpenBookQA, MathQA, LiveCodeBench.

Dataset Composition

23,088 samples across 10 domains, weighted toward coding and tool-use workloads:

Domain Breakdown

DomainSamples%Description
Function Calling5,00021.7%Structured tool/API invocations with parameters, return types, and multi-step chains
Agentic Traces3,89316.9%Multi-turn agent trajectories with reasoning, tool calls, and environment feedback
Cybersecurity3,00013.0%OWASP, MITRE ATT&CK, incident response, cloud security, cryptography
General Coding2,0008.7%Diverse programming across languages and paradigms
Deep Reasoning2,0008.7%Competition math with chain-of-thought, logical reasoning, problem solving
Math2,0008.7%Real math StackExchange/MathOverflow Q&A with LaTeX
CUDA Programming2,0008.7%GPU kernels, optimization, profiling data across difficulty levels
Terminal / CLI1,5006.5%Shell commands, system administration, CLI workflows
Long Context1,5006.5%8K-16K token instruction-following traces
Science1950.8%College-level physics and chemistry

Source Datasets

SourceSamplesDomainLicense
Salesforce/xlam-function-calling-60k2,000Function CallingCC-BY-4.0
interstellarninja/hermes_reasoning_tool_use1,500Function CallingOpen
glaiveai/glaive-function-calling-v21,500Function CallingOpen
NousResearch/hermes-function-calling-v11,893AgenticOpen
argilla/distilabel-reasoning-prompts2,000AgenticApache-2.0
AlicanKiraz0/Cybersecurity-Dataset-Fenrir-v2.02,000CybersecurityApache-2.0
Trendyol/Trendyol-Cybersecurity-Instruction-Tuning-Dataset1,000CybersecurityOpen
nvidia/OpenCodeInstruct2,000CodingOpen
AI-MO/NuminaMath-CoT2,000Deep ReasoningOpen
math-ai/StackMathQA2,000MathCC-BY-SA
SakanaAI/AI-CUDA-Engineer-Archive2,000CUDACC-BY-4.0
b-mc2/cli-commands-explained1,500TerminalOpen
THUDM/LongAlign-10k1,500Long ContextOpen
cais/mmlu (physics + chemistry)195ScienceMIT

REAP Packing Strategy

Per the REAP paper, for models ≥110B parameters:

  • No packing — each sample is its own sequence
  • Max sequence length: 16,384 tokens
  • Samples longer than 16K tokens are truncated
  • The REAP observer handles tokenization and batching at runtime
  • Batch size: 8 sequences per forward pass

For models <110B parameters, the paper recommends packing multiple samples to fill 2,048-token sequences.

Format

JSONL with fields:

{
  "id": "function_calling_0",
  "domain": "function_calling",
  "repo_id": "Salesforce/xlam-function-calling-60k",
  "subset": "default",
  "text": "..."
}

Usage with REAP

python scripts/run_qwen35_layerwise_observations_pr17.py \
  --dataset-jsonl calibration-v1.jsonl \
  --max-tokens 16384 \
  --batch-size 8 \
  --observation-sequence-chunk-size 1 \
  --max-group-batches 20 \
  --checkpoint-every-samples 800

Models Calibrated With This Dataset

Maintainer

  • Author: 0xSero
  • Organization: Sybil Solutions
  • Project: REAP PR17

Citation

@article{lu2025reap,
  title={Not All Experts are Equal: Efficient Expert Pruning and Skipping for Mixture of Experts},
  author={Lu, Xudong and Qiu, Liu and Huang, Jinhao and others},
  journal={arXiv preprint arXiv:2510.13999},
  year={2025}
}

Contributors

0xSero

5 commits

0xSero/reap-calibration-data-v1

Dataset

> [!TIP]

5

5 commits

2 linked in READMEs

updated Apr 21, 2026

See the code
benchmark-free
calibration
expert-pruning
reap

README

[!TIP] Support this work: donate.sybilsolutions.ai

REAP surfaces: GLM | MiniMax | Qwen | Gemma | Paper | Code | PR17 | Cerebras Collection

REAP Calibration Dataset v1

Benchmark-free calibration dataset for REAP (Routing-Enhanced Activation Pruning) of Mixture-of-Experts language models.

What This Dataset Does

REAP prunes MoE models by removing experts that rarely activate. To decide which experts are safe to remove, REAP needs to observe which experts fire on diverse inputs. This dataset provides those inputs.

This is NOT training data. No model weights are updated. The dataset is fed through the model in inference mode to record expert routing statistics. Those statistics then guide the pruning decisions.

Key Property: Zero Benchmark Contamination

This dataset was specifically curated to exclude all common evaluation benchmarks, ensuring REAP pruning decisions are not biased toward benchmark-specific patterns.

Excluded Benchmarks

HumanEval, MBPP, EvalPlus, SWE-bench (all variants), TerminalBench, GSM8K, MATH-500, GAIA, KernelBench, ARC, BoolQ, HellaSwag, WinoGrande, MMLU (except physics/chemistry for science coverage), TruthfulQA, PIQA, OpenBookQA, MathQA, LiveCodeBench.

Dataset Composition

23,088 samples across 10 domains, weighted toward coding and tool-use workloads:

Domain Breakdown

DomainSamples%Description
Function Calling5,00021.7%Structured tool/API invocations with parameters, return types, and multi-step chains
Agentic Traces3,89316.9%Multi-turn agent trajectories with reasoning, tool calls, and environment feedback
Cybersecurity3,00013.0%OWASP, MITRE ATT&CK, incident response, cloud security, cryptography
General Coding2,0008.7%Diverse programming across languages and paradigms
Deep Reasoning2,0008.7%Competition math with chain-of-thought, logical reasoning, problem solving
Math2,0008.7%Real math StackExchange/MathOverflow Q&A with LaTeX
CUDA Programming2,0008.7%GPU kernels, optimization, profiling data across difficulty levels
Terminal / CLI1,5006.5%Shell commands, system administration, CLI workflows
Long Context1,5006.5%8K-16K token instruction-following traces
Science1950.8%College-level physics and chemistry

Source Datasets

SourceSamplesDomainLicense
Salesforce/xlam-function-calling-60k2,000Function CallingCC-BY-4.0
interstellarninja/hermes_reasoning_tool_use1,500Function CallingOpen
glaiveai/glaive-function-calling-v21,500Function CallingOpen
NousResearch/hermes-function-calling-v11,893AgenticOpen
argilla/distilabel-reasoning-prompts2,000AgenticApache-2.0
AlicanKiraz0/Cybersecurity-Dataset-Fenrir-v2.02,000CybersecurityApache-2.0
Trendyol/Trendyol-Cybersecurity-Instruction-Tuning-Dataset1,000CybersecurityOpen
nvidia/OpenCodeInstruct2,000CodingOpen
AI-MO/NuminaMath-CoT2,000Deep ReasoningOpen
math-ai/StackMathQA2,000MathCC-BY-SA
SakanaAI/AI-CUDA-Engineer-Archive2,000CUDACC-BY-4.0
b-mc2/cli-commands-explained1,500TerminalOpen
THUDM/LongAlign-10k1,500Long ContextOpen
cais/mmlu (physics + chemistry)195ScienceMIT

REAP Packing Strategy

Per the REAP paper, for models ≥110B parameters:

  • No packing — each sample is its own sequence
  • Max sequence length: 16,384 tokens
  • Samples longer than 16K tokens are truncated
  • The REAP observer handles tokenization and batching at runtime
  • Batch size: 8 sequences per forward pass

For models <110B parameters, the paper recommends packing multiple samples to fill 2,048-token sequences.

Format

JSONL with fields:

{
  "id": "function_calling_0",
  "domain": "function_calling",
  "repo_id": "Salesforce/xlam-function-calling-60k",
  "subset": "default",
  "text": "..."
}

Usage with REAP

python scripts/run_qwen35_layerwise_observations_pr17.py \
  --dataset-jsonl calibration-v1.jsonl \
  --max-tokens 16384 \
  --batch-size 8 \
  --observation-sequence-chunk-size 1 \
  --max-group-batches 20 \
  --checkpoint-every-samples 800

Models Calibrated With This Dataset

Maintainer

  • Author: 0xSero
  • Organization: Sybil Solutions
  • Project: REAP PR17

Citation

@article{lu2025reap,
  title={Not All Experts are Equal: Efficient Expert Pruning and Skipping for Mixture of Experts},
  author={Lu, Xudong and Qiu, Liu and Huang, Jinhao and others},
  journal={arXiv preprint arXiv:2510.13999},
  year={2025}
}

Contributors

0xSero

5 commits