Datasets:
Tasks:
Text Retrieval
Modalities:
Text
Formats:
parquet
Sub-tasks:
document-retrieval
Languages:
English
Size:
1M - 10M
License:
Magicoder OSS-Instruct: domain-v1.1: near copies of evaluation documents that no evaluation query judges relevant restored (middle-ground decontamination)
Browse files
README.md
CHANGED
|
@@ -44,13 +44,13 @@ A seeded sample of [`ise-uiuc/Magicoder-OSS-Instruct-75K`](https://huggingface.c
|
|
| 44 |
| Source | [`ise-uiuc/Magicoder-OSS-Instruct-75K`](https://huggingface.co/datasets/ise-uiuc/Magicoder-OSS-Instruct-75K/tree/5f839b1f368a76b161028bb9edff055db34022b2) @ `5f839b1f368a` |
|
| 45 |
| Task | coding problem → solution |
|
| 46 |
| Domain · languages | code · eng |
|
| 47 |
-
| Queries / documents / qrels | 59,
|
| 48 |
| Qrels per query | min 1 · mean 1.0 · max 1 |
|
| 49 |
-
| Score values | 2 ×59,
|
| 50 |
| Layout | `queries` · `corpus` · `qrels` · `hard-negatives` · `teacher-scores`, split `train` |
|
| 51 |
| Splits | `corpus`: train · `hard-negatives`: train · `qrels`: train · `queries`: train · `teacher-scores`: train |
|
| 52 |
-
| Hard negatives | sources: `dense` · 3,539,
|
| 53 |
-
| Teacher scores | `jinaai/jina-embeddings-v5-text-small` (the miner's cosine, not a reranker) · 3,599,
|
| 54 |
| Ids | `sha1(text)[:20]`; identical texts collapse to one document / query |
|
| 55 |
| License | `mit` |
|
| 56 |
|
|
@@ -71,7 +71,7 @@ Files are Parquet, sorted by id, zstd-compressed, sharded at 500 MB. Every rule
|
|
| 71 |
- **sampled**: a seeded random sample (seed 1) of up to 60,000 pairs
|
| 72 |
- **reshaped**: the coding problem (`problem`) is the query, its solution (`solution`) the document
|
| 73 |
- **decontaminated (exact)**: a pair was dropped when its normalised query equals any evaluation query, or a positive equals a document of a test or dev corpus; a repeated query keeps its first pair
|
| 74 |
-
- **decontaminated (near-duplicates)**:
|
| 75 |
- **text**: leading and trailing whitespace stripped; otherwise as converted above
|
| 76 |
- **ids** re-keyed to `sha1(text)[:20]`: 0 documents and 0 queries collapsed into identical texts
|
| 77 |
- added a `title` column filled with `""` (the source has none)
|
|
@@ -86,7 +86,7 @@ Filled by the owner's domain pipeline (`convert_domain.py`, `mine_domain.py`), n
|
|
| 86 |
|
| 87 |
| configs | queries | hard negatives | teacher scores |
|
| 88 |
|---|---:|---:|---:|
|
| 89 |
-
| `hard-negatives` · `teacher-scores` | 59,
|
| 90 |
|
| 91 |
## Load it
|
| 92 |
|
|
|
|
| 44 |
| Source | [`ise-uiuc/Magicoder-OSS-Instruct-75K`](https://huggingface.co/datasets/ise-uiuc/Magicoder-OSS-Instruct-75K/tree/5f839b1f368a76b161028bb9edff055db34022b2) @ `5f839b1f368a` |
|
| 45 |
| Task | coding problem → solution |
|
| 46 |
| Domain · languages | code · eng |
|
| 47 |
+
| Queries / documents / qrels | 59,997 / 59,999 / 59,997 |
|
| 48 |
| Qrels per query | min 1 · mean 1.0 · max 1 |
|
| 49 |
+
| Score values | 2 ×59,997 (2: the first positive, 1: any other) |
|
| 50 |
| Layout | `queries` · `corpus` · `qrels` · `hard-negatives` · `teacher-scores`, split `train` |
|
| 51 |
| Splits | `corpus`: train · `hard-negatives`: train · `qrels`: train · `queries`: train · `teacher-scores`: train |
|
| 52 |
+
| Hard negatives | sources: `dense` · 3,539,799 rows |
|
| 53 |
+
| Teacher scores | `jinaai/jina-embeddings-v5-text-small` (the miner's cosine, not a reranker) · 3,599,796 rows (positives included) |
|
| 54 |
| Ids | `sha1(text)[:20]`; identical texts collapse to one document / query |
|
| 55 |
| License | `mit` |
|
| 56 |
|
|
|
|
| 71 |
- **sampled**: a seeded random sample (seed 1) of up to 60,000 pairs
|
| 72 |
- **reshaped**: the coding problem (`problem`) is the query, its solution (`solution`) the document
|
| 73 |
- **decontaminated (exact)**: a pair was dropped when its normalised query equals any evaluation query, or a positive equals a document of a test or dev corpus; a repeated query keeps its first pair
|
| 74 |
+
- **decontaminated (near-duplicates)**: 1 passages that nearly copy an evaluation document some evaluation query judges relevant, and 2 queries that nearly copy an evaluation query (word 13-grams for passages, 8-grams for queries; at least half shared with one text of the 23 test sets (BEIR, RTEB, LitSearch) or the 6 dev sets) were removed, and with them 3 queries in total; near copies of evaluation-corpus documents that no evaluation query judges relevant were kept
|
| 75 |
- **text**: leading and trailing whitespace stripped; otherwise as converted above
|
| 76 |
- **ids** re-keyed to `sha1(text)[:20]`: 0 documents and 0 queries collapsed into identical texts
|
| 77 |
- added a `title` column filled with `""` (the source has none)
|
|
|
|
| 86 |
|
| 87 |
| configs | queries | hard negatives | teacher scores |
|
| 88 |
|---|---:|---:|---:|
|
| 89 |
+
| `hard-negatives` · `teacher-scores` | 59,997 (all) | 3,539,799 (3,539,799 dense) | 3,599,796 |
|
| 90 |
|
| 91 |
## Load it
|
| 92 |
|
corpus/train-00000-of-00001.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ce7429933cb2623cf4b9e1be5980e3fd88c4edbd574e669fe832e4e14e3e94c7
|
| 3 |
+
size 21450609
|
hard-negatives/train-00000-of-00001.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4c0cc4fa8a1f270243ca995f838620f7e5bea1549a7faa0d1a94fd80a3b52c98
|
| 3 |
+
size 40198220
|
provenance.json
CHANGED
|
@@ -42,10 +42,10 @@
|
|
| 42 |
},
|
| 43 |
"decontamination": {
|
| 44 |
"exact": "the normalised query equals an evaluation query, or a positive equals a test / dev corpus document (convert_domain.py)",
|
| 45 |
-
"near_duplicate": "word 13-gram shingles of passages, 8-grams of queries, a fixed 1/4 sample;
|
| 46 |
-
"flagged_passages":
|
| 47 |
"flagged_queries": 2,
|
| 48 |
-
"queries_dropped":
|
| 49 |
},
|
| 50 |
"normalize": {
|
| 51 |
"title_added": true,
|
|
@@ -56,24 +56,24 @@
|
|
| 56 |
"score_spread_max": 0.0
|
| 57 |
},
|
| 58 |
"stats": {
|
| 59 |
-
"n_queries":
|
| 60 |
-
"n_corpus":
|
| 61 |
-
"n_qrels":
|
| 62 |
"qrels_per_query": {
|
| 63 |
"min": 1,
|
| 64 |
"mean": 1.0,
|
| 65 |
"max": 1
|
| 66 |
},
|
| 67 |
"score_values": {
|
| 68 |
-
"2":
|
| 69 |
},
|
| 70 |
"corpus_with_title": 0,
|
| 71 |
-
"n_hard_negatives":
|
| 72 |
"sources": {
|
| 73 |
-
"dense":
|
| 74 |
},
|
| 75 |
"negatives_per_query": 59.0,
|
| 76 |
-
"n_teacher_scores":
|
| 77 |
"teachers": [
|
| 78 |
"jinaai/jina-embeddings-v5-text-small"
|
| 79 |
],
|
|
@@ -85,9 +85,9 @@
|
|
| 85 |
"train": [
|
| 86 |
{
|
| 87 |
"path": "queries/train-00000-of-00001.parquet",
|
| 88 |
-
"rows":
|
| 89 |
-
"bytes":
|
| 90 |
-
"sha256": "
|
| 91 |
}
|
| 92 |
]
|
| 93 |
},
|
|
@@ -95,9 +95,9 @@
|
|
| 95 |
"train": [
|
| 96 |
{
|
| 97 |
"path": "corpus/train-00000-of-00001.parquet",
|
| 98 |
-
"rows":
|
| 99 |
-
"bytes":
|
| 100 |
-
"sha256": "
|
| 101 |
}
|
| 102 |
]
|
| 103 |
},
|
|
@@ -105,9 +105,9 @@
|
|
| 105 |
"train": [
|
| 106 |
{
|
| 107 |
"path": "qrels/train-00000-of-00001.parquet",
|
| 108 |
-
"rows":
|
| 109 |
-
"bytes":
|
| 110 |
-
"sha256": "
|
| 111 |
}
|
| 112 |
]
|
| 113 |
},
|
|
@@ -115,9 +115,9 @@
|
|
| 115 |
"train": [
|
| 116 |
{
|
| 117 |
"path": "hard-negatives/train-00000-of-00001.parquet",
|
| 118 |
-
"rows":
|
| 119 |
-
"bytes":
|
| 120 |
-
"sha256": "
|
| 121 |
}
|
| 122 |
]
|
| 123 |
},
|
|
@@ -125,9 +125,9 @@
|
|
| 125 |
"train": [
|
| 126 |
{
|
| 127 |
"path": "teacher-scores/train-00000-of-00001.parquet",
|
| 128 |
-
"rows":
|
| 129 |
-
"bytes":
|
| 130 |
-
"sha256": "
|
| 131 |
}
|
| 132 |
]
|
| 133 |
}
|
|
|
|
| 42 |
},
|
| 43 |
"decontamination": {
|
| 44 |
"exact": "the normalised query equals an evaluation query, or a positive equals a test / dev corpus document (convert_domain.py)",
|
| 45 |
+
"near_duplicate": "word 13-gram shingles of passages, 8-grams of queries, a fixed 1/4 sample; a near copy shares >= half (and the text has >= 4) with one text of the 23 test sets and the 6 dev sets; removed: passages nearly copying a document some evaluation query judges relevant, and queries nearly copying an evaluation query; near copies of documents no evaluation query judges relevant are kept (data/tmp/full_overlap_audit.py)",
|
| 46 |
+
"flagged_passages": 1,
|
| 47 |
"flagged_queries": 2,
|
| 48 |
+
"queries_dropped": 3
|
| 49 |
},
|
| 50 |
"normalize": {
|
| 51 |
"title_added": true,
|
|
|
|
| 56 |
"score_spread_max": 0.0
|
| 57 |
},
|
| 58 |
"stats": {
|
| 59 |
+
"n_queries": 59997,
|
| 60 |
+
"n_corpus": 59999,
|
| 61 |
+
"n_qrels": 59997,
|
| 62 |
"qrels_per_query": {
|
| 63 |
"min": 1,
|
| 64 |
"mean": 1.0,
|
| 65 |
"max": 1
|
| 66 |
},
|
| 67 |
"score_values": {
|
| 68 |
+
"2": 59997
|
| 69 |
},
|
| 70 |
"corpus_with_title": 0,
|
| 71 |
+
"n_hard_negatives": 3539799,
|
| 72 |
"sources": {
|
| 73 |
+
"dense": 3539799
|
| 74 |
},
|
| 75 |
"negatives_per_query": 59.0,
|
| 76 |
+
"n_teacher_scores": 3599796,
|
| 77 |
"teachers": [
|
| 78 |
"jinaai/jina-embeddings-v5-text-small"
|
| 79 |
],
|
|
|
|
| 85 |
"train": [
|
| 86 |
{
|
| 87 |
"path": "queries/train-00000-of-00001.parquet",
|
| 88 |
+
"rows": 59997,
|
| 89 |
+
"bytes": 22916373,
|
| 90 |
+
"sha256": "efbf0c7d199bb46086924214a74630e177262eefeeb36994d85c77e663aa0435"
|
| 91 |
}
|
| 92 |
]
|
| 93 |
},
|
|
|
|
| 95 |
"train": [
|
| 96 |
{
|
| 97 |
"path": "corpus/train-00000-of-00001.parquet",
|
| 98 |
+
"rows": 59999,
|
| 99 |
+
"bytes": 21450609,
|
| 100 |
+
"sha256": "ce7429933cb2623cf4b9e1be5980e3fd88c4edbd574e669fe832e4e14e3e94c7"
|
| 101 |
}
|
| 102 |
]
|
| 103 |
},
|
|
|
|
| 105 |
"train": [
|
| 106 |
{
|
| 107 |
"path": "qrels/train-00000-of-00001.parquet",
|
| 108 |
+
"rows": 59997,
|
| 109 |
+
"bytes": 1453702,
|
| 110 |
+
"sha256": "0a147860545f3011561224c30883c5e9761c313817f19f9611b965515cb943a4"
|
| 111 |
}
|
| 112 |
]
|
| 113 |
},
|
|
|
|
| 115 |
"train": [
|
| 116 |
{
|
| 117 |
"path": "hard-negatives/train-00000-of-00001.parquet",
|
| 118 |
+
"rows": 3539799,
|
| 119 |
+
"bytes": 40198220,
|
| 120 |
+
"sha256": "4c0cc4fa8a1f270243ca995f838620f7e5bea1549a7faa0d1a94fd80a3b52c98"
|
| 121 |
}
|
| 122 |
]
|
| 123 |
},
|
|
|
|
| 125 |
"train": [
|
| 126 |
{
|
| 127 |
"path": "teacher-scores/train-00000-of-00001.parquet",
|
| 128 |
+
"rows": 3599796,
|
| 129 |
+
"bytes": 51872999,
|
| 130 |
+
"sha256": "f447f6bc78a1416192c04d9e26deedf9be80a0afb84c5c7a5d0db1d4de78fd3b"
|
| 131 |
}
|
| 132 |
]
|
| 133 |
}
|
qrels/train-00000-of-00001.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0a147860545f3011561224c30883c5e9761c313817f19f9611b965515cb943a4
|
| 3 |
+
size 1453702
|
queries/train-00000-of-00001.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:efbf0c7d199bb46086924214a74630e177262eefeeb36994d85c77e663aa0435
|
| 3 |
+
size 22916373
|
teacher-scores/train-00000-of-00001.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f447f6bc78a1416192c04d9e26deedf9be80a0afb84c5c7a5d0db1d4de78fd3b
|
| 3 |
+
size 51872999
|