system HF staff commited on
Commit
30bc255
1 Parent(s): f291e9a

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. emo.py +2 -2
emo.py CHANGED
@@ -56,7 +56,7 @@ _TRAIN_URL = "https://drive.google.com/file/d/12Uz59TYg_NtxOy7SXraYeXPMRT7oaO7X/
56
 
57
 
58
  class Emo(datasets.GeneratorBasedBuilder):
59
- """ SemEval-2019 Task 3: EmoContext Contextual Emotion Detection in Text. Version 1.0.0 """
60
 
61
  VERSION = datasets.Version("1.0.0")
62
 
@@ -106,7 +106,7 @@ class Emo(datasets.GeneratorBasedBuilder):
106
  ]
107
 
108
  def _generate_examples(self, filepath, split):
109
- """ Yields examples. """
110
  with open(filepath, "rb") as f:
111
  data = json.load(f)
112
  for id_, text, label in zip(data["text"].keys(), data["text"].values(), data["Label"].values()):
 
56
 
57
 
58
  class Emo(datasets.GeneratorBasedBuilder):
59
+ """SemEval-2019 Task 3: EmoContext Contextual Emotion Detection in Text. Version 1.0.0"""
60
 
61
  VERSION = datasets.Version("1.0.0")
62
 
 
106
  ]
107
 
108
  def _generate_examples(self, filepath, split):
109
+ """Yields examples."""
110
  with open(filepath, "rb") as f:
111
  data = json.load(f)
112
  for id_, text, label in zip(data["text"].keys(), data["text"].values(), data["Label"].values()):