Skip to content
Back to skills

Data Loading

ASecurity

"Prepare, validate, load, download, and persist BEIR-format

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 8, 2026
toolspythonapi

Works with

  • api

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill data-loading --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Data Loading?

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

Security grade badge for Data Loading
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-data-loading/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-data-loading)

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: 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

- For file schemas and return shapes, read [references/data-formats.md](references/data-formats.md).
- For local dataset creation, validation, prefixed datasets, downloads, Hugging Face loading, and persistence workflows, read [references/workflows.md](references/workflows.md).
- For exact loader and utility APIs, read [references/api-reference.md](references/api-reference.md).
- For common failures and repair advice, read [references/troubleshooting.md](references/troubleshooting.md).

## 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

- This sub-skill owns `GenericDataLoader`, `HFDataLoader`, `util.download_and_unzip`, `util.save_runfile`, `util.load_runfile`, `util.save_results`, BEIR JSONL/TSV schema checks, prefixed local datasets, and local validation helpers.
- Route retrieval and metric execution to [../retrieval-evaluation/SKILL.md](../retrieval-evaluation/SKILL.md).
- Route reranking to [../reranking/SKILL.md](../reranking/SKILL.md).
- Route query generation or passage expansion to [../generation/SKILL.md](../generation/SKILL.md).
- Route model training data loops to [../training/SKILL.md](../training/SKILL.md).

Files in this skill

  • SKILL.md2 KB
  • references/api-reference.md5.9 KB
  • references/data-formats.md4.1 KB
  • references/troubleshooting.md5.4 KB
  • references/workflows.md5.6 KB
  • scripts/make_tiny_beir_dataset.py3.1 KB
  • scripts/validate_beir_dataset.py9 KB

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…