Diwank Singh commited on
Commit ·
e97cfd1
1
Parent(s): 19dabfb
Update config file
Browse filesSigned-off-by: Diwank Singh <diwank.singh@gmail.com>
- hinglish-dump.py +2 -2
hinglish-dump.py
CHANGED
|
@@ -80,5 +80,5 @@ class HinglishDumpDataset(datasets.GeneratorBasedBuilder):
|
|
| 80 |
def _generate_examples(self, filepath, split):
|
| 81 |
df = pd.read_hdf(filepath, key=split)
|
| 82 |
|
| 83 |
-
for
|
| 84 |
-
yield
|
|
|
|
| 80 |
def _generate_examples(self, filepath, split):
|
| 81 |
df = pd.read_hdf(filepath, key=split)
|
| 82 |
|
| 83 |
+
for row in df.itertuples():
|
| 84 |
+
yield row
|