acc13027rk
commited on
Commit
•
492c1af
1
Parent(s):
6234429
fix list issue
Browse files
m2d2.py
CHANGED
@@ -70,4 +70,4 @@ class M2D2(datasets.GeneratorBasedBuilder):
|
|
70 |
with open(filepath, encoding="utf-8") as f:
|
71 |
for key, row in enumerate(f):
|
72 |
data = row.strip()
|
73 |
-
yield key, data
|
|
|
70 |
with open(filepath, encoding="utf-8") as f:
|
71 |
for key, row in enumerate(f):
|
72 |
data = row.strip()
|
73 |
+
yield key, {"text": data}
|