Datasets:
Update SourceData.py
Browse files- SourceData.py +1 -1
SourceData.py
CHANGED
@@ -237,7 +237,7 @@ class SourceData(datasets.GeneratorBasedBuilder):
|
|
237 |
"words": data["words"],
|
238 |
"labels": data["labels"],
|
239 |
"tag_mask": tag_mask,
|
240 |
-
"
|
241 |
"text": data["text"]
|
242 |
}
|
243 |
elif self.config.name == "ROLES_SM":
|
|
|
237 |
"words": data["words"],
|
238 |
"labels": data["labels"],
|
239 |
"tag_mask": tag_mask,
|
240 |
+
"is_category": data["is_category"],
|
241 |
"text": data["text"]
|
242 |
}
|
243 |
elif self.config.name == "ROLES_SM":
|