Datasets:

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

Update files from the datasets library (from 1.5.0)

Browse files

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

Files changed (1) hide show
  1. ncbi_disease.py +1 -1
ncbi_disease.py CHANGED
@@ -121,7 +121,7 @@ class NCBIDisease(datasets.GeneratorBasedBuilder):
121
  tokens = []
122
  ner_tags = []
123
  for line in f:
124
- if line.startswith("-DOCSTART-") or line == "" or line == "\n":
125
  if tokens:
126
  yield guid, {
127
  "id": str(guid),
121
  tokens = []
122
  ner_tags = []
123
  for line in f:
124
+ if line == "" or line == "\n":
125
  if tokens:
126
  yield guid, {
127
  "id": str(guid),