Datasets:
knkarthick
commited on
Commit
•
09593fe
1
Parent(s):
e4c4e01
Update dialogsum_reformat.py
Browse files- dialogsum_reformat.py +0 -37
dialogsum_reformat.py
CHANGED
@@ -6,71 +6,34 @@ import os
|
|
6 |
logger = datasets.logging.get_logger(__name__)
|
7 |
|
8 |
_CITATION = """
|
9 |
-
|
10 |
@inproceedings{chen-etal-2021-dialogsum,
|
11 |
-
|
12 |
title={{D}ialog{S}um: {A} Real-Life Scenario Dialogue Summarization Dataset},
|
13 |
-
|
14 |
author={Chen, Yulong and Liu, Yang and Chen, Liang and Zhang, Yue},
|
15 |
-
|
16 |
journal={arXiv preprint arXiv:1911.12237},
|
17 |
-
|
18 |
year={2021},
|
19 |
-
|
20 |
booktitle ={Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021"},
|
21 |
-
|
22 |
month = {aug},
|
23 |
-
|
24 |
address = {Online},
|
25 |
-
|
26 |
publisher = {Association for Computational Linguistics},
|
27 |
-
|
28 |
url = {https://aclanthology.org/2021.findings-acl.449},
|
29 |
-
|
30 |
doi = {10.18653/v1/2021.findings-acl.449},
|
31 |
-
|
32 |
pages = {5062--5074}
|
33 |
-
|
34 |
}
|
35 |
-
|
36 |
"""
|
37 |
|
38 |
-
|
39 |
-
|
40 |
_DESCRIPTION = """
|
41 |
-
|
42 |
DialogSUM Corpus contains 13460 chat dialogues with manually annotated
|
43 |
-
|
44 |
summaries.
|
45 |
-
|
46 |
There are two features:
|
47 |
-
|
48 |
- dialogue: text of dialogue.
|
49 |
-
|
50 |
- summary: human written summary of the dialogue.
|
51 |
-
|
52 |
- topic: one liner summary of the dialogue.
|
53 |
-
|
54 |
- id: id of a example.
|
55 |
-
|
56 |
"""
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
_HOMEPAGE = "hhttps://aclanthology.org/2021.findings-acl.449"
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
_LICENSE = "CC BY-NC-ND 4.0"
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
_URL = "https://huggingface.co/datasets/knkarthick/dialogsum_reformat/tree/main/"
|
69 |
-
|
70 |
-
|
71 |
#_URL = "https://huggingface.co/datasets/knkarthick/dialogsum_reformat/resolve/main/"
|
72 |
-
|
73 |
-
|
74 |
_URLS = {
|
75 |
"train": _URL + "train.json",
|
76 |
"test": _URL + "test.json",
|
|
|
6 |
logger = datasets.logging.get_logger(__name__)
|
7 |
|
8 |
_CITATION = """
|
|
|
9 |
@inproceedings{chen-etal-2021-dialogsum,
|
|
|
10 |
title={{D}ialog{S}um: {A} Real-Life Scenario Dialogue Summarization Dataset},
|
|
|
11 |
author={Chen, Yulong and Liu, Yang and Chen, Liang and Zhang, Yue},
|
|
|
12 |
journal={arXiv preprint arXiv:1911.12237},
|
|
|
13 |
year={2021},
|
|
|
14 |
booktitle ={Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021"},
|
|
|
15 |
month = {aug},
|
|
|
16 |
address = {Online},
|
|
|
17 |
publisher = {Association for Computational Linguistics},
|
|
|
18 |
url = {https://aclanthology.org/2021.findings-acl.449},
|
|
|
19 |
doi = {10.18653/v1/2021.findings-acl.449},
|
|
|
20 |
pages = {5062--5074}
|
|
|
21 |
}
|
|
|
22 |
"""
|
23 |
|
|
|
|
|
24 |
_DESCRIPTION = """
|
|
|
25 |
DialogSUM Corpus contains 13460 chat dialogues with manually annotated
|
|
|
26 |
summaries.
|
|
|
27 |
There are two features:
|
|
|
28 |
- dialogue: text of dialogue.
|
|
|
29 |
- summary: human written summary of the dialogue.
|
|
|
30 |
- topic: one liner summary of the dialogue.
|
|
|
31 |
- id: id of a example.
|
|
|
32 |
"""
|
|
|
|
|
|
|
33 |
_HOMEPAGE = "hhttps://aclanthology.org/2021.findings-acl.449"
|
|
|
|
|
|
|
34 |
_LICENSE = "CC BY-NC-ND 4.0"
|
|
|
|
|
|
|
35 |
_URL = "https://huggingface.co/datasets/knkarthick/dialogsum_reformat/tree/main/"
|
|
|
|
|
36 |
#_URL = "https://huggingface.co/datasets/knkarthick/dialogsum_reformat/resolve/main/"
|
|
|
|
|
37 |
_URLS = {
|
38 |
"train": _URL + "train.json",
|
39 |
"test": _URL + "test.json",
|