Datasets:

Modalities:
Text
Formats:
json
Languages:
Catalan
ArXiv:
Libraries:
Datasets
pandas
License:
odegiber commited on
Commit
cf9f555
1 Parent(s): 0731f1c

Update vilasum.py

Browse files
Files changed (1) hide show
  1. vilasum.py +15 -10
vilasum.py CHANGED
@@ -4,17 +4,22 @@ import datasets
4
 
5
  logger = datasets.logging.get_logger(__name__)
6
 
7
- _CITATION = """
8
 
9
- """
 
 
 
 
 
 
 
10
 
11
- _DESCRIPTION = """
12
- """
13
-
14
- _HOMEPAGE = """
15
  """
16
 
17
- _URL = "https://huggingface.co/datasets/projecte-aina/vilasum/tree/main"
 
 
18
  _TEST_FILE = "test.jsonl"
19
 
20
  class VilaSumConfig(datasets.BuilderConfig):
@@ -35,7 +40,7 @@ class VilaSum(datasets.GeneratorBasedBuilder):
35
  VilaSumConfig(
36
  name="VilaSum",
37
  version=datasets.Version("1.0.0"),
38
- description="VilaSum dataset",
39
  ),
40
  ]
41
 
@@ -45,13 +50,13 @@ class VilaSum(datasets.GeneratorBasedBuilder):
45
  features=datasets.Features(
46
  {
47
  "summary": datasets.Value("string"),
48
- "text": datasets.Value("string"),
49
  }
50
 
51
  ),
52
  supervised_keys=None,
53
  homepage=_HOMEPAGE,
54
- citation=_CITATION,
55
  )
56
 
57
  def _split_generators(self, dl_manager):
 
4
 
5
  logger = datasets.logging.get_logger(__name__)
6
 
 
7
 
8
+ _CITATION = """@misc{degibert2022sequencetosequence,
9
+ title={Sequence-to-Sequence Resources for Catalan},
10
+ author={Ona de Gibert and Ksenia Kharitonova and Blanca Calvo Figueras and Jordi Armengol-Estapé and Maite Melero},
11
+ year={2022},
12
+ eprint={2202.06871},
13
+ archivePrefix={arXiv},
14
+ primaryClass={cs.CL}
15
+ }"""
16
 
17
+ _DESCRIPTION = """VilaSum is a summarization dataset for evaluation. It is extracted from a newswire corpus crawled from Vilaweb. The corpus consists of 13,843 instances that are composed by the headline and the body.
 
 
 
18
  """
19
 
20
+ _HOMEPAGE = """https://github.com/TeMU-BSC/seq-to-seq-catalan"""
21
+
22
+ _URL = "https://huggingface.co/datasets/projecte-aina/vilasum/tree/main/"
23
  _TEST_FILE = "test.jsonl"
24
 
25
  class VilaSumConfig(datasets.BuilderConfig):
 
40
  VilaSumConfig(
41
  name="VilaSum",
42
  version=datasets.Version("1.0.0"),
43
+ description="VilaSum dataset"
44
  ),
45
  ]
46
 
 
50
  features=datasets.Features(
51
  {
52
  "summary": datasets.Value("string"),
53
+ "text": datasets.Value("string")
54
  }
55
 
56
  ),
57
  supervised_keys=None,
58
  homepage=_HOMEPAGE,
59
+ citation=_CITATION
60
  )
61
 
62
  def _split_generators(self, dl_manager):