Datasets:
Tasks:
Text Retrieval
Modalities:
Text
Formats:
parquet
Sub-tasks:
document-retrieval
Languages:
English
Size:
1K - 10K
License:
build WikiSQLRetrieval from embedding-benchmark/WikiSQL_mteb@4e099ab4 · rteb_open v0.1.0
Browse files- README.md +78 -0
- corpus/test-00000-of-00001.parquet +3 -0
- provenance.json +140 -0
- qrels/test-00000-of-00001.parquet +3 -0
- queries/test-00000-of-00001.parquet +3 -0
README.md
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pretty_name: RTEB · WikiSQLRetrieval
|
| 3 |
+
license: bsd-3-clause
|
| 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 |
+
# WikiSQLRetrieval — RTEB open subset, unified schema
|
| 32 |
+
|
| 33 |
+
A normalised copy of the dataset behind the `mteb` task **`WikiSQLRetrieval`**, 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/WikiSQL_mteb`](https://huggingface.co/datasets/embedding-benchmark/WikiSQL_mteb/tree/4e099ab42dffd49d72c1472f451371e53343e3d7) @ `4e099ab42dff` (the revision pinned in `mteb`) |
|
| 40 |
+
| Domain · languages | code · eng |
|
| 41 |
+
| Queries / documents / qrels | 2,048 / 2,048 / 2,048 |
|
| 42 |
+
| Qrels per query | min 1 · mean 1.0 · max 1 |
|
| 43 |
+
| Score values | 1 ×2,048 |
|
| 44 |
+
| Layout | `queries` · `corpus` · `qrels`, split `test` |
|
| 45 |
+
| License | `bsd-3-clause` |
|
| 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-WikiSQLRetrieval", "queries", split="test")
|
| 70 |
+
corpus = load_dataset("Hyukkyu/rteb-WikiSQLRetrieval", "corpus", split="test")
|
| 71 |
+
qrels = load_dataset("Hyukkyu/rteb-WikiSQLRetrieval", "qrels", split="test")
|
| 72 |
+
```
|
| 73 |
+
|
| 74 |
+
## License and attribution
|
| 75 |
+
|
| 76 |
+
The data is redistributed under the source's terms — `bsd-3-clause`. 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/WikiSQL_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:31817e7292e3aafe30709233eb9e5ce45d370523e5bd041aaea9f3ea1144ae1a
|
| 3 |
+
size 45736
|
provenance.json
ADDED
|
@@ -0,0 +1,140 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"task": "WikiSQLRetrieval",
|
| 3 |
+
"repo": "rteb-WikiSQLRetrieval",
|
| 4 |
+
"rteb_open_version": "0.1.0",
|
| 5 |
+
"source": {
|
| 6 |
+
"path": "embedding-benchmark/WikiSQL_mteb",
|
| 7 |
+
"revision": "4e099ab42dffd49d72c1472f451371e53343e3d7",
|
| 8 |
+
"url": "https://huggingface.co/datasets/embedding-benchmark/WikiSQL_mteb/tree/4e099ab42dffd49d72c1472f451371e53343e3d7"
|
| 9 |
+
},
|
| 10 |
+
"license": {
|
| 11 |
+
"card": "bsd-3-clause",
|
| 12 |
+
"mteb_task_metadata": "bsd-3-clause",
|
| 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": 2048,
|
| 46 |
+
"n_corpus": 2048,
|
| 47 |
+
"n_qrels": 2048,
|
| 48 |
+
"qrels_per_query": {
|
| 49 |
+
"min": 1,
|
| 50 |
+
"mean": 1.0,
|
| 51 |
+
"max": 1
|
| 52 |
+
},
|
| 53 |
+
"score_values": {
|
| 54 |
+
"1": 2048
|
| 55 |
+
},
|
| 56 |
+
"dangling_qrels": 0,
|
| 57 |
+
"corpus_with_title": 0,
|
| 58 |
+
"avg_query_chars": 1606.2,
|
| 59 |
+
"avg_doc_chars": 62.2
|
| 60 |
+
}
|
| 61 |
+
}
|
| 62 |
+
],
|
| 63 |
+
"files": {
|
| 64 |
+
"queries": {
|
| 65 |
+
"test": [
|
| 66 |
+
{
|
| 67 |
+
"path": "queries/test-00000-of-00001.parquet",
|
| 68 |
+
"rows": 2048,
|
| 69 |
+
"bytes": 370962,
|
| 70 |
+
"sha256": "cf9252760015bfc25891ec4415b203a22987491acf552bfc8215cb78bcbea743"
|
| 71 |
+
}
|
| 72 |
+
]
|
| 73 |
+
},
|
| 74 |
+
"corpus": {
|
| 75 |
+
"test": [
|
| 76 |
+
{
|
| 77 |
+
"path": "corpus/test-00000-of-00001.parquet",
|
| 78 |
+
"rows": 2048,
|
| 79 |
+
"bytes": 45736,
|
| 80 |
+
"sha256": "31817e7292e3aafe30709233eb9e5ce45d370523e5bd041aaea9f3ea1144ae1a"
|
| 81 |
+
}
|
| 82 |
+
]
|
| 83 |
+
},
|
| 84 |
+
"qrels": {
|
| 85 |
+
"test": [
|
| 86 |
+
{
|
| 87 |
+
"path": "qrels/test-00000-of-00001.parquet",
|
| 88 |
+
"rows": 2048,
|
| 89 |
+
"bytes": 9103,
|
| 90 |
+
"sha256": "554e87318f95feca12e76e0c95ce892deb313b84155f3ef27633c9199803c68b"
|
| 91 |
+
}
|
| 92 |
+
]
|
| 93 |
+
}
|
| 94 |
+
},
|
| 95 |
+
"stats_total": {
|
| 96 |
+
"n_queries": 2048,
|
| 97 |
+
"n_corpus": 2048,
|
| 98 |
+
"n_qrels": 2048
|
| 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": 1261,
|
| 110 |
+
"sha256": null,
|
| 111 |
+
"blob_id": "82a28160fdc71f28aaf8e19cddae2130e57666f4"
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"path": "corpus.jsonl",
|
| 115 |
+
"size": 193734,
|
| 116 |
+
"sha256": null,
|
| 117 |
+
"blob_id": "aef0c44b2e845b7f0d1fcf944afe823ab9d9f524"
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"path": "queries.jsonl",
|
| 121 |
+
"size": 3427733,
|
| 122 |
+
"sha256": null,
|
| 123 |
+
"blob_id": "f891e1b11cf1ff63ec8e55190caa042827b416c2"
|
| 124 |
+
},
|
| 125 |
+
{
|
| 126 |
+
"path": "relevance.jsonl",
|
| 127 |
+
"size": 122880,
|
| 128 |
+
"sha256": null,
|
| 129 |
+
"blob_id": "59ff9a05f53fd099dabe98e9468faf932c2daea3"
|
| 130 |
+
}
|
| 131 |
+
],
|
| 132 |
+
"build": {
|
| 133 |
+
"timestamp_utc": "2026-09-08T02:32:22Z",
|
| 134 |
+
"seconds": 6.9,
|
| 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:554e87318f95feca12e76e0c95ce892deb313b84155f3ef27633c9199803c68b
|
| 3 |
+
size 9103
|
queries/test-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cf9252760015bfc25891ec4415b203a22987491acf552bfc8215cb78bcbea743
|
| 3 |
+
size 370962
|