Hyukkyu commited on
Commit
3357920
·
verified ·
1 Parent(s): 195cb70

build HumanEvalRetrieval from embedding-benchmark/HumanEval@ed1f48ac · rteb_open v0.1.0

Browse files
README.md ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: RTEB · HumanEvalRetrieval
3
+ license: mit
4
+ language:
5
+ - en
6
+ multilinguality:
7
+ - monolingual
8
+ task_categories:
9
+ - text-retrieval
10
+ task_ids:
11
+ - document-retrieval
12
+ tags:
13
+ - rteb
14
+ - mteb
15
+ - retrieval
16
+ - code
17
+ configs:
18
+ - config_name: corpus
19
+ data_files:
20
+ - split: test
21
+ path: corpus/test-*.parquet
22
+ - config_name: qrels
23
+ data_files:
24
+ - split: test
25
+ path: qrels/test-*.parquet
26
+ - config_name: queries
27
+ data_files:
28
+ - split: test
29
+ path: queries/test-*.parquet
30
+ ---
31
+ # HumanEvalRetrieval — RTEB open subset, unified schema
32
+
33
+ A normalised copy of the dataset behind the `mteb` task **`HumanEvalRetrieval`**, one of the 17 open tasks in the
34
+ [RTEB(beta)](https://huggingface.co/blog/rteb) retrieval benchmark. Same queries, documents and relevance
35
+ judgements as the benchmark evaluates — reshaped into one strict schema shared by all 17.
36
+
37
+ | | |
38
+ |---|---|
39
+ | Source | [`embedding-benchmark/HumanEval`](https://huggingface.co/datasets/embedding-benchmark/HumanEval/tree/ed1f48aca747f10bac146795328e2f03326e7625) @ `ed1f48aca747` (the revision pinned in `mteb`) |
40
+ | Domain · languages | code · eng |
41
+ | Queries / documents / qrels | 158 / 158 / 158 |
42
+ | Qrels per query | min 1 · mean 1.0 · max 1 |
43
+ | Score values | 1 ×158 |
44
+ | Layout | `queries` · `corpus` · `qrels`, split `test` |
45
+ | License | `mit` |
46
+
47
+ ## Schema
48
+
49
+ | config | columns | rules |
50
+ |---|---|---|
51
+ | `queries` | `id: string`, `text: string` | ids unique and non-empty; every query has ≥ 1 qrel |
52
+ | `corpus` | `id: string`, `title: string`, `text: string` | `title` is always present (`""` when the source has none) |
53
+ | `qrels` | `query-id: string`, `corpus-id: string`, `score: int32` | referential integrity to both tables; no duplicate pairs; no floats |
54
+
55
+ Files are Parquet, sorted by id, zstd-compressed, sharded at 500 MB. Every rule above is enforced by a validator
56
+ before publishing; `provenance.json` records the source file hashes, what changed, and the output file hashes.
57
+
58
+ ## What changed from the source
59
+
60
+ - **byte-preserved** all text — no whitespace or newline normalisation (code dataset)
61
+ - added a `title` column filled with `""` (the source has none)
62
+ - cast `qrels.score` double -> int32
63
+ - renamed source splits (`queries`←`queries/queries`, `corpus`←`corpus/corpus`, `qrels`←`default/test`) to `test`
64
+
65
+ ## Load it
66
+
67
+ ```python
68
+ from datasets import load_dataset
69
+ queries = load_dataset("Hyukkyu/rteb-HumanEvalRetrieval", "queries", split="test")
70
+ corpus = load_dataset("Hyukkyu/rteb-HumanEvalRetrieval", "corpus", split="test")
71
+ qrels = load_dataset("Hyukkyu/rteb-HumanEvalRetrieval", "qrels", split="test")
72
+ ```
73
+
74
+ ## License and attribution
75
+
76
+ The data is redistributed under the source's terms — `mit`. All credit belongs to the
77
+ original authors; see the source repository and the references in `mteb`'s task metadata (https://huggingface.co/datasets/embedding-benchmark/HumanEval).
78
+ This repository is an independent repackaging and is not affiliated with the RTEB or MTEB maintainers.
corpus/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4a93f3e3111d48ee030d5aa097c0586cb53709528340525c03fba56b005e8483
3
+ size 12649
provenance.json ADDED
@@ -0,0 +1,140 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "task": "HumanEvalRetrieval",
3
+ "repo": "rteb-HumanEvalRetrieval",
4
+ "rteb_open_version": "0.1.0",
5
+ "source": {
6
+ "path": "embedding-benchmark/HumanEval",
7
+ "revision": "ed1f48aca747f10bac146795328e2f03326e7625",
8
+ "url": "https://huggingface.co/datasets/embedding-benchmark/HumanEval/tree/ed1f48aca747f10bac146795328e2f03326e7625"
9
+ },
10
+ "license": {
11
+ "card": "mit",
12
+ "mteb_task_metadata": "mit",
13
+ "upstream_checked": false
14
+ },
15
+ "languages": [
16
+ "eng"
17
+ ],
18
+ "domain": "code",
19
+ "byte_preserving_text": true,
20
+ "layout": {
21
+ "subsets": null,
22
+ "splits": [
23
+ "test"
24
+ ]
25
+ },
26
+ "parts": [
27
+ {
28
+ "subset": null,
29
+ "split": "test",
30
+ "source_configs": {
31
+ "queries": "queries/queries",
32
+ "corpus": "corpus/corpus",
33
+ "qrels": "default/test"
34
+ },
35
+ "normalize": {
36
+ "dropped_columns": {},
37
+ "orphan_queries_dropped": 0,
38
+ "duplicate_qrels_collapsed": 0,
39
+ "null_titles_filled": 0,
40
+ "score_cast": "double -> int32",
41
+ "id_renamed": false,
42
+ "title_added": true
43
+ },
44
+ "stats": {
45
+ "n_queries": 158,
46
+ "n_corpus": 158,
47
+ "n_qrels": 158,
48
+ "qrels_per_query": {
49
+ "min": 1,
50
+ "mean": 1.0,
51
+ "max": 1
52
+ },
53
+ "score_values": {
54
+ "1": 158
55
+ },
56
+ "dangling_qrels": 0,
57
+ "corpus_with_title": 0,
58
+ "avg_query_chars": 291.3,
59
+ "avg_doc_chars": 182.3
60
+ }
61
+ }
62
+ ],
63
+ "files": {
64
+ "queries": {
65
+ "test": [
66
+ {
67
+ "path": "queries/test-00000-of-00001.parquet",
68
+ "rows": 158,
69
+ "bytes": 19365,
70
+ "sha256": "87a6fe9839cd2812001bf9bec766bf4aae8ead2eb5aeffcd0c8ea7e9262760f3"
71
+ }
72
+ ]
73
+ },
74
+ "corpus": {
75
+ "test": [
76
+ {
77
+ "path": "corpus/test-00000-of-00001.parquet",
78
+ "rows": 158,
79
+ "bytes": 12649,
80
+ "sha256": "4a93f3e3111d48ee030d5aa097c0586cb53709528340525c03fba56b005e8483"
81
+ }
82
+ ]
83
+ },
84
+ "qrels": {
85
+ "test": [
86
+ {
87
+ "path": "qrels/test-00000-of-00001.parquet",
88
+ "rows": 158,
89
+ "bytes": 1593,
90
+ "sha256": "c246ec9d0fb8094f22b6ba31299bc1678dfcf817e8f36aeed673c728282ccf65"
91
+ }
92
+ ]
93
+ }
94
+ },
95
+ "stats_total": {
96
+ "n_queries": 158,
97
+ "n_corpus": 158,
98
+ "n_qrels": 158
99
+ },
100
+ "source_files": [
101
+ {
102
+ "path": ".gitattributes",
103
+ "size": 2461,
104
+ "sha256": null,
105
+ "blob_id": "1ef325f1b111266a6b26e0196871bd78baa8c2f3"
106
+ },
107
+ {
108
+ "path": "README.md",
109
+ "size": 1356,
110
+ "sha256": null,
111
+ "blob_id": "06c776ad64abf364cc35cbba7e6888890c2fac5c"
112
+ },
113
+ {
114
+ "path": "corpus.jsonl",
115
+ "size": 35165,
116
+ "sha256": null,
117
+ "blob_id": "2e753cc08d4687e3e7fe73171f351b27bd50c383"
118
+ },
119
+ {
120
+ "path": "queries.jsonl",
121
+ "size": 50937,
122
+ "sha256": null,
123
+ "blob_id": "2f8045fca37d7db3572b001f2324551ffd2f609f"
124
+ },
125
+ {
126
+ "path": "relevance.jsonl",
127
+ "size": 9480,
128
+ "sha256": null,
129
+ "blob_id": "22f4530dea522b850703d1d82db7338bbd379c98"
130
+ }
131
+ ],
132
+ "build": {
133
+ "timestamp_utc": "2026-09-08T02:32:08Z",
134
+ "seconds": 7.1,
135
+ "python": "3.11.0",
136
+ "pyarrow": "25.0.1",
137
+ "datasets": "5.0.1",
138
+ "polars": "1.44.1"
139
+ }
140
+ }
qrels/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c246ec9d0fb8094f22b6ba31299bc1678dfcf817e8f36aeed673c728282ccf65
3
+ size 1593
queries/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:87a6fe9839cd2812001bf9bec766bf4aae8ead2eb5aeffcd0c8ea7e9262760f3
3
+ size 19365