w4ngatang commited on
Commit
2476581
1 Parent(s): 81ce5d0

Fix version numbers; add dataset card

Browse files
Files changed (2) hide show
  1. squality.json +0 -0
  2. squality.py +3 -3
squality.json ADDED
File without changes
squality.py CHANGED
@@ -28,7 +28,7 @@ import datasets
28
 
29
  _CITATION = """\
30
  @article{wang2022squality,
31
- title={SQuALITY: Building a Long-Document Summarization Dataset the Hard Way},
32
  author={Wang, Alex and Pang, Richard Yuanzhe and Chen, Angelica and Phang, Jason and Bowman, Samuel R.},
33
  journal={arXiv preprint 2205.11465},
34
  year={2022}
@@ -57,7 +57,7 @@ _LICENSE = "CC BY"
57
  class SQuALITYDataset(datasets.GeneratorBasedBuilder):
58
  """TODO: Short description of my dataset."""
59
 
60
- VERSION = datasets.Version("1.1")
61
 
62
  # This is an example of a dataset with multiple configurations.
63
  # If you don't want/need to define several sub-sets in your dataset,
@@ -70,7 +70,7 @@ class SQuALITYDataset(datasets.GeneratorBasedBuilder):
70
  # You will be able to load one or the other configurations in the following list with
71
  # data = datasets.load_dataset('my_dataset', 'first_domain')
72
  BUILDER_CONFIGS = [
73
- datasets.BuilderConfig(name="squality-v1", version=datasets.Version("1.0"), description="SQUALITY v1.0, containing 100 stories (2000 summaries)"),
74
  datasets.BuilderConfig(name="squality-v1.1", version=VERSION, description="SQuALITY version v1.1, expands on v1.0 by adding 27 stories (540 summaries)"),
75
  ]
76
 
28
 
29
  _CITATION = """\
30
  @article{wang2022squality,
31
+ title={{SQ}u{ALITY}: Building a Long-Document Summarization Dataset the Hard Way},
32
  author={Wang, Alex and Pang, Richard Yuanzhe and Chen, Angelica and Phang, Jason and Bowman, Samuel R.},
33
  journal={arXiv preprint 2205.11465},
34
  year={2022}
57
  class SQuALITYDataset(datasets.GeneratorBasedBuilder):
58
  """TODO: Short description of my dataset."""
59
 
60
+ VERSION = datasets.Version("1.1.0")
61
 
62
  # This is an example of a dataset with multiple configurations.
63
  # If you don't want/need to define several sub-sets in your dataset,
70
  # You will be able to load one or the other configurations in the following list with
71
  # data = datasets.load_dataset('my_dataset', 'first_domain')
72
  BUILDER_CONFIGS = [
73
+ datasets.BuilderConfig(name="squality-v1", version=datasets.Version("1.0.0"), description="SQUALITY v1.0, containing 100 stories (2000 summaries)"),
74
  datasets.BuilderConfig(name="squality-v1.1", version=VERSION, description="SQuALITY version v1.1, expands on v1.0 by adding 27 stories (540 summaries)"),
75
  ]
76