Hyukkyu commited on
Commit
c42ec8d
·
verified ·
1 Parent(s): 7296fee

build FreshStackRetrieval from embedding-benchmark/FreshStack_mteb@7a20df1a · rteb_open v0.1.0

Browse files
README.md ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: RTEB · FreshStackRetrieval
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
+ # FreshStackRetrieval — RTEB open subset, unified schema
32
+
33
+ A normalised copy of the dataset behind the `mteb` task **`FreshStackRetrieval`**, 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/FreshStack_mteb`](https://huggingface.co/datasets/embedding-benchmark/FreshStack_mteb/tree/7a20df1abe4dafc46f93f9a7965bf9c6968bdf04) @ `7a20df1abe4d` (the revision pinned in `mteb`) |
40
+ | Domain · languages | code · eng |
41
+ | Queries / documents / qrels | 672 / 3,804 / 5,445 |
42
+ | Qrels per query | min 1 · mean 8.103 · max 35 |
43
+ | Score values | 1 ×5,445 |
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-FreshStackRetrieval", "queries", split="test")
70
+ corpus = load_dataset("Hyukkyu/rteb-FreshStackRetrieval", "corpus", split="test")
71
+ qrels = load_dataset("Hyukkyu/rteb-FreshStackRetrieval", "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/FreshStack_mteb).
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:4f9947ec027e1a198858f95f4163f98a20c434285a8f2386d26bd60dbf871a25
3
+ size 4600480
provenance.json ADDED
@@ -0,0 +1,140 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "task": "FreshStackRetrieval",
3
+ "repo": "rteb-FreshStackRetrieval",
4
+ "rteb_open_version": "0.1.0",
5
+ "source": {
6
+ "path": "embedding-benchmark/FreshStack_mteb",
7
+ "revision": "7a20df1abe4dafc46f93f9a7965bf9c6968bdf04",
8
+ "url": "https://huggingface.co/datasets/embedding-benchmark/FreshStack_mteb/tree/7a20df1abe4dafc46f93f9a7965bf9c6968bdf04"
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": 672,
46
+ "n_corpus": 3804,
47
+ "n_qrels": 5445,
48
+ "qrels_per_query": {
49
+ "min": 1,
50
+ "mean": 8.103,
51
+ "max": 35
52
+ },
53
+ "score_values": {
54
+ "1": 5445
55
+ },
56
+ "dangling_qrels": 0,
57
+ "corpus_with_title": 0,
58
+ "avg_query_chars": 1808.2,
59
+ "avg_doc_chars": 4963.8
60
+ }
61
+ }
62
+ ],
63
+ "files": {
64
+ "queries": {
65
+ "test": [
66
+ {
67
+ "path": "queries/test-00000-of-00001.parquet",
68
+ "rows": 672,
69
+ "bytes": 414189,
70
+ "sha256": "62a44e146c33418c662b819c85b87a36ea8e842142551ea0591a18d261724bf4"
71
+ }
72
+ ]
73
+ },
74
+ "corpus": {
75
+ "test": [
76
+ {
77
+ "path": "corpus/test-00000-of-00001.parquet",
78
+ "rows": 3804,
79
+ "bytes": 4600480,
80
+ "sha256": "4f9947ec027e1a198858f95f4163f98a20c434285a8f2386d26bd60dbf871a25"
81
+ }
82
+ ]
83
+ },
84
+ "qrels": {
85
+ "test": [
86
+ {
87
+ "path": "qrels/test-00000-of-00001.parquet",
88
+ "rows": 5445,
89
+ "bytes": 24713,
90
+ "sha256": "286bf8ddb314d0dde5c29fc255903737d03b04bbbb61d87dc201bc0c6a29a875"
91
+ }
92
+ ]
93
+ }
94
+ },
95
+ "stats_total": {
96
+ "n_queries": 672,
97
+ "n_corpus": 3804,
98
+ "n_qrels": 5445
99
+ },
100
+ "source_files": [
101
+ {
102
+ "path": ".gitattributes",
103
+ "size": 2510,
104
+ "sha256": null,
105
+ "blob_id": "3d98754641f6b4cc26d1b68fb908475263b5b537"
106
+ },
107
+ {
108
+ "path": "README.md",
109
+ "size": 1101,
110
+ "sha256": null,
111
+ "blob_id": "29e735fc5cb0bdbf58c3eafd85b3d78d313952a5"
112
+ },
113
+ {
114
+ "path": "corpus.jsonl",
115
+ "size": 19951776,
116
+ "sha256": "959b2b3be261cb78eb519c3a09c680f6b3850272691082d131f66eab68435e88",
117
+ "blob_id": "423cad362a9dc8191554e6dfc67a23b4a8616631"
118
+ },
119
+ {
120
+ "path": "queries.jsonl",
121
+ "size": 1277822,
122
+ "sha256": null,
123
+ "blob_id": "05374df57d90f0d5718b3f8cede7cac41a04281b"
124
+ },
125
+ {
126
+ "path": "relevance.jsonl",
127
+ "size": 315810,
128
+ "sha256": null,
129
+ "blob_id": "11f7204d497af1d12496cf1d2a96fd8e340a0e20"
130
+ }
131
+ ],
132
+ "build": {
133
+ "timestamp_utc": "2026-09-08T02:32:29Z",
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:286bf8ddb314d0dde5c29fc255903737d03b04bbbb61d87dc201bc0c6a29a875
3
+ size 24713
queries/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62a44e146c33418c662b819c85b87a36ea8e842142551ea0591a18d261724bf4
3
+ size 414189