Datasets:
Tasks:
Text Retrieval
Modalities:
Text
Formats:
parquet
Sub-tasks:
document-retrieval
Languages:
English
Size:
10K - 100K
License:
build CQADupstackGisRetrieval from mteb/cqadupstack-gis@5003b306 · rteb_open v0.1.0
Browse files- README.md +80 -0
- corpus/test-00000-of-00001.parquet +3 -0
- provenance.json +154 -0
- qrels/test-00000-of-00001.parquet +3 -0
- queries/test-00000-of-00001.parquet +3 -0
README.md
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pretty_name: BEIR · CQADupstackGisRetrieval
|
| 3 |
+
license: cc-by-sa-4.0
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
+
multilinguality:
|
| 7 |
+
- monolingual
|
| 8 |
+
task_categories:
|
| 9 |
+
- text-retrieval
|
| 10 |
+
task_ids:
|
| 11 |
+
- document-retrieval
|
| 12 |
+
tags:
|
| 13 |
+
- beir
|
| 14 |
+
- mteb
|
| 15 |
+
- retrieval
|
| 16 |
+
- stackexchange
|
| 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 |
+
# CQADupstackGisRetrieval — BEIR, unified schema
|
| 32 |
+
|
| 33 |
+
A normalised copy of the dataset behind the `mteb` task **`CQADupstackGisRetrieval`**, one of the tasks of the [BEIR](https://github.com/beir-cellar/beir) benchmark as `mteb` defines it (a member of the aggregate task `CQADupstackRetrieval`). Same queries, documents
|
| 34 |
+
and relevance judgements as the benchmark evaluates — reshaped into one strict schema shared by every dataset
|
| 35 |
+
in this collection.
|
| 36 |
+
|
| 37 |
+
| | |
|
| 38 |
+
|---|---|
|
| 39 |
+
| Source | [`mteb/cqadupstack-gis`](https://huggingface.co/datasets/mteb/cqadupstack-gis/tree/5003b3064772da1887988e05400cf3806fe491f2) @ `5003b3064772` (the revision pinned in `mteb`) |
|
| 40 |
+
| Domain · languages | stackexchange · eng |
|
| 41 |
+
| Queries / documents / qrels | 885 / 37,637 / 1,114 |
|
| 42 |
+
| Qrels per query | min 1 · mean 1.259 · max 22 |
|
| 43 |
+
| Score values | 1 ×1,114 |
|
| 44 |
+
| Layout | `queries` · `corpus` · `qrels`, split `test` |
|
| 45 |
+
| License | `cc-by-sa-4.0` |
|
| 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 |
+
- cast `qrels.score` double -> int32
|
| 61 |
+
- kept 4 documents whose text is identical to another document's — a property of the source; note that models embed such documents identically and retrieval ties among them are broken by corpus order
|
| 62 |
+
- renamed `_id` → `id`
|
| 63 |
+
- renamed source splits (`queries`←`queries/queries`, `corpus`←`corpus/corpus`) to `test`
|
| 64 |
+
|
| 65 |
+
## Load it
|
| 66 |
+
|
| 67 |
+
```python
|
| 68 |
+
from datasets import load_dataset
|
| 69 |
+
queries = load_dataset("Hyukkyu/beir-cqadupstack-gis", "queries", split="test")
|
| 70 |
+
corpus = load_dataset("Hyukkyu/beir-cqadupstack-gis", "corpus", split="test")
|
| 71 |
+
qrels = load_dataset("Hyukkyu/beir-cqadupstack-gis", "qrels", split="test")
|
| 72 |
+
```
|
| 73 |
+
|
| 74 |
+
## License and attribution
|
| 75 |
+
|
| 76 |
+
The data is redistributed under the source's terms — `cc-by-sa-4.0`. All credit belongs to the
|
| 77 |
+
original authors; see the source repository and the references in `mteb`'s task metadata (http://nlp.cis.unimelb.edu.au/resources/cqadupstack/).
|
| 78 |
+
This repository is an independent repackaging and is not affiliated with the RTEB or MTEB maintainers.
|
| 79 |
+
|
| 80 |
+
> **License discrepancy.** The upstream dataset card declares `cc-by-sa-4.0` while `mteb`'s `TaskMetadata` declares `apache-2.0`. This card carries the upstream value as the more conservative choice.
|
corpus/test-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e0c56e2ec48ddc9c7bfe4565243a75bcebf90306a5956cf3d5b8a78446438ee5
|
| 3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benchmark": "beir",
|
| 4 |
+
"repo": "beir-cqadupstack-gis",
|
| 5 |
+
"rteb_open_version": "0.1.0",
|
| 6 |
+
"source": {
|
| 7 |
+
"path": "mteb/cqadupstack-gis",
|
| 8 |
+
"revision": "5003b3064772da1887988e05400cf3806fe491f2",
|
| 9 |
+
"url": "https://huggingface.co/datasets/mteb/cqadupstack-gis/tree/5003b3064772da1887988e05400cf3806fe491f2"
|
| 10 |
+
},
|
| 11 |
+
"license": {
|
| 12 |
+
"card": "cc-by-sa-4.0",
|
| 13 |
+
"mteb_task_metadata": "apache-2.0",
|
| 14 |
+
"upstream_checked": true
|
| 15 |
+
},
|
| 16 |
+
"languages": [
|
| 17 |
+
"eng"
|
| 18 |
+
],
|
| 19 |
+
"domain": "stackexchange",
|
| 20 |
+
"byte_preserving_text": false,
|
| 21 |
+
"layout": {
|
| 22 |
+
"subsets": null,
|
| 23 |
+
"splits": [
|
| 24 |
+
"test"
|
| 25 |
+
],
|
| 26 |
+
"split_map": {
|
| 27 |
+
"test": "test"
|
| 28 |
+
}
|
| 29 |
+
},
|
| 30 |
+
"parts": [
|
| 31 |
+
{
|
| 32 |
+
"subset": null,
|
| 33 |
+
"split": "test",
|
| 34 |
+
"source_configs": {
|
| 35 |
+
"queries": "queries/queries",
|
| 36 |
+
"corpus": "corpus/corpus",
|
| 37 |
+
"qrels": "default/test"
|
| 38 |
+
},
|
| 39 |
+
"normalize": {
|
| 40 |
+
"dropped_columns": {},
|
| 41 |
+
"orphan_queries_dropped": 0,
|
| 42 |
+
"duplicate_qrels_collapsed": 0,
|
| 43 |
+
"nul_bytes_removed": 0,
|
| 44 |
+
"score_cast": "double -> int32",
|
| 45 |
+
"id_renamed": true,
|
| 46 |
+
"title_added": false,
|
| 47 |
+
"null_titles_filled": 0
|
| 48 |
+
},
|
| 49 |
+
"stats": {
|
| 50 |
+
"n_corpus": 37637,
|
| 51 |
+
"empty_docs": 0,
|
| 52 |
+
"corpus_with_title": 37637,
|
| 53 |
+
"avg_doc_chars": 1012.2,
|
| 54 |
+
"n_queries": 885,
|
| 55 |
+
"n_qrels": 1114,
|
| 56 |
+
"qrels_per_query": {
|
| 57 |
+
"min": 1,
|
| 58 |
+
"mean": 1.259,
|
| 59 |
+
"max": 22
|
| 60 |
+
},
|
| 61 |
+
"score_values": {
|
| 62 |
+
"1": 1114
|
| 63 |
+
},
|
| 64 |
+
"dangling_qrels": 0,
|
| 65 |
+
"avg_query_chars": 52.2,
|
| 66 |
+
"duplicate_text_docs": 4
|
| 67 |
+
}
|
| 68 |
+
}
|
| 69 |
+
],
|
| 70 |
+
"files": {
|
| 71 |
+
"corpus": {
|
| 72 |
+
"test": [
|
| 73 |
+
{
|
| 74 |
+
"path": "corpus/test-00000-of-00001.parquet",
|
| 75 |
+
"rows": 37637,
|
| 76 |
+
"bytes": 15234204,
|
| 77 |
+
"sha256": "e0c56e2ec48ddc9c7bfe4565243a75bcebf90306a5956cf3d5b8a78446438ee5"
|
| 78 |
+
}
|
| 79 |
+
]
|
| 80 |
+
},
|
| 81 |
+
"queries": {
|
| 82 |
+
"test": [
|
| 83 |
+
{
|
| 84 |
+
"path": "queries/test-00000-of-00001.parquet",
|
| 85 |
+
"rows": 885,
|
| 86 |
+
"bytes": 28325,
|
| 87 |
+
"sha256": "ffc3a8dfadc81b5dbdc9198ad2aefd21be16892ef548c4b037f29ddc3e2de3c5"
|
| 88 |
+
}
|
| 89 |
+
]
|
| 90 |
+
},
|
| 91 |
+
"qrels": {
|
| 92 |
+
"test": [
|
| 93 |
+
{
|
| 94 |
+
"path": "qrels/test-00000-of-00001.parquet",
|
| 95 |
+
"rows": 1114,
|
| 96 |
+
"bytes": 10099,
|
| 97 |
+
"sha256": "3a795a7a732eeb3247436376e175b9d470aa5dcdc156d716ed77ebffdef80c52"
|
| 98 |
+
}
|
| 99 |
+
]
|
| 100 |
+
}
|
| 101 |
+
},
|
| 102 |
+
"stats_total": {
|
| 103 |
+
"n_queries": 885,
|
| 104 |
+
"n_corpus": 37637,
|
| 105 |
+
"n_qrels": 1114
|
| 106 |
+
},
|
| 107 |
+
"source_files": [
|
| 108 |
+
{
|
| 109 |
+
"path": ".gitattributes",
|
| 110 |
+
"size": 2406,
|
| 111 |
+
"sha256": null,
|
| 112 |
+
"blob_id": "80f8495df3315d75669d8adee26b2c0f409ed338"
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"path": "README.md",
|
| 116 |
+
"size": 1206,
|
| 117 |
+
"sha256": null,
|
| 118 |
+
"blob_id": "6bc9c64f2b6250474749428a9fa04b97bf5a18bb"
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"path": "corpus.jsonl",
|
| 122 |
+
"size": 39955855,
|
| 123 |
+
"sha256": "dad17e0c065599b52ec97f3bd1640c20c1d15d4a0668c880c4894bffe82f0e7b",
|
| 124 |
+
"blob_id": "59563b77b7eee770815bcbb26ec57fb16c7e44c4"
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"path": "qrels/test.jsonl",
|
| 128 |
+
"size": 64600,
|
| 129 |
+
"sha256": null,
|
| 130 |
+
"blob_id": "96e3792e179fe125cc1fabcd88329b62572ff27b"
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"path": "qrels/test.tsv",
|
| 134 |
+
"size": 16724,
|
| 135 |
+
"sha256": null,
|
| 136 |
+
"blob_id": "206fcb6d921be8c59eed946b0a5dddc13830430a"
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"path": "queries.jsonl",
|
| 140 |
+
"size": 71898,
|
| 141 |
+
"sha256": "1849471231dd6b92161e6c1f4b8c363263155cbed3474158487e857d1dc513c5",
|
| 142 |
+
"blob_id": "304d86a4f73de23bb14ea9a4b8e3800ea55936e7"
|
| 143 |
+
}
|
| 144 |
+
],
|
| 145 |
+
"build": {
|
| 146 |
+
"timestamp_utc": "2026-09-08T05:15:59Z",
|
| 147 |
+
"seconds": 8.0,
|
| 148 |
+
"peak_rss_gb": 2.55,
|
| 149 |
+
"python": "3.11.0",
|
| 150 |
+
"pyarrow": "25.0.1",
|
| 151 |
+
"datasets": "5.0.1",
|
| 152 |
+
"polars": "1.44.1"
|
| 153 |
+
}
|
| 154 |
+
}
|
qrels/test-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3a795a7a732eeb3247436376e175b9d470aa5dcdc156d716ed77ebffdef80c52
|
| 3 |
+
size 10099
|
queries/test-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ffc3a8dfadc81b5dbdc9198ad2aefd21be16892ef548c4b037f29ddc3e2de3c5
|
| 3 |
+
size 28325
|