Commit
•
df70f6e
1
Parent(s):
17d0313
fix bug
Browse files
amazon_massive_scenario.py
CHANGED
@@ -169,7 +169,7 @@ class MASSIVE(datasets.GeneratorBasedBuilder):
|
|
169 |
yield key_, {
|
170 |
"id": data["id"],
|
171 |
"label": data["scenario"],
|
172 |
-
"label_text": _SCENARIOS[data["scenario"]],
|
173 |
"text": data["utt"],
|
174 |
}
|
175 |
key_ += 1
|
|
|
169 |
yield key_, {
|
170 |
"id": data["id"],
|
171 |
"label": data["scenario"],
|
172 |
+
"label_text": _SCENARIOS[int(data["scenario"])],
|
173 |
"text": data["utt"],
|
174 |
}
|
175 |
key_ += 1
|