system HF staff commited on
Commit
97d4d40
1 Parent(s): 46cfd2a

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. yoruba_gv_ner.py +1 -1
yoruba_gv_ner.py CHANGED
@@ -139,7 +139,7 @@ class YorubaGvNer(datasets.GeneratorBasedBuilder):
139
  ner_tags = []
140
  for line in f:
141
  line = line.strip()
142
- if line.startswith("-DOCSTART-") or line == "" or line == "\n":
143
  if tokens:
144
  yield guid, {
145
  "id": str(guid),
139
  ner_tags = []
140
  for line in f:
141
  line = line.strip()
142
+ if line == "" or line == "\n":
143
  if tokens:
144
  yield guid, {
145
  "id": str(guid),