Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
pec.py
CHANGED
@@ -35,7 +35,7 @@ _URL = "https://dl.dropboxusercontent.com/s/u04fzuhsnxd0uvw/hf_pec.zip"
|
|
35 |
|
36 |
|
37 |
class PECConfig(datasets.BuilderConfig):
|
38 |
-
"""
|
39 |
|
40 |
def __init__(self, domain="all", **kwargs):
|
41 |
"""
|
@@ -142,7 +142,7 @@ class PEC(datasets.GeneratorBasedBuilder):
|
|
142 |
]
|
143 |
|
144 |
def _generate_examples(self, filepath, split, persona):
|
145 |
-
"""
|
146 |
# TODO: Yields (key, example) tuples from the dataset
|
147 |
context_speakers = []
|
148 |
context = []
|
|
|
35 |
|
36 |
|
37 |
class PECConfig(datasets.BuilderConfig):
|
38 |
+
"""BuilderConfig for PEC"""
|
39 |
|
40 |
def __init__(self, domain="all", **kwargs):
|
41 |
"""
|
|
|
142 |
]
|
143 |
|
144 |
def _generate_examples(self, filepath, split, persona):
|
145 |
+
"""Yields examples."""
|
146 |
# TODO: Yields (key, example) tuples from the dataset
|
147 |
context_speakers = []
|
148 |
context = []
|