Diwank Singh
commited on
Commit
·
0edb127
1
Parent(s):
95deb53
Update config file
Browse filesSigned-off-by: Diwank Singh <diwank.singh@gmail.com>
- hinglish-dump.py +2 -2
hinglish-dump.py
CHANGED
|
@@ -79,6 +79,6 @@ class HinglishDumpDataset(datasets.GeneratorBasedBuilder):
|
|
| 79 |
|
| 80 |
def _generate_examples(self, filepath, split):
|
| 81 |
df = pd.read_hdf(filepath, key=split)
|
| 82 |
-
|
| 83 |
for feature in _FEATURE_NAMES:
|
| 84 |
-
yield feature,
|
|
|
|
| 79 |
|
| 80 |
def _generate_examples(self, filepath, split):
|
| 81 |
df = pd.read_hdf(filepath, key=split)
|
| 82 |
+
|
| 83 |
for feature in _FEATURE_NAMES:
|
| 84 |
+
yield feature, [row for row in df[feature]]
|