File size: 2,976 Bytes
3357920
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
---
pretty_name: RTEB · HumanEvalRetrieval
license: mit
language:
- en
multilinguality:
- monolingual
task_categories:
- text-retrieval
task_ids:
- document-retrieval
tags:
- rteb
- mteb
- retrieval
- code
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
---
# HumanEvalRetrieval — RTEB open subset, unified schema

A normalised copy of the dataset behind the `mteb` task **`HumanEvalRetrieval`**, 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/HumanEval`](https://huggingface.co/datasets/embedding-benchmark/HumanEval/tree/ed1f48aca747f10bac146795328e2f03326e7625) @ `ed1f48aca747` (the revision pinned in `mteb`) |
| Domain · languages | code · eng |
| Queries / documents / qrels | 158 / 158 / 158 |
| Qrels per query | min 1 · mean 1.0 · max 1 |
| Score values | 1 ×158 |
| Layout | `queries` · `corpus` · `qrels`, split `test` |
| License | `mit` |

## 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

- **byte-preserved** all text — no whitespace or newline normalisation (code dataset)
- added a `title` column filled with `""` (the source has none)
- cast `qrels.score` double -> int32
- 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-HumanEvalRetrieval", "queries", split="test")
corpus  = load_dataset("Hyukkyu/rteb-HumanEvalRetrieval", "corpus", split="test")
qrels   = load_dataset("Hyukkyu/rteb-HumanEvalRetrieval", "qrels", split="test")
```

## License and attribution

The data is redistributed under the source's terms — `mit`. 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/HumanEval).
This repository is an independent repackaging and is not affiliated with the RTEB or MTEB maintainers.