Datasets:
Publish span mirror
Browse files- README.md +70 -0
- abstracts/README.md +8 -0
- abstracts/test.parquet +3 -0
- abstracts/train.parquet +3 -0
- abstracts/validation.parquet +3 -0
- papers/README.md +8 -0
- papers/train.parquet +3 -0
- provenance.json +58 -0
README.md
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-2.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
tags:
|
| 6 |
+
- tasksource
|
| 7 |
+
- extraction
|
| 8 |
+
configs:
|
| 9 |
+
- config_name: abstracts
|
| 10 |
+
data_files:
|
| 11 |
+
- split: train
|
| 12 |
+
path: abstracts/train.parquet
|
| 13 |
+
- split: validation
|
| 14 |
+
path: abstracts/validation.parquet
|
| 15 |
+
- split: test
|
| 16 |
+
path: abstracts/test.parquet
|
| 17 |
+
- config_name: papers
|
| 18 |
+
data_files:
|
| 19 |
+
- split: train
|
| 20 |
+
path: papers/train.parquet
|
| 21 |
+
---
|
| 22 |
+
# BioScope negation and speculation spans
|
| 23 |
+
|
| 24 |
+
Expert annotations of negation and speculation cues and their scopes in biomedical abstracts and full papers (the clinical part, whose text is masked, is left out). Every sentence asks for the negation and speculation cues and the scope of each cue. BioScope has no native split: `abstracts` gets a deterministic document-disjoint 80/10/10 split (`crc32(DocID) % 100`); `papers` has only 9 documents and stays train-only.
|
| 25 |
+
|
| 26 |
+
Data-only mirror of the [original distribution](https://rgai.inf.u-szeged.hu/sites/rgai.inf.u-szeged.hu/files/bioscope.zip) (SHA256 `b20b525506f7`), documented by
|
| 27 |
+
[bioscope.py](https://huggingface.co/datasets/bigbio/bioscope/blob/43ba162359f01d6436590ba2a014421b6ad09621/bioscope.py). Reproduce with
|
| 28 |
+
[scripts/repackage_dataset/span_structure.py](https://github.com/sileod/tasksource/blob/main/scripts/repackage_dataset/span_structure.py);
|
| 29 |
+
[provenance.json](provenance.json) records hashes, settings and counts. License: cc-by-2.0
|
| 30 |
+
([evidence](https://huggingface.co/datasets/bigbio/bioscope/blob/43ba162359f01d6436590ba2a014421b6ad09621/README.md)). Public biological abstracts and papers only; article texts retain their original terms. Clinical masked text excluded.
|
| 31 |
+
|
| 32 |
+
Schema: `context`, `question`, `answers` (`text`, `answer_start`: every span, not alternatives) and JSON-string
|
| 33 |
+
`metadata` (`field`, sentence `group`). Used by the `extraction` config of
|
| 34 |
+
[tasksource-jev-typed-decisions](https://huggingface.co/datasets/tasksource/tasksource-jev-typed-decisions).
|
| 35 |
+
|
| 36 |
+
## Citation
|
| 37 |
+
|
| 38 |
+
Please cite the original dataset:
|
| 39 |
+
|
| 40 |
+
```bibtex
|
| 41 |
+
@article{vincze2008bioscope,
|
| 42 |
+
title = {The {BioScope} corpus: biomedical texts annotated for uncertainty, negation and their scopes},
|
| 43 |
+
author = {Vincze, Veronika and Szarvas, Gy{\"o}rgy and Farkas, Rich{\'a}rd and M{\'o}ra, Gy{\"o}rgy and Csirik, J{\'a}nos},
|
| 44 |
+
journal = {BMC Bioinformatics},
|
| 45 |
+
volume = {9},
|
| 46 |
+
number = {Suppl 11},
|
| 47 |
+
pages = {S9},
|
| 48 |
+
year = {2008},
|
| 49 |
+
url = {https://doi.org/10.1186/1471-2105-9-S11-S9},
|
| 50 |
+
}
|
| 51 |
+
```
|
| 52 |
+
|
| 53 |
+
## Citing tasksource
|
| 54 |
+
|
| 55 |
+
If you use tasksource, its standardized task annotations, or datasets derived from them in published research, please cite the tasksource paper (Sileo, LREC-COLING 2024).
|
| 56 |
+
|
| 57 |
+
```bibtex
|
| 58 |
+
@inproceedings{sileo-2024-tasksource,
|
| 59 |
+
title = "tasksource: A Large Collection of {NLP} tasks with a Structured Dataset Preprocessing Framework",
|
| 60 |
+
author = "Sileo, Damien",
|
| 61 |
+
booktitle = "Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024)",
|
| 62 |
+
month = may,
|
| 63 |
+
year = "2024",
|
| 64 |
+
address = "Torino, Italia",
|
| 65 |
+
publisher = "ELRA and ICCL",
|
| 66 |
+
url = "https://aclanthology.org/2024.lrec-main.1361",
|
| 67 |
+
doi = "10.63317/2h4pkr685mkq",
|
| 68 |
+
pages = "15655--15684",
|
| 69 |
+
}
|
| 70 |
+
```
|
abstracts/README.md
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# abstracts
|
| 2 |
+
|
| 3 |
+
Public BioScope abstracts, following BigBio.
|
| 4 |
+
Native XML text, nested cue/scope offsets; clinical masked words excluded.
|
| 5 |
+
|
| 6 |
+
Every sentence is kept; sentences without a cue answer both cue fields with null.
|
| 7 |
+
|
| 8 |
+
Deterministic document-disjoint split (no native split exists): `crc32(DocID) % 100` assigns each of the 1,273 documents to train (<80), validation (80-89) or test (>=90); every sentence of a document stays in its split.
|
abstracts/test.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:089d7dd0621f056eefb43abd55573b939b4c9229e110c21e9bb64a5d8cc68589
|
| 3 |
+
size 181822
|
abstracts/train.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:61053eb8d516d21ce249cb6dc636a74ee87c9571c0677e72c2fb9362ae386ef2
|
| 3 |
+
size 1644103
|
abstracts/validation.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:606ff1259dac5234f13eec8e4e24444e6ec78ecfb491a7ab3f2047cf77834415
|
| 3 |
+
size 227513
|
papers/README.md
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# papers
|
| 2 |
+
|
| 3 |
+
Public BioScope papers, following BigBio.
|
| 4 |
+
Native XML text, nested cue/scope offsets; clinical masked words excluded.
|
| 5 |
+
|
| 6 |
+
Every sentence is kept; sentences without a cue answer both cue fields with null.
|
| 7 |
+
|
| 8 |
+
Train-only: the collection has 9 documents, too few to split representatively.
|
papers/train.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a399439f7bfa63a51765d818ff74dea9fa3c38c4af8c96da73f4b6bc557dd049
|
| 3 |
+
size 428933
|
provenance.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"source": "bioscope",
|
| 3 |
+
"mirror": "tasksource/bioscope-spans",
|
| 4 |
+
"upstream": {
|
| 5 |
+
"mirror": "tasksource/bioscope-spans",
|
| 6 |
+
"url": "https://rgai.inf.u-szeged.hu/sites/rgai.inf.u-szeged.hu/files/bioscope.zip",
|
| 7 |
+
"sha256": "b20b525506f783ab9c120548ac4022ab587bf7cc419beaf759f7253f0cf0b1d1",
|
| 8 |
+
"revision": "43ba162359f01d6436590ba2a014421b6ad09621",
|
| 9 |
+
"documentation": "https://huggingface.co/datasets/bigbio/bioscope/blob/43ba162359f01d6436590ba2a014421b6ad09621/bioscope.py",
|
| 10 |
+
"license": "cc-by-2.0",
|
| 11 |
+
"license_evidence": "https://huggingface.co/datasets/bigbio/bioscope/blob/43ba162359f01d6436590ba2a014421b6ad09621/README.md",
|
| 12 |
+
"license_note": "Public biological abstracts and papers only; article texts retain their original terms. Clinical masked text excluded.",
|
| 13 |
+
"title": "BioScope negation and speculation spans",
|
| 14 |
+
"about": "Expert annotations of negation and speculation cues and their scopes in biomedical abstracts and full papers (the clinical part, whose text is masked, is left out). Every sentence asks for the negation and speculation cues and the scope of each cue. BioScope has no native split: `abstracts` gets a deterministic document-disjoint 80/10/10 split (`crc32(DocID) % 100`); `papers` has only 9 documents and stays train-only.",
|
| 15 |
+
"configs": {
|
| 16 |
+
"abstracts": [
|
| 17 |
+
"train",
|
| 18 |
+
"validation",
|
| 19 |
+
"test"
|
| 20 |
+
],
|
| 21 |
+
"papers": [
|
| 22 |
+
"train"
|
| 23 |
+
]
|
| 24 |
+
},
|
| 25 |
+
"citation": "@article{vincze2008bioscope,\n title = {The {BioScope} corpus: biomedical texts annotated for uncertainty, negation and their scopes},\n author = {Vincze, Veronika and Szarvas, Gy{\\\"o}rgy and Farkas, Rich{\\'a}rd and M{\\'o}ra, Gy{\\\"o}rgy and Csirik, J{\\'a}nos},\n journal = {BMC Bioinformatics},\n volume = {9},\n number = {Suppl 11},\n pages = {S9},\n year = {2008},\n url = {https://doi.org/10.1186/1471-2105-9-S11-S9},\n}"
|
| 26 |
+
},
|
| 27 |
+
"settings": {
|
| 28 |
+
"qasrl_partition": "orig",
|
| 29 |
+
"qasrl_validation": ">=2 valid human judgments and strict majority; modal complete reading",
|
| 30 |
+
"bioscope_members": [
|
| 31 |
+
"abstracts.xml",
|
| 32 |
+
"full_papers.xml"
|
| 33 |
+
],
|
| 34 |
+
"bioscope_split": "abstracts: deterministic document-disjoint crc32(DocID)%100 80/10/10; papers: train-only (9 documents)",
|
| 35 |
+
"uploads": false
|
| 36 |
+
},
|
| 37 |
+
"rows": {
|
| 38 |
+
"abstracts/train": 22563,
|
| 39 |
+
"abstracts/validation": 3045,
|
| 40 |
+
"abstracts/test": 2512,
|
| 41 |
+
"papers/train": 6384
|
| 42 |
+
},
|
| 43 |
+
"counts": {
|
| 44 |
+
"abstracts/train": {
|
| 45 |
+
"input_sentences": 9535
|
| 46 |
+
},
|
| 47 |
+
"abstracts/validation": {
|
| 48 |
+
"input_sentences": 1266
|
| 49 |
+
},
|
| 50 |
+
"abstracts/test": {
|
| 51 |
+
"input_sentences": 1070
|
| 52 |
+
},
|
| 53 |
+
"papers/train": {
|
| 54 |
+
"input_sentences": 2670
|
| 55 |
+
}
|
| 56 |
+
},
|
| 57 |
+
"script": "scripts/repackage_dataset/span_structure.py"
|
| 58 |
+
}
|