name: data-loading
description: "Prepare, validate, load, download, and persist BEIR-format
datasets and result files."
disable-model-invocation: true
metadata:
disco-role: operating
license: Apache 2.0
Data Loading
Use this sub-skill when the task is about preparing BEIR corpus/query/qrels files, loading local or Hugging Face datasets, validating custom datasets, downloading packaged BEIR data, or saving/loading BEIR runfiles and metric JSON.
Route
Bundled Helpers
- Create a tiny offline fixture:
python scripts/make_tiny_beir_dataset.py ./tiny-beir
- Validate a BEIR-format dataset:
python scripts/validate_beir_dataset.py ./tiny-beir --split test
- Validate prefixed query/qrels files:
python scripts/validate_beir_dataset.py ./tiny-beir --split test --prefix my-prefix
The helpers are self-contained and do not import BEIR. Use them before routing a dataset into retrieval or evaluation.
Boundaries