system HF Staff commited on
Commit
9db4556
·
1 Parent(s): 67ec3d7

Update files from the datasets library (from 1.13.0)

Browse files

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

Files changed (3) hide show
  1. biosses.py +4 -4
  2. dataset_infos.json +1 -1
  3. dummy/0.0.0/dummy_data.zip +1 -1
biosses.py CHANGED
@@ -67,8 +67,8 @@ class Biosses(datasets.GeneratorBasedBuilder):
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
  )
@@ -93,7 +93,7 @@ class Biosses(datasets.GeneratorBasedBuilder):
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
  }
 
67
  def _info(self):
68
  features = datasets.Features(
69
  {
70
+ "sentence1": datasets.Value("string"),
71
+ "sentence2": datasets.Value("string"),
72
  "score": datasets.Value("float32"),
73
  }
74
  )
 
93
  df = pd.read_csv(filepath, sep="\t", encoding="utf-8")
94
  for idx, row in df.iterrows():
95
  yield idx, {
96
+ "sentence1": row["sentence1"],
97
+ "sentence2": row["sentence2"],
98
  "score": row["score"],
99
  }
dataset_infos.json CHANGED
@@ -1 +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}}
 
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": {"sentence1": {"dtype": "string", "id": null, "_type": "Value"}, "sentence2": {"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 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:625a57d25bb304c1ff5a0e28b330643657949259e698520f39d2b9f6903f1865
3
  size 989
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b20345ff3a59532f5769193f8cf2ce670d976144815fa90823318e8864df3d2
3
  size 989