Datasets:
Tasks:
Text Retrieval
Modalities:
Text
Formats:
parquet
Sub-tasks:
document-retrieval
Languages:
English
Size:
1M - 10M
License:
text2sql: re-mined candidates (100 to depth 1000); teacher scores to come
Browse files- README.md +6 -7
- hard-negatives/train-00000-of-00001.parquet +2 -2
- provenance.json +21 -0
- teacher-scores/train-00000-of-00001.parquet +2 -2
README.md
CHANGED
|
@@ -49,8 +49,8 @@ A seeded sample of [`gretelai/synthetic_text_to_sql`](https://huggingface.co/dat
|
|
| 49 |
| Score values | 2 ×30,000 (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` ·
|
| 53 |
-
| Teacher scores | `jinaai/jina-
|
| 54 |
| Ids | `sha1(text)[:20]`; identical texts collapse to one document / query |
|
| 55 |
| License | `apache-2.0` |
|
| 56 |
|
|
@@ -78,15 +78,14 @@ Files are Parquet, sorted by id, zstd-compressed, sharded at 500 MB. Every rule
|
|
| 78 |
|
| 79 |
## Hard negatives and teacher scores
|
| 80 |
|
| 81 |
-
Filled by the
|
| 82 |
|
| 83 |
-
- **
|
| 84 |
-
- **
|
| 85 |
-
- **Teacher scores**: the miner's cosine between the query and passage embeddings, one row per (query, positive) and per (query, candidate), `teacher` = `jinaai/jina-embeddings-v5-text-small`. **Not a reranker**: the other repositories carry `jinaai/jina-reranker-v3.5` scores. Re-mining with the collection's plan (100 candidates to depth 1,000) and re-scoring with that reranker are under way; they will replace these two tables, and this section will say so.
|
| 86 |
|
| 87 |
| configs | queries | hard negatives | teacher scores |
|
| 88 |
|---|---:|---:|---:|
|
| 89 |
-
| `hard-negatives` · `teacher-scores` | 30,000 (all) |
|
| 90 |
|
| 91 |
## Load it
|
| 92 |
|
|
|
|
| 49 |
| Score values | 2 ×30,000 (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` · 2,970,047 rows |
|
| 53 |
+
| Teacher scores | none yet (0 rows): `jinaai/jina-reranker-v3.5` scores come next |
|
| 54 |
| Ids | `sha1(text)[:20]`; identical texts collapse to one document / query |
|
| 55 |
| License | `apache-2.0` |
|
| 56 |
|
|
|
|
| 78 |
|
| 79 |
## Hard negatives and teacher scores
|
| 80 |
|
| 81 |
+
Filled by the collection's annotation pipeline (`annotation=jina35`). **Interim**: the candidates are final, the teacher scores are still to come.
|
| 82 |
|
| 83 |
+
- **Candidates**: dense retrieval with `jinaai/jina-embeddings-v5-text-small` over this corpus to depth 1,000; 100 candidates per query drawn from the rank windows 1–30 (30), 31–100 (30), 101–300 (20), 301–1000 (20), the query's labelled positives excluded. `rank` is the dense rank; `source` is `dense` for a mined row and `dataset` for a negative the source labels itself.
|
| 84 |
+
- **Teacher scores**: none yet. `teacher-scores` holds 0 rows until the `jinaai/jina-reranker-v3.5` scores (listwise, as in the other repositories) are filled in; `datasets` cannot return a 0-example split, so read that file with `pyarrow` / `pandas` meanwhile. The candidates stay.
|
|
|
|
| 85 |
|
| 86 |
| configs | queries | hard negatives | teacher scores |
|
| 87 |
|---|---:|---:|---:|
|
| 88 |
+
| `hard-negatives` · `teacher-scores` | 30,000 (all) | 2,970,047 (2,970,047 dense) | 0 |
|
| 89 |
|
| 90 |
## Load it
|
| 91 |
|
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:bd5f03c4b33bcd7c286f360068e4f2b56a3365594864519207c175ce43cc00f1
|
| 3 |
+
size 10608876
|
provenance.json
CHANGED
|
@@ -131,5 +131,26 @@
|
|
| 131 |
}
|
| 132 |
]
|
| 133 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 134 |
}
|
| 135 |
}
|
|
|
|
| 131 |
}
|
| 132 |
]
|
| 133 |
}
|
| 134 |
+
},
|
| 135 |
+
"annotation": {
|
| 136 |
+
"namespace": "jina35-u2",
|
| 137 |
+
"stage": "mined; teacher scores to come",
|
| 138 |
+
"miner": "jinaai/jina-embeddings-v5-text-small",
|
| 139 |
+
"dense_top": 1000,
|
| 140 |
+
"sample": {
|
| 141 |
+
"dense_1_30": 30,
|
| 142 |
+
"dense_31_100": 30,
|
| 143 |
+
"dense_101_300": 20,
|
| 144 |
+
"dense_301_1000": 20
|
| 145 |
+
},
|
| 146 |
+
"stats": {
|
| 147 |
+
"queries": 30000,
|
| 148 |
+
"candidates": 2970047,
|
| 149 |
+
"by_source": {
|
| 150 |
+
"dense": 2970047
|
| 151 |
+
},
|
| 152 |
+
"scores": 0,
|
| 153 |
+
"positives": 30000
|
| 154 |
+
}
|
| 155 |
}
|
| 156 |
}
|
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:8316266e7cbe6867227eefc104eb93ee2252b885a6127a24b8e5c1982716406a
|
| 3 |
+
size 815
|