rteb-AILAStatutes / README.md
Hyukkyu's picture
build AILAStatutes from mteb/AILA_statutes@ebfcd844 · rteb_open v0.1.0
966e863 verified
|
Raw History Blame Contribute Delete
2.83 kB
metadata
pretty_name: RTEB · AILAStatutes
license: cc-by-4.0
language:
  - en
multilinguality:
  - monolingual
task_categories:
  - text-retrieval
task_ids:
  - document-retrieval
tags:
  - rteb
  - mteb
  - retrieval
  - legal
configs:
  - config_name: corpus
    data_files:
      - split: test
        path: corpus/test-*.parquet
  - config_name: qrels
    data_files:
      - split: test
        path: qrels/test-*.parquet
  - config_name: queries
    data_files:
      - split: test
        path: queries/test-*.parquet

AILAStatutes — RTEB open subset, unified schema

A normalised copy of the dataset behind the mteb task AILAStatutes, one of the 17 open tasks in the RTEB(beta) retrieval benchmark. Same queries, documents and relevance judgements as the benchmark evaluates — reshaped into one strict schema shared by all 17.

Source mteb/AILA_statutes @ ebfcd844eadd (the revision pinned in mteb)
Domain · languages legal · eng
Queries / documents / qrels 50 / 82 / 217
Qrels per query min 2 · mean 4.34 · max 5
Score values 1 ×217
Layout queries · corpus · qrels, split test
License cc-by-4.0

Schema

config columns rules
queries id: string, text: string ids unique and non-empty; every query has ≥ 1 qrel
corpus id: string, title: string, text: string title is always present ("" when the source has none)
qrels query-id: string, corpus-id: string, score: int32 referential integrity to both tables; no duplicate pairs; no floats

Files are Parquet, sorted by id, zstd-compressed, sharded at 500 MB. Every rule above is enforced by a validator before publishing; provenance.json records the source file hashes, what changed, and the output file hashes.

What changed from the source

  • cast qrels.score double -> int32
  • removed NUL bytes from text (prose dataset)
  • renamed _id → id
  • renamed source splits (queries←queries/queries, corpus←corpus/corpus, qrels←default/test) to test

Load it

from datasets import load_dataset
queries = load_dataset("Hyukkyu/rteb-AILAStatutes", "queries", split="test")
corpus  = load_dataset("Hyukkyu/rteb-AILAStatutes", "corpus", split="test")
qrels   = load_dataset("Hyukkyu/rteb-AILAStatutes", "qrels", split="test")

License and attribution

The data is redistributed under the source's terms — cc-by-4.0. All credit belongs to the original authors; see the source repository and the references in mteb's task metadata (https://zenodo.org/records/4063986). This repository is an independent repackaging and is not affiliated with the RTEB or MTEB maintainers.