Datasets:
Dr. Jorge Abreu Vicente
commited on
Commit
·
e64b392
1
Parent(s):
d6a211e
Update BLURB.py
Browse files
BLURB.py
CHANGED
|
@@ -181,9 +181,9 @@ class Blurb(datasets.GeneratorBasedBuilder):
|
|
| 181 |
|
| 182 |
df = pd.read_csv(filepath, sep="\t", encoding="utf-8")
|
| 183 |
for idx, row in df.iterrows():
|
| 184 |
-
|
| 185 |
-
|
| 186 |
-
|
| 187 |
-
|
| 188 |
-
|
| 189 |
-
|
|
|
|
| 181 |
|
| 182 |
df = pd.read_csv(filepath, sep="\t", encoding="utf-8")
|
| 183 |
for idx, row in df.iterrows():
|
| 184 |
+
yield idx, {
|
| 185 |
+
"sentence1": row["sentence1"],
|
| 186 |
+
"sentence2": row["sentence2"],
|
| 187 |
+
"score": row["score"],
|
| 188 |
+
}
|
| 189 |
+
|