Datasets:
Tasks:
Text Classification
Languages:
Persian
mahdiyehebrahimi
commited on
Commit
•
e7b4280
1
Parent(s):
1202773
Update utc.py
Browse files
utc.py
CHANGED
@@ -16,14 +16,14 @@ _DOWNLOAD_URLS = {
|
|
16 |
}
|
17 |
|
18 |
|
19 |
-
class
|
20 |
def __init__(self, **kwargs):
|
21 |
-
super(
|
22 |
|
23 |
|
24 |
class DatasetName(datasets.GeneratorBasedBuilder):
|
25 |
BUILDER_CONFIGS = [
|
26 |
-
|
27 |
name="utc",
|
28 |
version=datasets.Version("1.1.1"),
|
29 |
description=_DESCRIPTION,
|
|
|
16 |
}
|
17 |
|
18 |
|
19 |
+
class DatasetNameConfig(datasets.BuilderConfig):
|
20 |
def __init__(self, **kwargs):
|
21 |
+
super(DatasetNameConfig, self).__init__(**kwargs)
|
22 |
|
23 |
|
24 |
class DatasetName(datasets.GeneratorBasedBuilder):
|
25 |
BUILDER_CONFIGS = [
|
26 |
+
DatasetNameConfig(
|
27 |
name="utc",
|
28 |
version=datasets.Version("1.1.1"),
|
29 |
description=_DESCRIPTION,
|