Datasets:

Languages:
English
ArXiv:
License:
dfki-nlp commited on
Commit
117f690
1 Parent(s): 96d77a2

Update tacred.py

Browse files
Files changed (1) hide show
  1. tacred.py +1 -1
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.Value("string"),
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")),