devrim commited on
Commit
93cc109
·
verified ·
1 Parent(s): 38c3320

Add val split (2000 queries carved from test, seed=42); drop source_split column

Browse files
README.md CHANGED
@@ -19,6 +19,8 @@ configs:
19
  data_files:
20
  - split: train
21
  path: default/train.parquet
 
 
22
  - split: test
23
  path: default/test.parquet
24
  ---
@@ -33,20 +35,24 @@ from [`devrim/goodwiki_long`](https://huggingface.co/datasets/devrim/goodwiki_lo
33
 
34
  ## Layout
35
 
36
- | config | split(s) | rows |
37
- |-----------|-----------------|--------|
38
- | `corpus` | `corpus` | 53,562 |
39
- | `queries` | `queries` | 17,854 |
40
- | `default` | `train`, `test` | 30,000 / 23,562 |
41
 
42
- The corpus and queries are single shared pools. Train/test only exists in `default`
43
- (qrels), so a query in the train split competes against the *full* corpus and
44
- likewise for test — train synthetics serve as hard negatives for test queries and
45
- vice-versa.
46
 
47
- The `source_split` column on `corpus` and `queries` records which split each row
48
- was generated under in the source datasets, in case downstream code wants to
49
- reconstruct the original disjoint pools.
 
 
 
 
 
50
 
51
  ## Configs
52
 
@@ -60,7 +66,6 @@ reconstruct the original disjoint pools.
60
  | `other_article_id` | string | id of the secondary article mixed in (only meaningful for `distractor`) |
61
  | `primary_topic` | string | source article title + short description |
62
  | `integration_topic` | string | secondary article title + short description |
63
- | `source_split` | string | `train` or `test` (from source dataset) |
64
 
65
  ### `queries`
66
  | field | type | notes |
@@ -70,7 +75,6 @@ reconstruct the original disjoint pools.
70
  | `title` | string | |
71
  | `description` | string | |
72
  | `categories` | list[string] | |
73
- | `source_split` | string | `train` or `test` (from source dataset) |
74
 
75
  ### `default` (qrels)
76
  | field | type | notes |
@@ -88,5 +92,6 @@ from datasets import load_dataset
88
 
89
  corpus = load_dataset("devrim/goodwiki_long_synthetic_ir", "corpus", split="corpus")
90
  queries = load_dataset("devrim/goodwiki_long_synthetic_ir", "queries", split="queries")
91
- qrels = load_dataset("devrim/goodwiki_long_synthetic_ir", "default", split="test")
 
92
  ```
 
19
  data_files:
20
  - split: train
21
  path: default/train.parquet
22
+ - split: val
23
+ path: default/val.parquet
24
  - split: test
25
  path: default/test.parquet
26
  ---
 
35
 
36
  ## Layout
37
 
38
+ | config | split(s) | rows |
39
+ |-----------|----------------------|---------------------------------|
40
+ | `corpus` | `corpus` | 53,562 |
41
+ | `queries` | `queries` | 17,854 |
42
+ | `default` | `train`, `val`, `test` | 30,000 / 6,000 / 17,562 |
43
 
44
+ The corpus and queries are single shared pools. Splits exist only on `default`
45
+ (qrels), so every query — train, val, or test — competes against the *full*
46
+ corpus, and synthetics from other splits serve as hard negatives.
 
47
 
48
+ | qrels split | unique queries | qrels rows |
49
+ |---|---|---|
50
+ | `train` | 10,000 | 30,000 |
51
+ | `val` | 2,000 | 6,000 |
52
+ | `test` | 5,854 | 17,562 |
53
+
54
+ Val was carved out of the original test split (random sample, seed=42) before
55
+ upload. A query's split is determined by which qrels split it appears in.
56
 
57
  ## Configs
58
 
 
66
  | `other_article_id` | string | id of the secondary article mixed in (only meaningful for `distractor`) |
67
  | `primary_topic` | string | source article title + short description |
68
  | `integration_topic` | string | secondary article title + short description |
 
69
 
70
  ### `queries`
71
  | field | type | notes |
 
75
  | `title` | string | |
76
  | `description` | string | |
77
  | `categories` | list[string] | |
 
78
 
79
  ### `default` (qrels)
80
  | field | type | notes |
 
92
 
93
  corpus = load_dataset("devrim/goodwiki_long_synthetic_ir", "corpus", split="corpus")
94
  queries = load_dataset("devrim/goodwiki_long_synthetic_ir", "queries", split="queries")
95
+ val = load_dataset("devrim/goodwiki_long_synthetic_ir", "default", split="val")
96
+ test = load_dataset("devrim/goodwiki_long_synthetic_ir", "default", split="test")
97
  ```
corpus/corpus.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c619e3cc62041b15753618dbb5d83df888e2cce963724b22ba4713c12e27958c
3
- size 285981831
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:633c285a2a1835822436ae754373b59abed2666d9b4d4b848ed212cf6bd7b227
3
+ size 285968412
default/test.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1a194e35211bc84a98ae4b577d01d7c3f671e6677351f41b7e0cfeabec1e3789
3
- size 329083
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:747286d5fc8ee880bf2c18f2a782f0895e6fc9ee699cd4701b0b8ec5f7905815
3
+ size 246876
default/val.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:53e095dd3ffdc92e3821ea616771840cf39ab51de74a00fbfbd11ecb91fba713
3
+ size 85663
queries/queries.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:78e8155f4d8ac4cd348483e11925a0fe689ab23b401612c93d2641207a447218
3
- size 327766343
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d6ec04f53dd354d888b7f8ac5a5823ae0e58fdf348336180dbe2e33d754b0f7
3
+ size 327761722