Datasets:

Modalities:
Text
Sub-tasks:
fact-checking
ArXiv:
Libraries:
Datasets
License:
mkon commited on
Commit
9254052
1 Parent(s): b1a7e5f

README update

Browse files
Files changed (3) hide show
  1. README.md +125 -1
  2. dataset_infos.json +1 -1
  3. x_stance.py +1 -1
README.md CHANGED
@@ -21,16 +21,140 @@ task_ids:
21
  - text-classification-other-stance-detection
22
  ---
23
 
24
- # Dataset Card for "x-stance"
25
 
26
  ## Table of Contents
 
27
  - [Dataset Description](#dataset-description)
28
  - [Dataset Summary](#dataset-summary)
 
 
29
  - [Dataset Structure](#dataset-structure)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
 
31
  ## Dataset Description
32
 
 
 
 
 
33
  ### Dataset Summary
34
 
 
 
 
 
 
 
35
  ## Dataset Structure
36
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  - text-classification-other-stance-detection
22
  ---
23
 
24
+ # Dataset Card for X-Stance
25
 
26
  ## Table of Contents
27
+ - [Table of Contents](#table-of-contents)
28
  - [Dataset Description](#dataset-description)
29
  - [Dataset Summary](#dataset-summary)
30
+ - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
31
+ - [Languages](#languages)
32
  - [Dataset Structure](#dataset-structure)
33
+ - [Data Instances](#data-instances)
34
+ - [Data Fields](#data-fields)
35
+ - [Data Splits](#data-splits)
36
+ - [Dataset Creation](#dataset-creation)
37
+ - [Curation Rationale](#curation-rationale)
38
+ - [Source Data](#source-data)
39
+ - [Annotations](#annotations)
40
+ - [Personal and Sensitive Information](#personal-and-sensitive-information)
41
+ - [Considerations for Using the Data](#considerations-for-using-the-data)
42
+ - [Social Impact of Dataset](#social-impact-of-dataset)
43
+ - [Discussion of Biases](#discussion-of-biases)
44
+ - [Other Known Limitations](#other-known-limitations)
45
+ - [Additional Information](#additional-information)
46
+ - [Dataset Curators](#dataset-curators)
47
+ - [Licensing Information](#licensing-information)
48
+ - [Citation Information](#citation-information)
49
+ - [Contributions](#contributions)
50
 
51
  ## Dataset Description
52
 
53
+ - **Repository:** [https://github.com/ZurichNLP/xstance](https://github.com/ZurichNLP/xstance)
54
+ - **Paper:** [http://ceur-ws.org/Vol-2624/paper9.pdf](http://ceur-ws.org/Vol-2624/paper9.pdf)
55
+ - **Point of Contact:**
56
+
57
  ### Dataset Summary
58
 
59
+ The x-stance dataset contains more than 150 political questions, and 67k comments written by candidates on those questions. The comments are partly German, partly French and Italian. The data have been extracted from the Swiss voting advice platform Smartvote.
60
+
61
+ ### Languages
62
+
63
+ German, French/Italian
64
+
65
  ## Dataset Structure
66
 
67
+ ### Data Instances
68
+
69
+ ```
70
+ {
71
+ 'id': '0',
72
+ 'question': 'Eine Volksinitiative fordert, dass die Gesamtfläche der Bauzonen in der Schweiz für die nächsten 20 Jahre auf dem heutigen Stand begrenzt wird. Befürworten Sie dieses Anliegen?',
73
+ 'comment': 'Eine fixe Grösse verbieten, ist das falsche Mittel', '
74
+ label': 0
75
+ }
76
+ ```
77
+
78
+ ### Data Fields
79
+
80
+ - `id`: a 'string' feature.
81
+ - `question`: a 'string' expressing a claim/topic.
82
+ - `comment`: a 'string' to be classified for its stance to the source.
83
+ - `label`:
84
+ ```
85
+ 0: "AGAINST",
86
+ 1: "FAVOR"
87
+ ```
88
+
89
+ ### Data Splits
90
+
91
+ |languages|name|instances|
92
+ |---------|----|----:|
93
+ |de|train|33850|
94
+ |de|validation|2871|
95
+ |de|test|11891|
96
+ |fr|train|11790|
97
+ |fr|validation|1055|
98
+ |fr|test|5814|
99
+
100
+ ## Dataset Creation
101
+
102
+ ### Curation Rationale
103
+
104
+ [More Information Needed]
105
+
106
+ ### Source Data
107
+
108
+ #### Initial Data Collection and Normalization
109
+
110
+ [More Information Needed]
111
+
112
+ #### Who are the source language producers?
113
+
114
+ [More Information Needed]
115
+
116
+ ### Annotations
117
+
118
+ #### Annotation process
119
+
120
+ [More Information Needed]
121
+
122
+ #### Who are the annotators?
123
+
124
+ [More Information Needed]
125
+
126
+ ### Personal and Sensitive Information
127
+
128
+ [More Information Needed]
129
+
130
+ ## Considerations for Using the Data
131
+
132
+ ### Social Impact of Dataset
133
+
134
+ [More Information Needed]
135
+
136
+ ### Discussion of Biases
137
+
138
+ [More Information Needed]
139
+
140
+ ### Other Known Limitations
141
+
142
+ [More Information Needed]
143
+
144
+ ## Additional Information
145
+
146
+ ### Dataset Curators
147
+
148
+ [More Information Needed]
149
+
150
+ ### Licensing Information
151
+
152
+ [More Information Needed]
153
+
154
+ ### Citation Information
155
+
156
+ [More Information Needed]
157
+
158
+ ### Contributions
159
+
160
+ Thanks to [@github-username](https://github.com/<github-username>) for adding this dataset.
dataset_infos.json CHANGED
@@ -1 +1 @@
1
- {"de": {"description": "The x-stance dataset contains more than 150 political questions, and 67k comments written by candidates on those questions. The comments are partly German, partly French and Italian. The data have been extracted from the Swiss voting advice platform Smartvote.\n", "citation": "@inproceedings{vamvas2020xstance,\n author = \"Vamvas, Jannis and Sennrich, Rico\",\n title = \"{X-Stance}: A Multilingual Multi-Target Dataset for Stance Detection\",\n booktitle = \"Proceedings of the 5th Swiss Text Analytics Conference (SwissText) \\& 16th Conference on Natural Language Processing (KONVENS)\",\n address = \"Zurich, Switzerland\",\n year = \"2020\",\n month = \"jun\",\n url = \"http://ceur-ws.org/Vol-2624/paper9.pdf\"\n}\n", "homepage": "", "license": "cc-by-4.0", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "question": {"dtype": "string", "id": null, "_type": "Value"}, "comment": {"dtype": "string", "id": null, "_type": "Value"}, "label": {"num_classes": 2, "names": ["FAVOR", "AGAINST"], "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "x_stance", "config_name": "de", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 11290213, "num_examples": 33850, "dataset_name": "x_stance"}, "validation": {"name": "validation", "num_bytes": 954346, "num_examples": 2871, "dataset_name": "x_stance"}, "test": {"name": "test", "num_bytes": 3788752, "num_examples": 11891, "dataset_name": "x_stance"}}, "download_checksums": {"x-stance-train-de.csv": {"num_bytes": 11023000, "checksum": "74842e9dd186851c4b71b8da57987c92cca29a9c86acd99dc057e32e507976c8"}, "x-stance-valid-de.csv": {"num_bytes": 931688, "checksum": "99b81cca23ffe41b3f5d4576c293f0265dada74dd49368a251934712456c834c"}, "x-stance-test-de.csv": {"num_bytes": 3694416, "checksum": "9ce9fc600881a052fb48b6e58f2485b0d7a86a9fda23679574acf37426c9b478"}}, "download_size": 15649104, "post_processing_size": null, "dataset_size": 16033311, "size_in_bytes": 31682415}, "fr": {"description": "The x-stance dataset contains more than 150 political questions, and 67k comments written by candidates on those questions. The comments are partly German, partly French and Italian. The data have been extracted from the Swiss voting advice platform Smartvote.\n", "citation": "@inproceedings{vamvas2020xstance,\n author = \"Vamvas, Jannis and Sennrich, Rico\",\n title = \"{X-Stance}: A Multilingual Multi-Target Dataset for Stance Detection\",\n booktitle = \"Proceedings of the 5th Swiss Text Analytics Conference (SwissText) \\& 16th Conference on Natural Language Processing (KONVENS)\",\n address = \"Zurich, Switzerland\",\n year = \"2020\",\n month = \"jun\",\n url = \"http://ceur-ws.org/Vol-2624/paper9.pdf\"\n}\n", "homepage": "", "license": "cc-by-4.0", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "question": {"dtype": "string", "id": null, "_type": "Value"}, "comment": {"dtype": "string", "id": null, "_type": "Value"}, "label": {"num_classes": 2, "names": ["FAVOR", "AGAINST"], "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "x_stance", "config_name": "fr", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 4357694, "num_examples": 11790, "dataset_name": "x_stance"}, "validation": {"name": "validation", "num_bytes": 378539, "num_examples": 1055, "dataset_name": "x_stance"}, "test": {"name": "test", "num_bytes": 2035193, "num_examples": 5814, "dataset_name": "x_stance"}}, "download_checksums": {"x-stance-train-fr.csv": {"num_bytes": 4260329, "checksum": "01c3d47b3758263a0b1e07d9bb124d9fa91eeaaa44fb002a2f6a41a3e3d76c30"}, "x-stance-valid-fr.csv": {"num_bytes": 369863, "checksum": "5886d34e849610c565172f0d0138dac3d645ab9e34251c46af89f8a6756f6eef"}, "x-stance-test-fr.csv": {"num_bytes": 1986935, "checksum": "ce413cd614f6a345125d1f2d692a31f9c017c48bd1b741eb86c815f4da4444f0"}}, "download_size": 6617127, "post_processing_size": null, "dataset_size": 6771426, "size_in_bytes": 13388553}}
 
1
+ {"de": {"description": "The x-stance dataset contains more than 150 political questions, and 67k comments written by candidates on those questions. The comments are partly German, partly French and Italian. The data have been extracted from the Swiss voting advice platform Smartvote.\n", "citation": "@inproceedings{vamvas2020xstance,\n author = \"Vamvas, Jannis and Sennrich, Rico\",\n title = \"{X-Stance}: A Multilingual Multi-Target Dataset for Stance Detection\",\n booktitle = \"Proceedings of the 5th Swiss Text Analytics Conference (SwissText) \\& 16th Conference on Natural Language Processing (KONVENS)\",\n address = \"Zurich, Switzerland\",\n year = \"2020\",\n month = \"jun\",\n url = \"http://ceur-ws.org/Vol-2624/paper9.pdf\"\n}\n", "homepage": "", "license": "cc-by-4.0", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "question": {"dtype": "string", "id": null, "_type": "Value"}, "comment": {"dtype": "string", "id": null, "_type": "Value"}, "label": {"num_classes": 2, "names": ["AGAINST", "FAVOR"], "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "x_stance", "config_name": "de", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 11290213, "num_examples": 33850, "dataset_name": "x_stance"}, "validation": {"name": "validation", "num_bytes": 954346, "num_examples": 2871, "dataset_name": "x_stance"}, "test": {"name": "test", "num_bytes": 3788752, "num_examples": 11891, "dataset_name": "x_stance"}}, "download_checksums": {"x-stance-train-de.csv": {"num_bytes": 11023000, "checksum": "74842e9dd186851c4b71b8da57987c92cca29a9c86acd99dc057e32e507976c8"}, "x-stance-valid-de.csv": {"num_bytes": 931688, "checksum": "99b81cca23ffe41b3f5d4576c293f0265dada74dd49368a251934712456c834c"}, "x-stance-test-de.csv": {"num_bytes": 3694416, "checksum": "9ce9fc600881a052fb48b6e58f2485b0d7a86a9fda23679574acf37426c9b478"}}, "download_size": 15649104, "post_processing_size": null, "dataset_size": 16033311, "size_in_bytes": 31682415}, "fr": {"description": "The x-stance dataset contains more than 150 political questions, and 67k comments written by candidates on those questions. The comments are partly German, partly French and Italian. The data have been extracted from the Swiss voting advice platform Smartvote.\n", "citation": "@inproceedings{vamvas2020xstance,\n author = \"Vamvas, Jannis and Sennrich, Rico\",\n title = \"{X-Stance}: A Multilingual Multi-Target Dataset for Stance Detection\",\n booktitle = \"Proceedings of the 5th Swiss Text Analytics Conference (SwissText) \\& 16th Conference on Natural Language Processing (KONVENS)\",\n address = \"Zurich, Switzerland\",\n year = \"2020\",\n month = \"jun\",\n url = \"http://ceur-ws.org/Vol-2624/paper9.pdf\"\n}\n", "homepage": "", "license": "cc-by-4.0", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "question": {"dtype": "string", "id": null, "_type": "Value"}, "comment": {"dtype": "string", "id": null, "_type": "Value"}, "label": {"num_classes": 2, "names": ["AGAINST", "FAVOR"], "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "x_stance", "config_name": "fr", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 4357694, "num_examples": 11790, "dataset_name": "x_stance"}, "validation": {"name": "validation", "num_bytes": 378539, "num_examples": 1055, "dataset_name": "x_stance"}, "test": {"name": "test", "num_bytes": 2035193, "num_examples": 5814, "dataset_name": "x_stance"}}, "download_checksums": {"x-stance-train-fr.csv": {"num_bytes": 4260329, "checksum": "01c3d47b3758263a0b1e07d9bb124d9fa91eeaaa44fb002a2f6a41a3e3d76c30"}, "x-stance-valid-fr.csv": {"num_bytes": 369863, "checksum": "5886d34e849610c565172f0d0138dac3d645ab9e34251c46af89f8a6756f6eef"}, "x-stance-test-fr.csv": {"num_bytes": 1986935, "checksum": "ce413cd614f6a345125d1f2d692a31f9c017c48bd1b741eb86c815f4da4444f0"}}, "download_size": 6617127, "post_processing_size": null, "dataset_size": 6771426, "size_in_bytes": 13388553}}
x_stance.py CHANGED
@@ -63,8 +63,8 @@ class XStance(datasets.GeneratorBasedBuilder):
63
  "comment": datasets.Value("string"),
64
  "label": datasets.features.ClassLabel(
65
  names=[
66
- "FAVOR",
67
  "AGAINST",
 
68
  ]
69
  )
70
  }
 
63
  "comment": datasets.Value("string"),
64
  "label": datasets.features.ClassLabel(
65
  names=[
 
66
  "AGAINST",
67
+ "FAVOR",
68
  ]
69
  )
70
  }