Hyukkyu commited on
Commit
c8b9c31
·
verified ·
1 Parent(s): 26e7c3d

gerlayqa: re-mined candidates (100 to depth 1000); teacher scores to come

Browse files
README.md CHANGED
@@ -49,8 +49,8 @@ A seeded sample of [`ViolaCamille/GerLayQA`](https://huggingface.co/datasets/Vio
49
  | Score values | 2 ×23,923 (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` · 1,413,579 rows |
53
- | Teacher scores | `jinaai/jina-embeddings-v5-text-small` (the miner's cosine, not a reranker) · 1,437,502 rows (positives included) |
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 owner's domain pipeline (`convert_domain.py`, `mine_domain.py`), not yet by the annotation pipeline of the other repositories in this collection:
82
 
83
- - **Corpus**: the source's own passages (its positives and the negatives it provides), not a larger collection.
84
- - **Candidates**: dense retrieval with `jinaai/jina-embeddings-v5-text-small` (full length) over that corpus to depth 300; 60 candidates per query drawn from the rank windows 1–30 (30), 31–100 (20), 101–300 (10), the query's positives excluded. `rank` is the dense rank; `source` is `dense` for a mined row and `dataset` for a negative the source labels itself (ranked after the mined ones).
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` | 23,923 (all) | 1,413,579 (1,413,579 dense) | 1,437,502 |
90
 
91
  ## Load it
92
 
 
49
  | Score values | 2 ×23,923 (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,370,498 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` | 23,923 (all) | 2,370,498 (2,370,498 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:eb4a1cb40c400fede78948ab59ef04f7c8ae8b4f51dc5f8092febed92eace823
3
- size 5007941
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1c4dda0985d46c725706331b58eb57f1f559a2dd5579935743e4c066a9f4a18
3
+ size 8460840
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": 23923,
148
+ "candidates": 2370498,
149
+ "by_source": {
150
+ "dense": 2370498
151
+ },
152
+ "scores": 0,
153
+ "positives": 23923
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:6377b6e953b3c6b1151c507f35881fc81b0b45b1db6be007a8f5acbf99f369f8
3
- size 9526944
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8316266e7cbe6867227eefc104eb93ee2252b885a6127a24b8e5c1982716406a
3
+ size 815