界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
数据与研究 · SKILL.md

data-loading

data-loading

【数据与研究】Prepare, validate, load, download, and persist BEIR-format datasets and result files.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

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

我的收藏