system HF staff commited on
Commit
7abaecc
1 Parent(s): a148204

Update files from the datasets library (from 1.6.1)

Browse files

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

Files changed (1) hide show
  1. nell.py +1 -1
nell.py CHANGED
@@ -152,7 +152,7 @@ class Nell(datasets.GeneratorBasedBuilder):
152
  ]
153
 
154
  def _generate_examples(self, filepath, split):
155
- """ Yields examples from the NELL belief knowledge base and candidate bleifs knowledge base if the config is 'nell_belief' and 'nell_candidate', respectively, otherwise yields the sentences for two dataset if the config is 'nell_belief_sentences' and 'nell_candidate_sentences' respectively. """
156
 
157
  with open(filepath, encoding="utf-8") as f:
158
  id_ = -1
 
152
  ]
153
 
154
  def _generate_examples(self, filepath, split):
155
+ """Yields examples from the NELL belief knowledge base and candidate bleifs knowledge base if the config is 'nell_belief' and 'nell_candidate', respectively, otherwise yields the sentences for two dataset if the config is 'nell_belief_sentences' and 'nell_candidate_sentences' respectively."""
156
 
157
  with open(filepath, encoding="utf-8") as f:
158
  id_ = -1