Datasets:
ratishsp
commited on
Commit
•
da339a4
1
Parent(s):
f855023
support for linearized_input field
Browse files
RotoWire_English-German.py
CHANGED
@@ -145,7 +145,8 @@ class RotowireEnglishGerman(datasets.GeneratorBasedBuilder):
|
|
145 |
"summary_en": datasets.Sequence(datasets.Value("string")),
|
146 |
"sentence_end_index_en": datasets.Sequence(datasets.Value("int32")),
|
147 |
"summary_de": datasets.Sequence(datasets.Value("string")),
|
148 |
-
"sentence_end_index_de": datasets.Sequence(datasets.Value("int32"))
|
|
|
149 |
}
|
150 |
)
|
151 |
return datasets.DatasetInfo(
|
|
|
145 |
"summary_en": datasets.Sequence(datasets.Value("string")),
|
146 |
"sentence_end_index_en": datasets.Sequence(datasets.Value("int32")),
|
147 |
"summary_de": datasets.Sequence(datasets.Value("string")),
|
148 |
+
"sentence_end_index_de": datasets.Sequence(datasets.Value("int32")),
|
149 |
+
"linearized_input": datasets.Value("string")
|
150 |
}
|
151 |
)
|
152 |
return datasets.DatasetInfo(
|