system HF staff commited on
Commit
8bef8d9
1 Parent(s): b9d86c7

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. financial_phrasebank.py +1 -1
financial_phrasebank.py CHANGED
@@ -141,7 +141,7 @@ class FinancialPhrasebank(datasets.GeneratorBasedBuilder):
141
  ]
142
 
143
  def _generate_examples(self, filepath):
144
- """ Yields examples. """
145
  with open(filepath, encoding="iso-8859-1") as f:
146
  for id_, line in enumerate(f):
147
  sentence, label = line.rsplit("@", 1)
 
141
  ]
142
 
143
  def _generate_examples(self, filepath):
144
+ """Yields examples."""
145
  with open(filepath, encoding="iso-8859-1") as f:
146
  for id_, line in enumerate(f):
147
  sentence, label = line.rsplit("@", 1)