Diwank Singh
commited on
Commit
·
3591636
1
Parent(s):
682c91b
Update dataset script
Browse filesSigned-off-by: Diwank Singh <diwank.singh@gmail.com>
- hinglish-dump.py +6 -0
hinglish-dump.py
CHANGED
|
@@ -85,11 +85,17 @@ class HinglishDumpDataset(datasets.GeneratorBasedBuilder):
|
|
| 85 |
return [
|
| 86 |
datasets.SplitGenerator(
|
| 87 |
name=datasets.Split.TRAIN,
|
|
|
|
| 88 |
),
|
| 89 |
datasets.SplitGenerator(
|
| 90 |
name=datasets.Split.VALIDATION,
|
|
|
|
| 91 |
),
|
| 92 |
datasets.SplitGenerator(
|
| 93 |
name=datasets.Split.TEST,
|
|
|
|
| 94 |
),
|
| 95 |
]
|
|
|
|
|
|
|
|
|
|
|
|
| 85 |
return [
|
| 86 |
datasets.SplitGenerator(
|
| 87 |
name=datasets.Split.TRAIN,
|
| 88 |
+
gen_kwargs={"filepath": None, "split": "train"},
|
| 89 |
),
|
| 90 |
datasets.SplitGenerator(
|
| 91 |
name=datasets.Split.VALIDATION,
|
| 92 |
+
gen_kwargs={"filepath": None, "split": "validation"},
|
| 93 |
),
|
| 94 |
datasets.SplitGenerator(
|
| 95 |
name=datasets.Split.TEST,
|
| 96 |
+
gen_kwargs={"filepath": None, "split": "test"},
|
| 97 |
),
|
| 98 |
]
|
| 99 |
+
|
| 100 |
+
def _generate_examples(self, filepath, split):
|
| 101 |
+
return None
|