Hyukkyu commited on
Commit
3ba0192
·
verified ·
1 Parent(s): b3a9a54

build CCNews from sentence-transformers/ccnews@6118cc09 · rteb_open v0.1.0

Browse files
README.md ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: Training · CCNews
3
+ license: other
4
+ language:
5
+ - en
6
+ multilinguality:
7
+ - monolingual
8
+ task_categories:
9
+ - text-retrieval
10
+ task_ids:
11
+ - document-retrieval
12
+ tags:
13
+ - train
14
+ - mteb
15
+ - retrieval
16
+ - news
17
+ configs:
18
+ - config_name: corpus
19
+ data_files:
20
+ - split: train
21
+ path: corpus/train-*.parquet
22
+ - config_name: hard-negatives
23
+ data_files:
24
+ - split: train
25
+ path: hard-negatives/train-*.parquet
26
+ - config_name: qrels
27
+ data_files:
28
+ - split: train
29
+ path: qrels/train-*.parquet
30
+ - config_name: queries
31
+ data_files:
32
+ - split: train
33
+ path: queries/train-*.parquet
34
+ - config_name: teacher-scores
35
+ data_files:
36
+ - split: train
37
+ path: teacher-scores/train-*.parquet
38
+ ---
39
+ # CCNews — Training, unified schema
40
+
41
+ A normalised copy of the dataset behind the `mteb` task **`CCNews`**, a retrieval **training** set built from [`sentence-transformers/ccnews`](https://huggingface.co/datasets/sentence-transformers/ccnews). Same queries, documents
42
+ and relevance judgements as the benchmark evaluates — reshaped into one strict schema shared by every dataset
43
+ in this collection.
44
+
45
+ | | |
46
+ |---|---|
47
+ | Source | [`sentence-transformers/ccnews`](https://huggingface.co/datasets/sentence-transformers/ccnews/tree/6118cc09daf7977d6dddef2c6e4b7a4c92db9f57) @ `6118cc09daf7` (the revision pinned in `mteb`) |
48
+ | Domain · languages | news · eng |
49
+ | Queries / documents / qrels | 489,515 / 496,328 / 538,526 |
50
+ | Qrels per query | min 1 · mean 1.1 · max 393 |
51
+ | Score values | 1 ×538,526 |
52
+ | Layout | `queries` · `corpus` · `qrels` · `hard-negatives` · `teacher-scores`, split `train` |
53
+ | Splits | `corpus`: train · `hard-negatives`: train · `qrels`: train · `queries`: train · `teacher-scores`: train |
54
+ | Hard negatives | **none yet** — config present with 0 rows |
55
+ | Teacher scores | **none yet** — config present with 0 rows |
56
+ | Reading empty configs | `datasets` cannot return a 0-example split (`load_dataset` raises "corresponds to no data"); until rows exist, read the Parquet directly with `pyarrow`/`polars`/`pandas`. The schema is declared in the file and in `configs:` above |
57
+ | Ids | `sha1(text)[:20]`; identical texts collapse to one document (118,336 collapsed) |
58
+ | License | `other` |
59
+
60
+ ## Schema
61
+
62
+ | config | columns | rules |
63
+ |---|---|---|
64
+ | `queries` | `id: string`, `text: string` | ids unique and non-empty; every query has ≥ 1 qrel |
65
+ | `corpus` | `id: string`, `title: string`, `text: string` | `title` is always present (`""` when the source has none) |
66
+ | `qrels` | `query-id: string`, `corpus-id: string`, `score: int32` | referential integrity to both tables; no duplicate pairs; no floats |
67
+ | `hard-negatives` | `query-id: string`, `corpus-id: string`, `rank: int32`, `source: string` | one row per mined negative; `(query-id, corpus-id, source)` unique; never a labelled positive of the same query |
68
+ | `teacher-scores` | `query-id: string`, `corpus-id: string`, `teacher: string`, `score: float32` | one row per scored pair (positives included); a row *means* scored — never a placeholder |
69
+
70
+ Files are Parquet, sorted by id, zstd-compressed, sharded at 500 MB. Every rule above is enforced by a validator
71
+ before publishing; `provenance.json` records the source file hashes, what changed, and the output file hashes.
72
+
73
+ ## What changed from the source
74
+
75
+ - **byte-preserved** all text — no whitespace, newline, or control-character normalisation
76
+
77
+ ## Load it
78
+
79
+ ```python
80
+ from datasets import load_dataset
81
+ queries = load_dataset("Hyukkyu/train-ccnews", "queries", split="train")
82
+ corpus = load_dataset("Hyukkyu/train-ccnews", "corpus", split="train")
83
+ qrels = load_dataset("Hyukkyu/train-ccnews", "qrels", split="train")
84
+ ```
85
+
86
+ ## License and attribution
87
+
88
+ The data is redistributed under the source's terms — `other`. All credit belongs to the
89
+ original authors; see the source repository and the references in `mteb`'s task metadata (https://huggingface.co/datasets/sentence-transformers/ccnews).
90
+ This repository is an independent repackaging and is not affiliated with the RTEB or MTEB maintainers.
corpus/train-00000-of-00003.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9efe0be8c5dfc418c7276334d9e8a49036631fbead412d16620bf9b5a3c9d785
3
+ size 185701276
corpus/train-00001-of-00003.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14bdda269bea8371efea61a9e003999b6c485b80ff75636c5c9591a27f0288ee
3
+ size 185865769
corpus/train-00002-of-00003.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:94a60e07002cda39d44b4892e009d0aa2c87fe69fe9031f869bdd8aaac9c79c3
3
+ size 185321865
hard-negatives/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f62b1b56789db979f3b0d83e5e329c7d6533a72d3da081396053e4bb2a4543b0
3
+ size 823
provenance.json ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "task": "CCNews",
3
+ "benchmark": "train",
4
+ "repo": "train-ccnews",
5
+ "rteb_open_version": "0.1.0",
6
+ "source": {
7
+ "path": "sentence-transformers/ccnews",
8
+ "revision": "6118cc09daf7977d6dddef2c6e4b7a4c92db9f57",
9
+ "url": "https://huggingface.co/datasets/sentence-transformers/ccnews/tree/6118cc09daf7977d6dddef2c6e4b7a4c92db9f57",
10
+ "configs": [
11
+ "pair/train"
12
+ ]
13
+ },
14
+ "license": {
15
+ "card": "other",
16
+ "mteb_task_metadata": null,
17
+ "upstream_checked": true
18
+ },
19
+ "languages": [
20
+ "eng"
21
+ ],
22
+ "domain": "news",
23
+ "byte_preserving_text": true,
24
+ "symmetric": false,
25
+ "layout": {
26
+ "subsets": null,
27
+ "splits": [
28
+ "train"
29
+ ],
30
+ "split_map": null
31
+ },
32
+ "id_scheme": "sha1(text)[:20]",
33
+ "parts": [
34
+ {
35
+ "subset": null,
36
+ "split": "train",
37
+ "source_configs": {
38
+ "pairs": [
39
+ "pair/train"
40
+ ]
41
+ },
42
+ "normalize": {
43
+ "dropped_columns": {},
44
+ "title_added": false,
45
+ "null_titles_filled": 0,
46
+ "nul_bytes_present": 0,
47
+ "id_renamed": false,
48
+ "orphan_queries_dropped": 0,
49
+ "duplicate_qrels_collapsed": 0,
50
+ "score_cast": null,
51
+ "negatives_that_were_positives_dropped": 0
52
+ },
53
+ "stats": {
54
+ "n_corpus": 496328,
55
+ "empty_docs": 0,
56
+ "duplicate_text_docs": 0,
57
+ "corpus_with_title": 0,
58
+ "avg_doc_chars": 2504.0,
59
+ "text_rows_in_source": 614664,
60
+ "collapsed_duplicate_texts": 118336,
61
+ "n_queries": 489515,
62
+ "n_qrels": 538526,
63
+ "qrels_per_query": {
64
+ "min": 1,
65
+ "mean": 1.1,
66
+ "max": 393
67
+ },
68
+ "score_values": {
69
+ "1": 538526
70
+ },
71
+ "dangling_qrels": 0,
72
+ "avg_query_chars": 62.8,
73
+ "n_hard_negatives": 0,
74
+ "sources": [],
75
+ "negatives_per_query": null,
76
+ "positives_among_negatives": 0,
77
+ "n_teacher_scores": 0,
78
+ "teachers": []
79
+ }
80
+ }
81
+ ],
82
+ "files": {
83
+ "corpus": {
84
+ "train": [
85
+ {
86
+ "path": "corpus/train-00000-of-00003.parquet",
87
+ "rows": 165443,
88
+ "bytes": 185701276,
89
+ "sha256": "9efe0be8c5dfc418c7276334d9e8a49036631fbead412d16620bf9b5a3c9d785"
90
+ },
91
+ {
92
+ "path": "corpus/train-00001-of-00003.parquet",
93
+ "rows": 165443,
94
+ "bytes": 185865769,
95
+ "sha256": "14bdda269bea8371efea61a9e003999b6c485b80ff75636c5c9591a27f0288ee"
96
+ },
97
+ {
98
+ "path": "corpus/train-00002-of-00003.parquet",
99
+ "rows": 165442,
100
+ "bytes": 185321865,
101
+ "sha256": "94a60e07002cda39d44b4892e009d0aa2c87fe69fe9031f869bdd8aaac9c79c3"
102
+ }
103
+ ]
104
+ },
105
+ "queries": {
106
+ "train": [
107
+ {
108
+ "path": "queries/train-00000-of-00001.parquet",
109
+ "rows": 489515,
110
+ "bytes": 24170321,
111
+ "sha256": "73df6bf41f4c01e49dfa1ce642a7074d88d98c00675726f4a83ce13c376d6cee"
112
+ }
113
+ ]
114
+ },
115
+ "qrels": {
116
+ "train": [
117
+ {
118
+ "path": "qrels/train-00000-of-00001.parquet",
119
+ "rows": 538526,
120
+ "bytes": 11610966,
121
+ "sha256": "f3e7cdbd2737c258c486a9133107593b4be938f98b8e2ac62a1440f0101dcf02"
122
+ }
123
+ ]
124
+ },
125
+ "hard-negatives": {
126
+ "train": [
127
+ {
128
+ "path": "hard-negatives/train-00000-of-00001.parquet",
129
+ "rows": 0,
130
+ "bytes": 823,
131
+ "sha256": "f62b1b56789db979f3b0d83e5e329c7d6533a72d3da081396053e4bb2a4543b0"
132
+ }
133
+ ]
134
+ },
135
+ "teacher-scores": {
136
+ "train": [
137
+ {
138
+ "path": "teacher-scores/train-00000-of-00001.parquet",
139
+ "rows": 0,
140
+ "bytes": 815,
141
+ "sha256": "8316266e7cbe6867227eefc104eb93ee2252b885a6127a24b8e5c1982716406a"
142
+ }
143
+ ]
144
+ }
145
+ },
146
+ "stats_total": {
147
+ "n_queries": 489515,
148
+ "n_corpus": 496328,
149
+ "n_qrels": 538526,
150
+ "n_hard_negatives": 0,
151
+ "n_teacher_scores": 0
152
+ },
153
+ "availability": {
154
+ "hard_negatives": "none",
155
+ "teacher_scores": "none"
156
+ },
157
+ "source_files": [
158
+ {
159
+ "path": ".gitattributes",
160
+ "size": 2307,
161
+ "sha256": null,
162
+ "blob_id": "28df5f900b358436f0267334b3e3e9af33f917ba"
163
+ },
164
+ {
165
+ "path": "README.md",
166
+ "size": 2053,
167
+ "sha256": null,
168
+ "blob_id": "2d134eb1f010ae8734d9525a52dc5d1eb386518a"
169
+ },
170
+ {
171
+ "path": "pair/train-00000-of-00004.parquet",
172
+ "size": 240357718,
173
+ "sha256": "9452e249d616eeb464a8c1382751e325b7ebd3ff8c646bd1cf6c185ace437b53",
174
+ "blob_id": "b12b4a5e2af4bbfc66ba12fdecfcbb436ead5141"
175
+ },
176
+ {
177
+ "path": "pair/train-00001-of-00004.parquet",
178
+ "size": 239781116,
179
+ "sha256": "3de11f23ed701c0cb6329ada7c7d3b4f1c8c3be99ccf6f98962d7f761c1abcd8",
180
+ "blob_id": "35c71e4539a2b8f2c7c2c7edbae016d77c2400bd"
181
+ },
182
+ {
183
+ "path": "pair/train-00002-of-00004.parquet",
184
+ "size": 240209067,
185
+ "sha256": "30ebb6380374867116088b938aa34d15450112f36dc3af41d7177b4fdb1c61c6",
186
+ "blob_id": "aed4d38c490dee54a2311c963e5506cbb51d076d"
187
+ },
188
+ {
189
+ "path": "pair/train-00003-of-00004.parquet",
190
+ "size": 240371122,
191
+ "sha256": "d76b0ddbad892cb13204162d99649a5d883c526474704cac773d9967e0510d8f",
192
+ "blob_id": "daea87e2b856e4ae3fb2c3770a4d387818d34336"
193
+ }
194
+ ],
195
+ "build": {
196
+ "timestamp_utc": "2026-09-08T09:06:48Z",
197
+ "seconds": 186.8,
198
+ "peak_rss_gb": 6.4,
199
+ "python": "3.11.0",
200
+ "pyarrow": "25.0.1",
201
+ "polars": "1.44.1"
202
+ },
203
+ "recovery": {
204
+ "pair/train": {
205
+ "pairs_in_source": 538526,
206
+ "pairs_recovered": 538526
207
+ }
208
+ }
209
+ }
qrels/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f3e7cdbd2737c258c486a9133107593b4be938f98b8e2ac62a1440f0101dcf02
3
+ size 11610966
queries/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73df6bf41f4c01e49dfa1ce642a7074d88d98c00675726f4a83ce13c376d6cee
3
+ size 24170321
teacher-scores/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8316266e7cbe6867227eefc104eb93ee2252b885a6127a24b8e5c1982716406a
3
+ size 815