haps
Browse files- lb-data-test.py +14 -20
lb-data-test.py
CHANGED
|
@@ -48,26 +48,20 @@ class LaboASR(datasets.GeneratorBasedBuilder):
|
|
| 48 |
)
|
| 49 |
|
| 50 |
def _split_generators(self, dl_manager):
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
return [datasets.SplitGenerator(
|
| 66 |
-
name="haps",
|
| 67 |
-
gen_kwargs={
|
| 68 |
-
"paths": ["1", "2", "3"],
|
| 69 |
-
},
|
| 70 |
-
)]
|
| 71 |
|
| 72 |
def _generate_examples(
|
| 73 |
self,
|
|
|
|
| 48 |
)
|
| 49 |
|
| 50 |
def _split_generators(self, dl_manager):
|
| 51 |
+
return [
|
| 52 |
+
datasets.SplitGenerator(
|
| 53 |
+
name=datasets.Split.TRAIN,
|
| 54 |
+
gen_kwargs={
|
| 55 |
+
"paths": ["1", "2", "3"],
|
| 56 |
+
},
|
| 57 |
+
),
|
| 58 |
+
datasets.SplitGenerator(
|
| 59 |
+
name=datasets.Split.VALIDATION,
|
| 60 |
+
gen_kwargs={
|
| 61 |
+
"paths": ["4", "5", "6"],
|
| 62 |
+
},
|
| 63 |
+
),
|
| 64 |
+
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
|
| 66 |
def _generate_examples(
|
| 67 |
self,
|