--- pretty_name: RTEB · ChatDoctorRetrieval license: other license_name: unspecified-upstream language: - en multilinguality: - monolingual task_categories: - text-retrieval task_ids: - document-retrieval tags: - rteb - mteb - retrieval - healthcare 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 --- # ChatDoctorRetrieval — RTEB open subset, unified schema A normalised copy of the dataset behind the `mteb` task **`ChatDoctorRetrieval`**, one of the 17 open tasks in the [RTEB(beta)](https://huggingface.co/blog/rteb) retrieval benchmark. Same queries, documents and relevance judgements as the benchmark evaluates — reshaped into one strict schema shared by all 17. | | | |---|---| | Source | [`embedding-benchmark/ChatDoctor_HealthCareMagic`](https://huggingface.co/datasets/embedding-benchmark/ChatDoctor_HealthCareMagic/tree/50c2986fedffa33b38afd5c1752026f8e9e5ed1d) @ `50c2986fedff` (the revision pinned in `mteb`) | | Domain · languages | healthcare · eng | | Queries / documents / qrels | 5,591 / 5,545 / 5,591 | | Qrels per query | min 1 · mean 1.0 · max 1 | | Score values | 1 ×5,591 | | Layout | `queries` · `corpus` · `qrels`, split `test` | | License | `unspecified` | ## 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 - added a `title` column filled with `""` (the source has none) - 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 ```python from datasets import load_dataset queries = load_dataset("Hyukkyu/rteb-ChatDoctorRetrieval", "queries", split="test") corpus = load_dataset("Hyukkyu/rteb-ChatDoctorRetrieval", "corpus", split="test") qrels = load_dataset("Hyukkyu/rteb-ChatDoctorRetrieval", "qrels", split="test") ``` ## License and attribution The data is redistributed under the source's terms — `unspecified`. All credit belongs to the original authors; see the source repository and the references in `mteb`'s task metadata (https://huggingface.co/datasets/embedding-benchmark/ChatDoctor_HealthCareMagic). This repository is an independent repackaging and is not affiliated with the RTEB or MTEB maintainers. > **License discrepancy.** The upstream dataset card declares `no license` while `mteb`'s `TaskMetadata` declares `not specified`. This card carries the upstream value as the more conservative choice. > **No license declared upstream.** Neither the source repo nor its origin states redistribution terms. This copy is published for reproducibility of the RTEB benchmark only; check with the original authors before any other use.