Update Ziya-Eval-Chinese.py
Browse files- Ziya-Eval-Chinese.py +2 -2
Ziya-Eval-Chinese.py
CHANGED
@@ -53,7 +53,7 @@ _LICENSE = "apache-license-2.0"
|
|
53 |
|
54 |
|
55 |
# TODO: Name of the dataset usually matches the script name with CamelCase instead of snake_case
|
56 |
-
class
|
57 |
"""TODO: Short description of my dataset."""
|
58 |
|
59 |
VERSION = datasets.Version("1.0.0")
|
@@ -115,7 +115,7 @@ class ZiyaEvalChineseDataset(datasets.GeneratorBasedBuilder):
|
|
115 |
name=datasets.Split.TRAIN,
|
116 |
# These kwargs will be passed to _generate_examples
|
117 |
gen_kwargs={
|
118 |
-
"filepath": data_dir['train']
|
119 |
"split": "train",
|
120 |
},
|
121 |
),
|
|
|
53 |
|
54 |
|
55 |
# TODO: Name of the dataset usually matches the script name with CamelCase instead of snake_case
|
56 |
+
class ZiyaEvalChinese(datasets.GeneratorBasedBuilder):
|
57 |
"""TODO: Short description of my dataset."""
|
58 |
|
59 |
VERSION = datasets.Version("1.0.0")
|
|
|
115 |
name=datasets.Split.TRAIN,
|
116 |
# These kwargs will be passed to _generate_examples
|
117 |
gen_kwargs={
|
118 |
+
"filepath": data_dir['train'],
|
119 |
"split": "train",
|
120 |
},
|
121 |
),
|