Update files from the datasets library (from 1.16.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.16.0
pec.py
CHANGED
|
@@ -56,7 +56,7 @@ class PEC(datasets.GeneratorBasedBuilder):
|
|
| 56 |
# just remove the BUILDER_CONFIG_CLASS and the BUILDER_CONFIGS attributes.
|
| 57 |
BUILDER_CONFIG_CLASS = PECConfig
|
| 58 |
BUILDER_CONFIGS = [
|
| 59 |
-
PECConfig(name=domain, description="A subset of PEC dataset: {}"
|
| 60 |
for domain in ["happy", "offmychest", "all"]
|
| 61 |
]
|
| 62 |
|
|
|
|
| 56 |
# just remove the BUILDER_CONFIG_CLASS and the BUILDER_CONFIGS attributes.
|
| 57 |
BUILDER_CONFIG_CLASS = PECConfig
|
| 58 |
BUILDER_CONFIGS = [
|
| 59 |
+
PECConfig(name=domain, description=f"A subset of PEC dataset: {domain}", domain=domain)
|
| 60 |
for domain in ["happy", "offmychest", "all"]
|
| 61 |
]
|
| 62 |
|