system HF staff commited on
Commit
a2952e8
1 Parent(s): c39f798

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. species_800.py +1 -1
species_800.py CHANGED
@@ -123,7 +123,7 @@ class Species800(datasets.GeneratorBasedBuilder):
123
  tokens = []
124
  ner_tags = []
125
  for line in f:
126
- if line.startswith("-DOCSTART-") or line == "" or line == "\n":
127
  if tokens:
128
  yield guid, {
129
  "id": str(guid),
 
123
  tokens = []
124
  ner_tags = []
125
  for line in f:
126
+ if line == "" or line == "\n":
127
  if tokens:
128
  yield guid, {
129
  "id": str(guid),