adithya7
commited on
Commit
·
3fea611
1
Parent(s):
abfaf58
include test label_id
Browse files- xlel_wd.py +2 -2
xlel_wd.py
CHANGED
@@ -301,7 +301,7 @@ class XlelWd(datasets.GeneratorBasedBuilder):
|
|
301 |
"context_left": data["context_left"],
|
302 |
"context_right": data["context_right"],
|
303 |
"context_lang": data["context_lang"],
|
304 |
-
"label_id":
|
305 |
}
|
306 |
elif task_domain.startswith("wikinews"):
|
307 |
yield key, {
|
@@ -311,5 +311,5 @@ class XlelWd(datasets.GeneratorBasedBuilder):
|
|
311 |
"context_lang": data["context_lang"],
|
312 |
"context_title": data["context_title"],
|
313 |
"context_date": data["context_date"],
|
314 |
-
"label_id":
|
315 |
}
|
|
|
301 |
"context_left": data["context_left"],
|
302 |
"context_right": data["context_right"],
|
303 |
"context_lang": data["context_lang"],
|
304 |
+
"label_id": data["label_id"],
|
305 |
}
|
306 |
elif task_domain.startswith("wikinews"):
|
307 |
yield key, {
|
|
|
311 |
"context_lang": data["context_lang"],
|
312 |
"context_title": data["context_title"],
|
313 |
"context_date": data["context_date"],
|
314 |
+
"label_id": data["label_id"],
|
315 |
}
|