Hyukkyu/beir-trec-covid
TRECCOVID — BEIR, unified schema A normalised copy of the dataset behind the mteb task TRECCOVID, 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/trec-covid @ bb9466bac815 (the revision pinned in mteb) Domain · languages biomedical · eng Queries / documents / qrels 50 / 171,332 / 66,336… See the full description on the dataset page: https://huggingface.co/datasets/Hyukkyu/beir-trec-covid.
TRECCOVID — BEIR, unified schema
A normalised copy of the dataset behind the mteb task `TRECCOVID`, 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
- cast
qrels.scoredouble -> int32 - kept 1 documents whose title and text are both empty — they are in the source and the benchmark's corpus
- kept 46,180 documents whose text is identical to another document's — a property of the source; note that models embed such documents identically and retrieval ties among them are broken by corpus order
- 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-trec-covid", "queries", split="test")
corpus = load_dataset("Hyukkyu/beir-trec-covid", "corpus", split="test")
qrels = load_dataset("Hyukkyu/beir-trec-covid", "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-trec-covid + Hyukkyu/beir-trec-covid-qrels; that layout is kept under the git tag legacy-layout). Before replacing it, the build was compared against it: corpus id set identical (171,332 documents); qrels rows per split test 66,336 = 66,336.
License and attribution
The data is redistributed under the source's terms — cord-19. All credit belongs to the original authors; see the source repository and the references in mteb's task metadata (https://ir.nist.gov/covidSubmit/index.html). This repository is an independent repackaging and is not affiliated with the RTEB or MTEB maintainers.
License discrepancy. The upstream dataset card declarescord-19whilemteb'sTaskMetadatadeclaresnot specified. This card carries the upstream value as the more conservative choice.
