Datasets:
Tasks:
Text Classification
Sub-tasks:
multi-label-classification
Languages:
English
Size:
10K<n<100K
License:
Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
- daily_dialog.py +1 -1
daily_dialog.py
CHANGED
@@ -129,7 +129,7 @@ class DailyDialog(datasets.GeneratorBasedBuilder):
|
|
129 |
]
|
130 |
|
131 |
def _generate_examples(self, file_path, act_path, emotion_path, split):
|
132 |
-
"""
|
133 |
# Yields (key, example) tuples from the dataset
|
134 |
with open(file_path, "r", encoding="utf-8") as f, open(act_path, "r", encoding="utf-8") as act, open(
|
135 |
emotion_path, "r", encoding="utf-8"
|
|
|
129 |
]
|
130 |
|
131 |
def _generate_examples(self, file_path, act_path, emotion_path, split):
|
132 |
+
"""Yields examples."""
|
133 |
# Yields (key, example) tuples from the dataset
|
134 |
with open(file_path, "r", encoding="utf-8") as f, open(act_path, "r", encoding="utf-8") as act, open(
|
135 |
emotion_path, "r", encoding="utf-8"
|