Update propsegment-retrieval.py
Browse files- propsegment-retrieval.py +2 -2
propsegment-retrieval.py
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
# See the License for the specific language governing permissions and
|
13 |
# limitations under the License.
|
14 |
|
15 |
-
"""
|
16 |
|
17 |
|
18 |
import csv
|
@@ -100,7 +100,7 @@ class PropSegmentRetrieval(datasets.GeneratorBasedBuilder):
|
|
100 |
"id": datasets.Value("string"),
|
101 |
"sentence_text": datasets.Value("string"),
|
102 |
"spans": datasets.Value("string"),
|
103 |
-
"
|
104 |
"tokens": datasets.features.Sequence(
|
105 |
{"text": datasets.Value("string"), "character_offset_of_token_in_sentence": datasets.Value("int32"),}
|
106 |
),
|
|
|
12 |
# See the License for the specific language governing permissions and
|
13 |
# limitations under the License.
|
14 |
|
15 |
+
"""Atomic Fact Retrieval Task of PropSegmEnt."""
|
16 |
|
17 |
|
18 |
import csv
|
|
|
100 |
"id": datasets.Value("string"),
|
101 |
"sentence_text": datasets.Value("string"),
|
102 |
"spans": datasets.Value("string"),
|
103 |
+
"label": datasets.features.Sequence(datasets.Value("string")),
|
104 |
"tokens": datasets.features.Sequence(
|
105 |
{"text": datasets.Value("string"), "character_offset_of_token_in_sentence": datasets.Value("int32"),}
|
106 |
),
|