Datasets:

Languages:
English
Multilinguality:
monolingual
Size Categories:
n<1K
Language Creators:
found
Annotations Creators:
expert-generated
Source Datasets:
original
Tags:
License:
system HF staff commited on
Commit
67ec3d7
0 Parent(s):

Update files from the datasets library (from 1.12.0)

Browse files

Release notes: https://github.com/huggingface/datasets/releases/tag/1.12.0

Files changed (5) hide show
  1. .gitattributes +27 -0
  2. README.md +183 -0
  3. biosses.py +99 -0
  4. dataset_infos.json +1 -0
  5. dummy/0.0.0/dummy_data.zip +3 -0
.gitattributes ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bin.* filter=lfs diff=lfs merge=lfs -text
5
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.model filter=lfs diff=lfs merge=lfs -text
12
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
13
+ *.onnx filter=lfs diff=lfs merge=lfs -text
14
+ *.ot filter=lfs diff=lfs merge=lfs -text
15
+ *.parquet filter=lfs diff=lfs merge=lfs -text
16
+ *.pb filter=lfs diff=lfs merge=lfs -text
17
+ *.pt filter=lfs diff=lfs merge=lfs -text
18
+ *.pth filter=lfs diff=lfs merge=lfs -text
19
+ *.rar filter=lfs diff=lfs merge=lfs -text
20
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
21
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
22
+ *.tflite filter=lfs diff=lfs merge=lfs -text
23
+ *.tgz filter=lfs diff=lfs merge=lfs -text
24
+ *.xz filter=lfs diff=lfs merge=lfs -text
25
+ *.zip filter=lfs diff=lfs merge=lfs -text
26
+ *.zstandard filter=lfs diff=lfs merge=lfs -text
27
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,183 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ annotations_creators:
3
+ - expert-generated
4
+ language_creators:
5
+ - found
6
+ languages:
7
+ - en
8
+ licenses:
9
+ - gpl-3-0
10
+ multilinguality:
11
+ - monolingual
12
+ size_categories:
13
+ - n<1K
14
+ source_datasets:
15
+ - original
16
+ task_categories:
17
+ - text-scoring
18
+ task_ids:
19
+ - semantic-similarity-scoring
20
+ paperswithcode_id: biosses
21
+ pretty_name: BIOSSES
22
+ ---
23
+
24
+ # Dataset Card for BIOSSES
25
+
26
+ ## Table of Contents
27
+ - [Dataset Description](#dataset-description)
28
+ - [Dataset Summary](#dataset-summary)
29
+ - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
30
+ - [Languages](#languages)
31
+ - [Dataset Structure](#dataset-structure)
32
+ - [Data Instances](#data-instances)
33
+ - [Data Fields](#data-fields)
34
+ - [Data Splits](#data-splits)
35
+ - [Dataset Creation](#dataset-creation)
36
+ - [Curation Rationale](#curation-rationale)
37
+ - [Source Data](#source-data)
38
+ - [Annotations](#annotations)
39
+ - [Personal and Sensitive Information](#personal-and-sensitive-information)
40
+ - [Considerations for Using the Data](#considerations-for-using-the-data)
41
+ - [Social Impact of Dataset](#social-impact-of-dataset)
42
+ - [Discussion of Biases](#discussion-of-biases)
43
+ - [Other Known Limitations](#other-known-limitations)
44
+ - [Additional Information](#additional-information)
45
+ - [Dataset Curators](#dataset-curators)
46
+ - [Licensing Information](#licensing-information)
47
+ - [Citation Information](#citation-information)
48
+ - [Contributions](#contributions)
49
+
50
+ ## Dataset Description
51
+
52
+ - **Homepage:** https://tabilab.cmpe.boun.edu.tr/BIOSSES/DataSet.html
53
+ - **Repository:** https://github.com/gizemsogancioglu/biosses
54
+ - **Paper:** [BIOSSES: a semantic sentence similarity estimation system for the biomedical domain](https://academic.oup.com/bioinformatics/article/33/14/i49/3953954)
55
+ - **Point of Contact:** [Gizem Soğancıoğlu](gizemsogancioglu@gmail.com) and [Arzucan Özgür](gizemsogancioglu@gmail.com)
56
+
57
+ ### Dataset Summary
58
+
59
+ BIOSSES is a benchmark dataset for biomedical sentence similarity estimation. The dataset comprises 100 sentence pairs, in which each sentence was selected from the [TAC (Text Analysis Conference) Biomedical Summarization Track Training Dataset](https://tac.nist.gov/2014/BiomedSumm/) containing articles from the biomedical domain. The sentence pairs in BIOSSES were selected from citing sentences, i.e. sentences that have a citation to a reference article.
60
+
61
+ The sentence pairs were evaluated by five different human experts that judged their similarity and gave scores ranging from 0 (no relation) to 4 (equivalent). In the original paper the mean of the scores assigned by the five human annotators was taken as the gold standard. The Pearson correlation between the gold standard scores and the scores estimated by the models was used as the evaluation metric. The strength of correlation can be assessed by the general guideline proposed by Evans (1996) as follows:
62
+
63
+ - very strong: 0.80–1.00
64
+ - strong: 0.60–0.79
65
+ - moderate: 0.40–0.59
66
+ - weak: 0.20–0.39
67
+ - very weak: 0.00–0.19
68
+
69
+
70
+ ### Supported Tasks and Leaderboards
71
+
72
+ Biomedical Semantic Similarity Scoring.
73
+
74
+ ### Languages
75
+
76
+ English.
77
+
78
+ ## Dataset Structure
79
+
80
+ ### Data Instances
81
+
82
+ For each instance, there are two sentences (i.e. sentence 1 and 2), and its corresponding similarity score (the mean of the scores assigned by the five human annotators).
83
+
84
+ ```
85
+ {'sentence 1': 'Here, looking for agents that could specifically kill KRAS mutant cells, they found that knockdown of GATA2 was synthetically lethal with KRAS mutation'
86
+ 'sentence 2': 'Not surprisingly, GATA2 knockdown in KRAS mutant cells resulted in a striking reduction of active GTP-bound RHO proteins, including the downstream ROCK kinase'
87
+ 'score': 2.2}
88
+ ```
89
+
90
+
91
+ ### Data Fields
92
+
93
+ - `sentence 1`: string
94
+ - `sentence 2`: string
95
+ - `score`: float ranging from 0 (no relation) to 4 (equivalent)
96
+
97
+ ### Data Splits
98
+
99
+ No data splits provided.
100
+
101
+ ## Dataset Creation
102
+
103
+ ### Curation Rationale
104
+
105
+ ### Source Data
106
+
107
+ The [TAC (Text Analysis Conference) Biomedical Summarization Track Training Dataset](https://tac.nist.gov/2014/BiomedSumm/).
108
+
109
+ #### Initial Data Collection and Normalization
110
+
111
+ [More Information Needed]
112
+
113
+ #### Who are the source language producers?
114
+
115
+ [More Information Needed]
116
+
117
+ ### Annotations
118
+
119
+ #### Annotation process
120
+
121
+ The sentence pairs were evaluated by five different human experts that judged their similarity and gave scores ranging from 0 (no relation) to 4 (equivalent). The score range was described based on the guidelines of SemEval 2012 Task 6 on STS (Agirre et al., 2012). Besides the annotation instructions, example sentences from the biomedical literature were provided to the annotators for each of the similarity degrees.
122
+
123
+ The table below shows the Pearson correlation of the scores of each annotator with respect to the average scores of the remaining four annotators. It is observed that there is strong association among the scores of the annotators. The lowest correlations are 0.902, which can be considered as an upper bound for an algorithmic measure evaluated on this dataset.
124
+
125
+ | |Correlation r |
126
+ |----------:|--------------:|
127
+ |Annotator A| 0.952|
128
+ |Annotator B| 0.958|
129
+ |Annotator C| 0.917|
130
+ |Annotator D| 0.902|
131
+ |Annotator E| 0.941|
132
+
133
+
134
+ #### Who are the annotators?
135
+
136
+ [More Information Needed]
137
+
138
+ ### Personal and Sensitive Information
139
+
140
+ [More Information Needed]
141
+
142
+ ## Considerations for Using the Data
143
+
144
+ ### Social Impact of Dataset
145
+
146
+ [More Information Needed]
147
+
148
+ ### Discussion of Biases
149
+
150
+ [More Information Needed]
151
+
152
+ ### Other Known Limitations
153
+
154
+ [More Information Needed]
155
+
156
+ ## Additional Information
157
+
158
+ ### Dataset Curators
159
+
160
+ - Gizem Soğancıoğlu, gizemsogancioglu@gmail.com
161
+ - Hakime Öztürk, hakime.ozturk@boun.edu.tr
162
+ - Arzucan Özgür, gizemsogancioglu@gmail.com
163
+ Bogazici University, Istanbul, Turkey
164
+
165
+ ### Licensing Information
166
+
167
+ BIOSSES is made available under the terms of [The GNU Common Public License v.3.0](https://www.gnu.org/licenses/gpl-3.0.en.html).
168
+
169
+ ### Citation Information
170
+ @article{souganciouglu2017biosses,
171
+ title={BIOSSES: a semantic sentence similarity estimation system for the biomedical domain},
172
+ author={So{\u{g}}anc{\i}o{\u{g}}lu, Gizem and {\"O}zt{\"u}rk, Hakime and {\"O}zg{\"u}r, Arzucan},
173
+ journal={Bioinformatics},
174
+ volume={33},
175
+ number={14},
176
+ pages={i49--i58},
177
+ year={2017},
178
+ publisher={Oxford University Press}
179
+ }
180
+
181
+ ### Contributions
182
+
183
+ Thanks to [@bwang482](https://github.com/bwang482) for adding this dataset.
biosses.py ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # coding=utf-8
2
+ # Copyright 2020 The HuggingFace Datasets Authors and the current dataset script contributor.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ """BIOSSES: A Benchmark Dataset for Biomedical Sentence Similarity Estimation"""
16
+
17
+
18
+ import pandas as pd
19
+
20
+ import datasets
21
+
22
+
23
+ _CITATION = """\
24
+ @article{souganciouglu2017biosses,
25
+ title={BIOSSES: a semantic sentence similarity estimation system for the biomedical domain},
26
+ author={So{\\u{g}}anc{\\i}o{\\u{g}}lu, Gizem and {\\"O}zt{\\"u}rk, Hakime and {\\"O}zg{\\"u}r, Arzucan},
27
+ journal={Bioinformatics},
28
+ volume={33},
29
+ number={14},
30
+ pages={i49--i58},
31
+ year={2017},
32
+ publisher={Oxford University Press}
33
+ }
34
+ """
35
+
36
+
37
+ _DESCRIPTION = """\
38
+ BIOSSES is a benchmark dataset for biomedical sentence similarity estimation. The dataset comprises 100 sentence pairs, in which each sentence was selected from the TAC (Text Analysis Conference) Biomedical Summarization Track Training Dataset containing articles from the biomedical domain. The sentence pairs were evaluated by five different human experts that judged their similarity and gave scores ranging from 0 (no relation) to 4 (equivalent).
39
+ """
40
+
41
+
42
+ _LICENSE = """\
43
+ BIOSSES is made available under the terms of The GNU Common Public License v.3.0.
44
+ """
45
+
46
+
47
+ _URL = "https://tabilab.cmpe.boun.edu.tr/BIOSSES/DataSet.html"
48
+
49
+
50
+ _DATA_URL = "https://raw.githubusercontent.com/Markus-Zlabinger/ssts/fce78a649ab90269950aaf44ce20a36e94409392/data/biosses/all.tsv"
51
+
52
+
53
+ class BiossesConfig(datasets.BuilderConfig):
54
+ """BuilderConfig for BIOSSES"""
55
+
56
+ def __init__(self, **kwargs):
57
+ """
58
+ Args:
59
+ **kwargs: keyword arguments forwarded to super.
60
+ """
61
+ super(BiossesConfig, self).__init__(**kwargs)
62
+
63
+
64
+ class Biosses(datasets.GeneratorBasedBuilder):
65
+ """BIOSSES: A Benchmark Dataset for Biomedical Sentence Similarity Estimation"""
66
+
67
+ def _info(self):
68
+ features = datasets.Features(
69
+ {
70
+ "sentence 1": datasets.Value("string"),
71
+ "sentence 2": datasets.Value("string"),
72
+ "score": datasets.Value("float32"),
73
+ }
74
+ )
75
+ return datasets.DatasetInfo(
76
+ description=_DESCRIPTION,
77
+ features=features,
78
+ supervised_keys=None,
79
+ homepage=_URL,
80
+ license=_LICENSE,
81
+ citation=_CITATION,
82
+ )
83
+
84
+ def _split_generators(self, dl_manager):
85
+ """Returns SplitGenerators."""
86
+
87
+ downloaded_file = dl_manager.download_and_extract(_DATA_URL)
88
+ return [datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": downloaded_file})]
89
+
90
+ def _generate_examples(self, filepath):
91
+ """Yields examples as (key, example) tuples."""
92
+
93
+ df = pd.read_csv(filepath, sep="\t", encoding="utf-8")
94
+ for idx, row in df.iterrows():
95
+ yield idx, {
96
+ "sentence 1": row["sentence1"],
97
+ "sentence 2": row["sentence2"],
98
+ "score": row["score"],
99
+ }
dataset_infos.json ADDED
@@ -0,0 +1 @@
 
1
+ {"default": {"description": "BIOSSES is a benchmark dataset for biomedical sentence similarity estimation. The dataset comprises 100 sentence pairs, in which each sentence was selected from the TAC (Text Analysis Conference) Biomedical Summarization Track Training Dataset containing articles from the biomedical domain. The sentence pairs were evaluated by five different human experts that judged their similarity and gave scores ranging from 0 (no relation) to 4 (equivalent).\n", "citation": "@article{souganciouglu2017biosses,\n title={BIOSSES: a semantic sentence similarity estimation system for the biomedical domain},\n author={So{\\u{g}}anc{\\i}o{\\u{g}}lu, Gizem and {\\\"O}zt{\\\"u}rk, Hakime and {\\\"O}zg{\\\"u}r, Arzucan},\n journal={Bioinformatics},\n volume={33},\n number={14},\n pages={i49--i58},\n year={2017},\n publisher={Oxford University Press}\n}\n", "homepage": "https://tabilab.cmpe.boun.edu.tr/BIOSSES/DataSet.html", "license": "BIOSSES is made available under the terms of The GNU Common Public License v.3.0.\n", "features": {"sentence 1": {"dtype": "string", "id": null, "_type": "Value"}, "sentence 2": {"dtype": "string", "id": null, "_type": "Value"}, "score": {"dtype": "float32", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "biosses", "config_name": "default", "version": {"version_str": "0.0.0", "description": null, "major": 0, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 32783, "num_examples": 100, "dataset_name": "biosses"}}, "download_checksums": {"https://raw.githubusercontent.com/Markus-Zlabinger/ssts/fce78a649ab90269950aaf44ce20a36e94409392/data/biosses/all.tsv": {"num_bytes": 36324, "checksum": "e0f7b235e4bc9a76ad4bd170bf0da2f449ec6ea677a9a4b5dcb7be6687775906"}}, "download_size": 36324, "post_processing_size": null, "dataset_size": 32783, "size_in_bytes": 69107}}
dummy/0.0.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:625a57d25bb304c1ff5a0e28b330643657949259e698520f39d2b9f6903f1865
3
+ size 989