Datasets:
Tasks:
Text Classification
Sub-tasks:
multi-class-classification
Languages:
English
Size:
100K<n<1M
ArXiv:
Tags:
relation extraction
License:
Update tacred.py
Browse files
tacred.py
CHANGED
@@ -216,7 +216,7 @@ class Tacred(datasets.GeneratorBasedBuilder):
|
|
216 |
"subj_type": datasets.ClassLabel(names=_NER_CLASS_LABELS),
|
217 |
"obj_start": datasets.Value("int32"),
|
218 |
"obj_end": datasets.Value("int32"),
|
219 |
-
"obj_type": datasets.
|
220 |
"stanford_pos": datasets.Sequence(datasets.Value("string")),
|
221 |
"stanford_ner": datasets.Sequence(datasets.Value("string")),
|
222 |
"stanford_deprel": datasets.Sequence(datasets.Value("string")),
|
|
|
216 |
"subj_type": datasets.ClassLabel(names=_NER_CLASS_LABELS),
|
217 |
"obj_start": datasets.Value("int32"),
|
218 |
"obj_end": datasets.Value("int32"),
|
219 |
+
"obj_type": datasets.ClassLabel(names=_NER_CLASS_LABELS),
|
220 |
"stanford_pos": datasets.Sequence(datasets.Value("string")),
|
221 |
"stanford_ner": datasets.Sequence(datasets.Value("string")),
|
222 |
"stanford_deprel": datasets.Sequence(datasets.Value("string")),
|