Sebastian Gehrmann
commited on
Commit
•
7042afa
1
Parent(s):
d91d186
- schema_guided_dialog.py +2 -0
schema_guided_dialog.py
CHANGED
@@ -164,6 +164,8 @@ class SchemaGuidedDialog(datasets.GeneratorBasedBuilder):
|
|
164 |
# Fix the one example that has an empty target.
|
165 |
if not example["target"]:
|
166 |
example["target"] = "Thank you, goodbye."
|
|
|
|
|
167 |
yield id_, {
|
168 |
"gem_id": f"schema_guided_dialog-{split}-{id_}",
|
169 |
"gem_parent_id": f"schema_guided_dialog-{split}-{id_}",
|
|
|
164 |
# Fix the one example that has an empty target.
|
165 |
if not example["target"]:
|
166 |
example["target"] = "Thank you, goodbye."
|
167 |
+
if ix_ % 50 == 0:
|
168 |
+
print((example["service"]))
|
169 |
yield id_, {
|
170 |
"gem_id": f"schema_guided_dialog-{split}-{id_}",
|
171 |
"gem_parent_id": f"schema_guided_dialog-{split}-{id_}",
|