Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
parquet
Sub-tasks:
intent-classification
Languages:
English
Size:
< 1K
License:
Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
- diplomacy_detection.py +2 -2
diplomacy_detection.py
CHANGED
@@ -115,7 +115,7 @@ _GAME_SCORE_DELTA = [
|
|
115 |
|
116 |
|
117 |
class DiplomacyDetection(datasets.GeneratorBasedBuilder):
|
118 |
-
"""Diplomacy: A Dataset for Deception Detection.
|
119 |
|
120 |
VERSION = datasets.Version("1.1.0")
|
121 |
|
@@ -162,7 +162,7 @@ class DiplomacyDetection(datasets.GeneratorBasedBuilder):
|
|
162 |
]
|
163 |
|
164 |
def _generate_examples(self, filepath):
|
165 |
-
"""
|
166 |
with open(filepath, encoding="utf-8") as f:
|
167 |
for id_, row in enumerate(f):
|
168 |
data = json.loads(row)
|
|
|
115 |
|
116 |
|
117 |
class DiplomacyDetection(datasets.GeneratorBasedBuilder):
|
118 |
+
"""Diplomacy: A Dataset for Deception Detection."""
|
119 |
|
120 |
VERSION = datasets.Version("1.1.0")
|
121 |
|
|
|
162 |
]
|
163 |
|
164 |
def _generate_examples(self, filepath):
|
165 |
+
"""Yields examples."""
|
166 |
with open(filepath, encoding="utf-8") as f:
|
167 |
for id_, row in enumerate(f):
|
168 |
data = json.loads(row)
|