Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
parquet
Sub-tasks:
multi-class-classification
Languages:
Catalan
Size:
10K - 100K
License:
Update wikiCAT_ca.py
Browse files- wikiCAT_ca.py +6 -6
wikiCAT_ca.py
CHANGED
|
@@ -22,7 +22,7 @@ _DEV_FILE = "hfeval_ca.json"
|
|
| 22 |
#_TEST_FILE = "test.json"
|
| 23 |
|
| 24 |
|
| 25 |
-
class
|
| 26 |
""" Builder config for the Topicat dataset """
|
| 27 |
|
| 28 |
def __init__(self, **kwargs):
|
|
@@ -30,17 +30,17 @@ class wikicat_caConfig(datasets.BuilderConfig):
|
|
| 30 |
Args:
|
| 31 |
**kwargs: keyword arguments forwarded to super.
|
| 32 |
"""
|
| 33 |
-
super(
|
| 34 |
|
| 35 |
|
| 36 |
-
class
|
| 37 |
""" WikiCAT_ca Dataset """
|
| 38 |
|
| 39 |
BUILDER_CONFIGS = [
|
| 40 |
-
|
| 41 |
-
name="
|
| 42 |
version=datasets.Version("1.1.0"),
|
| 43 |
-
description="
|
| 44 |
),
|
| 45 |
]
|
| 46 |
|
|
|
|
| 22 |
#_TEST_FILE = "test.json"
|
| 23 |
|
| 24 |
|
| 25 |
+
class wikiCAT_caConfig(datasets.BuilderConfig):
|
| 26 |
""" Builder config for the Topicat dataset """
|
| 27 |
|
| 28 |
def __init__(self, **kwargs):
|
|
|
|
| 30 |
Args:
|
| 31 |
**kwargs: keyword arguments forwarded to super.
|
| 32 |
"""
|
| 33 |
+
super(wikiCAT_caConfig, self).__init__(**kwargs)
|
| 34 |
|
| 35 |
|
| 36 |
+
class wikiCAT_ca(datasets.GeneratorBasedBuilder):
|
| 37 |
""" WikiCAT_ca Dataset """
|
| 38 |
|
| 39 |
BUILDER_CONFIGS = [
|
| 40 |
+
wikiCAT_caConfig(
|
| 41 |
+
name="wikiCAT_ca",
|
| 42 |
version=datasets.Version("1.1.0"),
|
| 43 |
+
description="wikiCAT_ca",
|
| 44 |
),
|
| 45 |
]
|
| 46 |
|