Hyukkyu/beir-scifact
SciFact — BEIR, unified schema A normalised copy of the dataset behind the mteb task SciFact, one of the tasks of the BEIR benchmark as mteb defines it. Same queries, documents and relevance judgements as the benchmark evaluates — reshaped into one strict schema shared by every dataset in this collection. Source mteb/scifact @ d56462d0e63a (the revision pinned in mteb) Domain · languages scientific · eng Queries / documents / qrels (all splits) 1,109 / 5,183 / 1… See the full description on the dataset page: https://huggingface.co/datasets/Hyukkyu/beir-scifact.
SciFact — BEIR, unified schema
A normalised copy of the dataset behind the mteb task `SciFact`, one of the tasks of the BEIR benchmark as mteb defines it. Same queries, documents and relevance judgements as the benchmark evaluates — reshaped into one strict schema shared by every dataset in this collection.
Schema
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
- byte-preserved all text — no whitespace, newline, or control-character normalisation
test: dropped 809 queries that have no qrels in this split (mteb does the same at load time)train: dropped 300 queries that have no qrels in this split (mteb does the same at load time)- cast
qrels.scoredouble -> int32 - renamed
_id→id - renamed source splits (
queries←queries/queries,corpus←corpus/corpus) totest
Load it
from datasets import load_dataset
queries = load_dataset("Hyukkyu/beir-scifact", "queries", split="test")
corpus = load_dataset("Hyukkyu/beir-scifact", "corpus", split="test")
qrels = load_dataset("Hyukkyu/beir-scifact", "qrels", split="test")Cross-check against the previous layout
This repo previously held the same dataset in BEIR's raw two-repo form (Hyukkyu/beir-scifact + Hyukkyu/beir-scifact-qrels; that layout is kept under the git tag legacy-layout). Before replacing it, the build was compared against it: corpus id set identical (5,183 documents); qrels rows per split test 339 = 339, train 919 = 919.
License and attribution
The data is redistributed under the source's terms — cc-by-nc-4.0. All credit belongs to the original authors; see the source repository and the references in mteb's task metadata (https://github.com/allenai/scifact). This repository is an independent repackaging and is not affiliated with the RTEB or MTEB maintainers.
