Datasets:

Modalities:
Text
ArXiv:
Libraries:
Datasets
lovodkin93 commited on
Commit
23d0c18
1 Parent(s): 0ac4ef8

updated the script

Browse files
Files changed (1) hide show
  1. Controlled-Text-Reduction-dataset.py +33 -16
Controlled-Text-Reduction-dataset.py CHANGED
@@ -251,7 +251,7 @@
251
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
252
  # See the License for the specific language governing permissions and
253
  # limitations under the License.
254
- """A Dataset loading script for the QA-Discourse dataset (Pyatkin et. al., ACL 2020)."""
255
 
256
 
257
  import datasets
@@ -260,26 +260,43 @@ from typing import List
260
  import pandas as pd
261
 
262
 
263
- _CITATION = """\
264
- @inproceedings{pyatkin2020qadiscourse,
265
- title={QADiscourse-Discourse Relations as QA Pairs: Representation, Crowdsourcing and Baselines},
266
- author={Pyatkin, Valentina and Klein, Ayal and Tsarfaty, Reut and Dagan, Ido},
267
- booktitle={Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP)},
268
- pages={2804--2819},
269
- year={2020}
270
- }"""
 
 
271
 
272
 
273
  _DESCRIPTION = """\
274
- The dataset contains question-answer pairs to model discourse relations.
275
- While answers roughly correspond to spans of the sentence, these spans could have been freely adjusted by annotators to grammaticaly fit the question;
276
- Therefore, answers are given just as text and not as identified spans of the original sentence.
277
- See the paper for details: QADiscourse - Discourse Relations as QA Pairs: Representation, Crowdsourcing and Baselines, Pyatkin et. al., 2020
278
  """
279
 
280
- _HOMEPAGE = "https://github.com/ValentinaPy/QADiscourse"
281
-
282
- _LICENSE = """Resources on this page are licensed CC-BY 4.0, a Creative Commons license requiring Attribution (https://creativecommons.org/licenses/by/4.0/)."""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
283
 
284
 
285
  _URLs = {
 
251
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
252
  # See the License for the specific language governing permissions and
253
  # limitations under the License.
254
+ """A Dataset loading script for the Controlled Text Reduction dataset."""
255
 
256
 
257
  import datasets
 
260
  import pandas as pd
261
 
262
 
263
+ _CITATION = """"""
264
+ # _CITATION = """\
265
+ # @inproceedings{roit2020controlled,
266
+ # title={Controlled Crowdsourcing for High-Quality QA-SRL Annotation},
267
+ # author={Roit, Paul and Klein, Ayal and Stepanov, Daniela and Mamou, Jonathan and Michael, Julian and Stanovsky, Gabriel and Zettlemoyer, Luke and Dagan, Ido},
268
+ # booktitle={Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics},
269
+ # pages={7008--7013},
270
+ # year={2020}
271
+ # }
272
+ # """
273
 
274
 
275
  _DESCRIPTION = """\
276
+ The dataset contains document-summary pairs with document spans (referred to as "highlights"), indicating the "pre-selected" spans that lead to the creation of the summary.
277
+ The evaluation and test datasets were constructed via controlled crowdsourcing.
278
+ The train datasets were automatically generated using the summary-source proposition-level alignment model SuperPAL (Ernst et al., 2021).
 
279
  """
280
 
281
+ _HOMEPAGE = "https://github.com/lovodkin93/Controlled_Text_Reduction/tree/main"
282
+
283
+ _LICENSE = """MIT License
284
+ Copyright (c) 2022 lovodkin93
285
+ Permission is hereby granted, free of charge, to any person obtaining a copy
286
+ of this software and associated documentation files (the "Software"), to deal
287
+ in the Software without restriction, including without limitation the rights
288
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
289
+ copies of the Software, and to permit persons to whom the Software is
290
+ furnished to do so, subject to the following conditions:
291
+ The above copyright notice and this permission notice shall be included in all
292
+ copies or substantial portions of the Software.
293
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
294
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
295
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
296
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
297
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
298
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
299
+ SOFTWARE."""
300
 
301
 
302
  _URLs = {