Datasets:
shibing624
commited on
Commit
•
2a8a4cb
1
Parent(s):
c5a2e40
Update nli_zh.py
Browse files
nli_zh.py
CHANGED
@@ -114,21 +114,18 @@ class NliZh(datasets.GeneratorBasedBuilder):
|
|
114 |
name=datasets.Split.TRAIN,
|
115 |
gen_kwargs={
|
116 |
"filepath": os.path.join(dl_dir, f"{self.config.name}.train.data"),
|
117 |
-
"split": datasets.Split.TRAIN,
|
118 |
},
|
119 |
),
|
120 |
datasets.SplitGenerator(
|
121 |
name=datasets.Split.VALIDATION,
|
122 |
gen_kwargs={
|
123 |
"filepath": os.path.join(dl_dir, f"{self.config.name}.valid.data"),
|
124 |
-
"split": datasets.Split.VALIDATION,
|
125 |
},
|
126 |
),
|
127 |
datasets.SplitGenerator(
|
128 |
name=datasets.Split.TEST,
|
129 |
gen_kwargs={
|
130 |
"filepath": os.path.join(dl_dir, f"{self.config.name}.test.data"),
|
131 |
-
"split": datasets.Split.TEST,
|
132 |
},
|
133 |
),
|
134 |
]
|
|
|
114 |
name=datasets.Split.TRAIN,
|
115 |
gen_kwargs={
|
116 |
"filepath": os.path.join(dl_dir, f"{self.config.name}.train.data"),
|
|
|
117 |
},
|
118 |
),
|
119 |
datasets.SplitGenerator(
|
120 |
name=datasets.Split.VALIDATION,
|
121 |
gen_kwargs={
|
122 |
"filepath": os.path.join(dl_dir, f"{self.config.name}.valid.data"),
|
|
|
123 |
},
|
124 |
),
|
125 |
datasets.SplitGenerator(
|
126 |
name=datasets.Split.TEST,
|
127 |
gen_kwargs={
|
128 |
"filepath": os.path.join(dl_dir, f"{self.config.name}.test.data"),
|
|
|
129 |
},
|
130 |
),
|
131 |
]
|