Datasets:
EMBO
/

Languages:
English
ArXiv:
DOI:
License:
drAbreu commited on
Commit
b114e70
1 Parent(s): 51bc717

Update SourceData.py

Browse files
Files changed (1) hide show
  1. SourceData.py +3 -3
SourceData.py CHANGED
@@ -94,7 +94,7 @@ class SourceData(datasets.GeneratorBasedBuilder):
94
  feature=datasets.ClassLabel(num_classes=len(self._NER_LABEL_NAMES),
95
  names=self._NER_LABEL_NAMES)
96
  ),
97
- "is_category": datasets.Sequence(feature=datasets.Value("int8")),
98
  "tag_mask": datasets.Sequence(feature=datasets.Value("int8")),
99
  "text": datasets.Value("string"),
100
  }
@@ -109,7 +109,7 @@ class SourceData(datasets.GeneratorBasedBuilder):
109
  names=self._SEMANTIC_ROLES
110
  )
111
  ),
112
- "is_category": datasets.Sequence(feature=datasets.Value("int8")),
113
  "tag_mask": datasets.Sequence(feature=datasets.Value("int8")),
114
  "text": datasets.Value("string"),
115
  }
@@ -124,7 +124,7 @@ class SourceData(datasets.GeneratorBasedBuilder):
124
  names=self._SEMANTIC_ROLES
125
  )
126
  ),
127
- "is_category": datasets.Sequence(feature=datasets.Value("int8")),
128
  "tag_mask": datasets.Sequence(feature=datasets.Value("int8")),
129
  "text": datasets.Value("string"),
130
  }
 
94
  feature=datasets.ClassLabel(num_classes=len(self._NER_LABEL_NAMES),
95
  names=self._NER_LABEL_NAMES)
96
  ),
97
+ # "is_category": datasets.Sequence(feature=datasets.Value("int8")),
98
  "tag_mask": datasets.Sequence(feature=datasets.Value("int8")),
99
  "text": datasets.Value("string"),
100
  }
 
109
  names=self._SEMANTIC_ROLES
110
  )
111
  ),
112
+ # "is_category": datasets.Sequence(feature=datasets.Value("int8")),
113
  "tag_mask": datasets.Sequence(feature=datasets.Value("int8")),
114
  "text": datasets.Value("string"),
115
  }
 
124
  names=self._SEMANTIC_ROLES
125
  )
126
  ),
127
+ # "is_category": datasets.Sequence(feature=datasets.Value("int8")),
128
  "tag_mask": datasets.Sequence(feature=datasets.Value("int8")),
129
  "text": datasets.Value("string"),
130
  }