Update README.md
Browse files
README.md
CHANGED
@@ -31,14 +31,14 @@ dataset_info:
|
|
31 |
sequence: string
|
32 |
splits:
|
33 |
- name: train
|
34 |
-
num_examples:
|
35 |
-
num_bytes:
|
36 |
- name: validation
|
37 |
-
num_examples:
|
38 |
-
num_bytes:
|
39 |
- name: test
|
40 |
-
num_examples:
|
41 |
-
num_bytes:
|
42 |
- config_name: NC
|
43 |
features:
|
44 |
- name: doi
|
@@ -59,14 +59,14 @@ dataset_info:
|
|
59 |
sequence: string
|
60 |
splits:
|
61 |
- name: train
|
62 |
-
num_examples:
|
63 |
-
num_bytes:
|
64 |
- name: validation
|
65 |
-
num_examples:
|
66 |
-
num_bytes:
|
67 |
- name: test
|
68 |
-
num_examples:
|
69 |
-
num_bytes:
|
70 |
- config_name: A
|
71 |
features:
|
72 |
- name: doi
|
@@ -87,14 +87,14 @@ dataset_info:
|
|
87 |
sequence: string
|
88 |
splits:
|
89 |
- name: train
|
90 |
-
num_examples:
|
91 |
-
num_bytes:
|
92 |
- name: validation
|
93 |
-
num_examples:
|
94 |
-
num_bytes:
|
95 |
- name: test
|
96 |
-
num_examples:
|
97 |
-
num_bytes:
|
98 |
- config_name: NIHR
|
99 |
features:
|
100 |
- name: doi
|
@@ -115,14 +115,14 @@ dataset_info:
|
|
115 |
sequence: string
|
116 |
splits:
|
117 |
- name: train
|
118 |
-
num_examples:
|
119 |
-
num_bytes:
|
120 |
- name: validation
|
121 |
-
num_examples:
|
122 |
-
num_bytes:
|
123 |
- name: test
|
124 |
-
num_examples:
|
125 |
-
num_bytes:
|
126 |
- config_name: PLGEN
|
127 |
features:
|
128 |
- name: doi
|
@@ -143,14 +143,14 @@ dataset_info:
|
|
143 |
sequence: string
|
144 |
splits:
|
145 |
- name: train
|
146 |
-
num_examples:
|
147 |
-
num_bytes:
|
148 |
- name: validation
|
149 |
-
num_examples:
|
150 |
-
num_bytes:
|
151 |
- name: test
|
152 |
-
num_examples:
|
153 |
-
num_bytes:
|
154 |
- config_name: PLPAT
|
155 |
features:
|
156 |
- name: doi
|
@@ -171,14 +171,14 @@ dataset_info:
|
|
171 |
sequence: string
|
172 |
splits:
|
173 |
- name: train
|
174 |
-
num_examples:
|
175 |
-
num_bytes:
|
176 |
- name: validation
|
177 |
-
num_examples:
|
178 |
-
num_bytes:
|
179 |
- name: test
|
180 |
-
num_examples:
|
181 |
-
num_bytes:
|
182 |
- config_name: PLCB
|
183 |
features:
|
184 |
- name: doi
|
@@ -199,14 +199,14 @@ dataset_info:
|
|
199 |
sequence: string
|
200 |
splits:
|
201 |
- name: train
|
202 |
-
num_examples:
|
203 |
-
num_bytes:
|
204 |
- name: validation
|
205 |
-
num_examples:
|
206 |
-
num_bytes:
|
207 |
- name: test
|
208 |
-
num_examples:
|
209 |
-
num_bytes:
|
210 |
- config_name: PLNTD
|
211 |
features:
|
212 |
- name: doi
|
@@ -227,14 +227,14 @@ dataset_info:
|
|
227 |
sequence: string
|
228 |
splits:
|
229 |
- name: train
|
230 |
-
num_examples:
|
231 |
-
num_bytes:
|
232 |
- name: validation
|
233 |
-
num_examples:
|
234 |
-
num_bytes:
|
235 |
- name: test
|
236 |
-
num_examples:
|
237 |
-
num_bytes:
|
238 |
- config_name: B
|
239 |
features:
|
240 |
- name: doi
|
@@ -255,14 +255,14 @@ dataset_info:
|
|
255 |
sequence: string
|
256 |
splits:
|
257 |
- name: train
|
258 |
-
num_examples:
|
259 |
-
num_bytes:
|
260 |
- name: validation
|
261 |
-
num_examples:
|
262 |
-
num_bytes:
|
263 |
- name: test
|
264 |
-
num_examples:
|
265 |
-
num_bytes:
|
266 |
- config_name: I
|
267 |
features:
|
268 |
- name: doi
|
@@ -283,14 +283,14 @@ dataset_info:
|
|
283 |
sequence: string
|
284 |
splits:
|
285 |
- name: train
|
286 |
-
num_examples:
|
287 |
-
num_bytes:
|
288 |
- name: validation
|
289 |
-
num_examples:
|
290 |
-
num_bytes:
|
291 |
- name: test
|
292 |
-
num_examples:
|
293 |
-
num_bytes:
|
294 |
- config_name: EL
|
295 |
features:
|
296 |
- name: doi
|
@@ -311,14 +311,14 @@ dataset_info:
|
|
311 |
sequence: string
|
312 |
splits:
|
313 |
- name: train
|
314 |
-
num_examples:
|
315 |
-
num_bytes:
|
316 |
- name: validation
|
317 |
-
num_examples:
|
318 |
-
num_bytes:
|
319 |
- name: test
|
320 |
-
num_examples:
|
321 |
-
num_bytes:
|
322 |
- config_name: PLB
|
323 |
features:
|
324 |
- name: doi
|
@@ -339,14 +339,14 @@ dataset_info:
|
|
339 |
sequence: string
|
340 |
splits:
|
341 |
- name: train
|
342 |
-
num_examples:
|
343 |
-
num_bytes:
|
344 |
- name: validation
|
345 |
-
num_examples: 102
|
346 |
-
num_bytes: 317213
|
347 |
-
- name: test
|
348 |
num_examples: 114
|
349 |
-
num_bytes:
|
|
|
|
|
|
|
350 |
- config_name: CB
|
351 |
features:
|
352 |
- name: doi
|
@@ -367,14 +367,14 @@ dataset_info:
|
|
367 |
sequence: string
|
368 |
splits:
|
369 |
- name: train
|
370 |
-
num_examples:
|
371 |
-
num_bytes:
|
372 |
- name: validation
|
373 |
-
num_examples:
|
374 |
-
num_bytes:
|
375 |
- name: test
|
376 |
-
num_examples:
|
377 |
-
num_bytes:
|
378 |
- config_name: SD
|
379 |
features:
|
380 |
- name: doi
|
@@ -395,14 +395,14 @@ dataset_info:
|
|
395 |
sequence: string
|
396 |
splits:
|
397 |
- name: train
|
398 |
-
num_examples:
|
399 |
-
num_bytes:
|
400 |
- name: validation
|
401 |
-
num_examples:
|
402 |
-
num_bytes:
|
403 |
- name: test
|
404 |
-
num_examples:
|
405 |
-
num_bytes:
|
406 |
- config_name: MBIO
|
407 |
features:
|
408 |
- name: doi
|
@@ -423,14 +423,14 @@ dataset_info:
|
|
423 |
sequence: string
|
424 |
splits:
|
425 |
- name: train
|
426 |
-
num_examples:
|
427 |
-
num_bytes:
|
428 |
- name: validation
|
429 |
-
num_examples:
|
430 |
-
num_bytes:
|
431 |
- name: test
|
432 |
-
num_examples:
|
433 |
-
num_bytes:
|
434 |
- config_name: C
|
435 |
features:
|
436 |
- name: doi
|
@@ -451,14 +451,14 @@ dataset_info:
|
|
451 |
sequence: string
|
452 |
splits:
|
453 |
- name: train
|
454 |
-
num_examples:
|
455 |
-
num_bytes:
|
456 |
- name: validation
|
457 |
-
num_examples:
|
458 |
-
num_bytes:
|
459 |
- name: test
|
460 |
-
num_examples:
|
461 |
-
num_bytes:
|
462 |
- config_name: OTHER
|
463 |
features:
|
464 |
- name: doi
|
@@ -479,14 +479,14 @@ dataset_info:
|
|
479 |
sequence: string
|
480 |
splits:
|
481 |
- name: train
|
482 |
-
num_examples:
|
483 |
-
num_bytes:
|
484 |
- name: validation
|
485 |
-
num_examples:
|
486 |
-
num_bytes:
|
487 |
- name: test
|
488 |
-
num_examples:
|
489 |
-
num_bytes:
|
490 |
config_names:
|
491 |
- all
|
492 |
- NC
|
@@ -577,7 +577,7 @@ from datasets import load_dataset
|
|
577 |
ds = load_dataset("paniniDot/sci_lay") # default is 'all' journals
|
578 |
ds = load_dataset("paniniDot/sci_lay", "all") # the same as above
|
579 |
ds = load_dataset("paniniDot/sci_lay", "NC") # only 'NC' journal (Nature Communications)
|
580 |
-
ds = load_dataset("paniniDot/sci_lay",
|
581 |
```
|
582 |
|
583 |
|
@@ -618,25 +618,25 @@ Each instance contains a set of `doi`, `pmcid`, `plain_text`, `technical_text`,
|
|
618 |
|
619 |
### Data Splits
|
620 |
|
621 |
-
| | train
|
622 |
-
|
623 |
-
| all |
|
624 |
-
| NC |
|
625 |
-
| A |
|
626 |
-
| NIHR |
|
627 |
-
| PLGEN |
|
628 |
-
| PLPAT |
|
629 |
-
| PLCB |
|
630 |
-
| PLNTD |
|
631 |
-
| B |
|
632 |
-
| I |
|
633 |
-
| EL |
|
634 |
-
| PLB |
|
635 |
-
| CB |
|
636 |
-
| SD |
|
637 |
-
| MBIO |
|
638 |
-
| C |
|
639 |
-
| OTHER |
|
640 |
|
641 |
## Dataset Creation
|
642 |
|
|
|
31 |
sequence: string
|
32 |
splits:
|
33 |
- name: train
|
34 |
+
num_examples: 37188
|
35 |
+
num_bytes: 102519845
|
36 |
- name: validation
|
37 |
+
num_examples: 4649
|
38 |
+
num_bytes: 12732276
|
39 |
- name: test
|
40 |
+
num_examples: 4649
|
41 |
+
num_bytes: 12895577
|
42 |
- config_name: NC
|
43 |
features:
|
44 |
- name: doi
|
|
|
59 |
sequence: string
|
60 |
splits:
|
61 |
- name: train
|
62 |
+
num_examples: 5775
|
63 |
+
num_bytes: 8994822
|
64 |
- name: validation
|
65 |
+
num_examples: 686
|
66 |
+
num_bytes: 1062540
|
67 |
- name: test
|
68 |
+
num_examples: 672
|
69 |
+
num_bytes: 1046065
|
70 |
- config_name: A
|
71 |
features:
|
72 |
- name: doi
|
|
|
87 |
sequence: string
|
88 |
splits:
|
89 |
- name: train
|
90 |
+
num_examples: 3895
|
91 |
+
num_bytes: 10474616
|
92 |
- name: validation
|
93 |
+
num_examples: 505
|
94 |
+
num_bytes: 1350338
|
95 |
- name: test
|
96 |
+
num_examples: 488
|
97 |
+
num_bytes: 1328224
|
98 |
- config_name: NIHR
|
99 |
features:
|
100 |
- name: doi
|
|
|
115 |
sequence: string
|
116 |
splits:
|
117 |
- name: train
|
118 |
+
num_examples: 1883
|
119 |
+
num_bytes: 10950530
|
120 |
- name: validation
|
121 |
+
num_examples: 228
|
122 |
+
num_bytes: 1292364
|
123 |
- name: test
|
124 |
+
num_examples: 233
|
125 |
+
num_bytes: 1359568
|
126 |
- config_name: PLGEN
|
127 |
features:
|
128 |
- name: doi
|
|
|
143 |
sequence: string
|
144 |
splits:
|
145 |
- name: train
|
146 |
+
num_examples: 3084
|
147 |
+
num_bytes: 9619727
|
148 |
- name: validation
|
149 |
+
num_examples: 357
|
150 |
+
num_bytes: 1110852
|
151 |
- name: test
|
152 |
+
num_examples: 418
|
153 |
+
num_bytes: 1321409
|
154 |
- config_name: PLPAT
|
155 |
features:
|
156 |
- name: doi
|
|
|
171 |
sequence: string
|
172 |
splits:
|
173 |
- name: train
|
174 |
+
num_examples: 2927
|
175 |
+
num_bytes: 9319909
|
176 |
- name: validation
|
177 |
+
num_examples: 361
|
178 |
+
num_bytes: 1145996
|
179 |
- name: test
|
180 |
+
num_examples: 362
|
181 |
+
num_bytes: 1156552
|
182 |
- config_name: PLCB
|
183 |
features:
|
184 |
- name: doi
|
|
|
199 |
sequence: string
|
200 |
splits:
|
201 |
- name: train
|
202 |
+
num_examples: 2595
|
203 |
+
num_bytes: 8233420
|
204 |
- name: validation
|
205 |
+
num_examples: 325
|
206 |
+
num_bytes: 1031860
|
207 |
- name: test
|
208 |
+
num_examples: 319
|
209 |
+
num_bytes: 1013223
|
210 |
- config_name: PLNTD
|
211 |
features:
|
212 |
- name: doi
|
|
|
227 |
sequence: string
|
228 |
splits:
|
229 |
- name: train
|
230 |
+
num_examples: 2263
|
231 |
+
num_bytes: 7874395
|
232 |
- name: validation
|
233 |
+
num_examples: 295
|
234 |
+
num_bytes: 1009333
|
235 |
- name: test
|
236 |
+
num_examples: 304
|
237 |
+
num_bytes: 1061794
|
238 |
- config_name: B
|
239 |
features:
|
240 |
- name: doi
|
|
|
255 |
sequence: string
|
256 |
splits:
|
257 |
- name: train
|
258 |
+
num_examples: 1632
|
259 |
+
num_bytes: 4297954
|
260 |
- name: validation
|
261 |
+
num_examples: 201
|
262 |
+
num_bytes: 521571
|
263 |
- name: test
|
264 |
+
num_examples: 190
|
265 |
+
num_bytes: 497916
|
266 |
- config_name: I
|
267 |
features:
|
268 |
- name: doi
|
|
|
283 |
sequence: string
|
284 |
splits:
|
285 |
- name: train
|
286 |
+
num_examples: 1165
|
287 |
+
num_bytes: 3041368
|
288 |
- name: validation
|
289 |
+
num_examples: 151
|
290 |
+
num_bytes: 395223
|
291 |
- name: test
|
292 |
+
num_examples: 163
|
293 |
+
num_bytes: 436120
|
294 |
- config_name: EL
|
295 |
features:
|
296 |
- name: doi
|
|
|
311 |
sequence: string
|
312 |
splits:
|
313 |
- name: train
|
314 |
+
num_examples: 184
|
315 |
+
num_bytes: 569898
|
316 |
- name: validation
|
317 |
+
num_examples: 28
|
318 |
+
num_bytes: 87549
|
319 |
- name: test
|
320 |
+
num_examples: 28
|
321 |
+
num_bytes: 89038
|
322 |
- config_name: PLB
|
323 |
features:
|
324 |
- name: doi
|
|
|
339 |
sequence: string
|
340 |
splits:
|
341 |
- name: train
|
342 |
+
num_examples: 901
|
343 |
+
num_bytes: 2812274
|
344 |
- name: validation
|
|
|
|
|
|
|
345 |
num_examples: 114
|
346 |
+
num_bytes: 355634
|
347 |
+
- name: test
|
348 |
+
num_examples: 108
|
349 |
+
num_bytes: 335193
|
350 |
- config_name: CB
|
351 |
features:
|
352 |
- name: doi
|
|
|
367 |
sequence: string
|
368 |
splits:
|
369 |
- name: train
|
370 |
+
num_examples: 832
|
371 |
+
num_bytes: 1327371
|
372 |
- name: validation
|
373 |
+
num_examples: 126
|
374 |
+
num_bytes: 200302
|
375 |
- name: test
|
376 |
+
num_examples: 129
|
377 |
+
num_bytes: 207203
|
378 |
- config_name: SD
|
379 |
features:
|
380 |
- name: doi
|
|
|
395 |
sequence: string
|
396 |
splits:
|
397 |
- name: train
|
398 |
+
num_examples: 776
|
399 |
+
num_bytes: 1233319
|
400 |
- name: validation
|
401 |
+
num_examples: 105
|
402 |
+
num_bytes: 166910
|
403 |
- name: test
|
404 |
+
num_examples: 89
|
405 |
+
num_bytes: 141194
|
406 |
- config_name: MBIO
|
407 |
features:
|
408 |
- name: doi
|
|
|
423 |
sequence: string
|
424 |
splits:
|
425 |
- name: train
|
426 |
+
num_examples: 618
|
427 |
+
num_bytes: 1636604
|
428 |
- name: validation
|
429 |
+
num_examples: 63
|
430 |
+
num_bytes: 171903
|
431 |
- name: test
|
432 |
+
num_examples: 78
|
433 |
+
num_bytes: 204650
|
434 |
- config_name: C
|
435 |
features:
|
436 |
- name: doi
|
|
|
451 |
sequence: string
|
452 |
splits:
|
453 |
- name: train
|
454 |
+
num_examples: 6765
|
455 |
+
num_bytes: 16685642
|
456 |
- name: validation
|
457 |
+
num_examples: 874
|
458 |
+
num_bytes: 2176258
|
459 |
- name: test
|
460 |
+
num_examples: 847
|
461 |
+
num_bytes: 2082565
|
462 |
- config_name: OTHER
|
463 |
features:
|
464 |
- name: doi
|
|
|
479 |
sequence: string
|
480 |
splits:
|
481 |
- name: train
|
482 |
+
num_examples: 1893
|
483 |
+
num_bytes: 5447996
|
484 |
- name: validation
|
485 |
+
num_examples: 230
|
486 |
+
num_bytes: 653643
|
487 |
- name: test
|
488 |
+
num_examples: 221
|
489 |
+
num_bytes: 614863
|
490 |
config_names:
|
491 |
- all
|
492 |
- NC
|
|
|
577 |
ds = load_dataset("paniniDot/sci_lay") # default is 'all' journals
|
578 |
ds = load_dataset("paniniDot/sci_lay", "all") # the same as above
|
579 |
ds = load_dataset("paniniDot/sci_lay", "NC") # only 'NC' journal (Nature Communications)
|
580 |
+
ds = load_dataset("paniniDot/sci_lay", journals=["NC", "A"])
|
581 |
```
|
582 |
|
583 |
|
|
|
618 |
|
619 |
### Data Splits
|
620 |
|
621 |
+
| | train | validation | test |
|
622 |
+
|-------|-------|------------|------|
|
623 |
+
| all | 37188 | 4649 | 4649 |
|
624 |
+
| NC | 5775 | 686 | 672 |
|
625 |
+
| A | 3895 | 505 | 488 |
|
626 |
+
| NIHR | 1883 | 228 | 233 |
|
627 |
+
| PLGEN | 3084 | 357 | 418 |
|
628 |
+
| PLPAT | 2927 | 361 | 362 |
|
629 |
+
| PLCB | 2595 | 325 | 319 |
|
630 |
+
| PLNTD | 2263 | 295 | 304 |
|
631 |
+
| B | 1632 | 201 | 190 |
|
632 |
+
| I | 1165 | 151 | 163 |
|
633 |
+
| EL | 184 | 28 | 28 |
|
634 |
+
| PLB | 901 | 114 | 108 |
|
635 |
+
| CB | 832 | 126 | 129 |
|
636 |
+
| SD | 776 | 105 | 89 |
|
637 |
+
| MBIO | 618 | 63 | 78 |
|
638 |
+
| C | 6765 | 874 | 847 |
|
639 |
+
| OTHER | 1893 | 230 | 221 |
|
640 |
|
641 |
## Dataset Creation
|
642 |
|