Yan-Jia Huang
commited on
Commit
•
0c0aac4
1
Parent(s):
2994266
fix: minor
Browse files
cc100.py
CHANGED
@@ -129,15 +129,11 @@ class Cc100Config(datasets.BuilderConfig):
|
|
129 |
|
130 |
|
131 |
class Cc100(datasets.GeneratorBasedBuilder):
|
|
|
132 |
BUILDER_CONFIGS = [
|
133 |
-
Cc100Config(
|
134 |
-
lang=lang,
|
135 |
-
description=f"Language: {lang}",
|
136 |
-
version=datasets.Version(_VERSION),
|
137 |
-
)
|
138 |
for lang in _LANGUAGES
|
139 |
]
|
140 |
-
BUILDER_CONFIG_CLASS = Cc100Config
|
141 |
|
142 |
def _info(self):
|
143 |
return datasets.DatasetInfo(
|
|
|
129 |
|
130 |
|
131 |
class Cc100(datasets.GeneratorBasedBuilder):
|
132 |
+
BUILDER_CONFIG_CLASS = Cc100Config
|
133 |
BUILDER_CONFIGS = [
|
134 |
+
Cc100Config(lang=lang, description=lang, version=datasets.Version(_VERSION))
|
|
|
|
|
|
|
|
|
135 |
for lang in _LANGUAGES
|
136 |
]
|
|
|
137 |
|
138 |
def _info(self):
|
139 |
return datasets.DatasetInfo(
|