plaguss HF staff commited on
Commit
a556fb1
1 Parent(s): 5a61484

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +327 -49
README.md CHANGED
@@ -1,52 +1,330 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: text
5
- dtype: string
6
- id: field
7
- - name: label
8
- list:
9
- - name: user_id
10
- dtype: string
11
- id: question
12
- - name: value
13
- sequence: string
14
- id: suggestion
15
- - name: status
16
- dtype: string
17
- id: question
18
- - name: label-suggestion
19
- sequence: string
20
- id: suggestion
21
- - name: label-suggestion-metadata
22
- struct:
23
- - name: type
24
- dtype: string
25
- id: suggestion-metadata
26
- - name: score
27
- dtype: float32
28
- id: suggestion-metadata
29
- - name: agent
30
- dtype: string
31
- id: suggestion-metadata
32
- - name: external_id
33
- dtype: string
34
- id: external_id
35
- - name: metadata
36
- dtype: string
37
- id: metadata
38
- splits:
39
- - name: train
40
- num_bytes: 20477874
41
- num_examples: 53990
42
- download_size: 3340670
43
- dataset_size: 20477874
44
- configs:
45
- - config_name: default
46
- data_files:
47
- - split: train
48
- path: data/train-*
49
  ---
50
- # Dataset Card for "go_emotions_raw"
51
 
52
- [More Information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ size_categories: 10K<n<100K
3
+ tags:
4
+ - rlfh
5
+ - argilla
6
+ - human-feedback
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  ---
 
8
 
9
+ # Dataset Card for go_emotions_raw
10
+
11
+ This dataset has been created with [Argilla](https://docs.argilla.io).
12
+
13
+ As shown in the sections below, this dataset can be loaded into Argilla as explained in [Load with Argilla](#load-with-argilla), or used directly with the `datasets` library in [Load with `datasets`](#load-with-datasets).
14
+
15
+ ## Dataset Description
16
+
17
+ - **Homepage:** https://argilla.io
18
+ - **Repository:** https://github.com/argilla-io/argilla
19
+ - **Paper:**
20
+ - **Leaderboard:**
21
+ - **Point of Contact:**
22
+
23
+ ### Dataset Summary
24
+
25
+ This dataset contains:
26
+
27
+ * A dataset configuration file conforming to the Argilla dataset format named `argilla.yaml`. This configuration file will be used to configure the dataset when using the `FeedbackDataset.from_huggingface` method in Argilla.
28
+
29
+ * Dataset records in a format compatible with HuggingFace `datasets`. These records will be loaded automatically when using `FeedbackDataset.from_huggingface` and can be loaded independently using the `datasets` library via `load_dataset`.
30
+
31
+ * The [annotation guidelines](#annotation-guidelines) that have been used for building and curating the dataset, if they've been defined in Argilla.
32
+
33
+ ### Load with Argilla
34
+
35
+ To load with Argilla, you'll just need to install Argilla as `pip install argilla --upgrade` and then use the following code:
36
+
37
+ ```python
38
+ import argilla as rg
39
+
40
+ ds = rg.FeedbackDataset.from_huggingface("argilla/go_emotions_raw")
41
+ ```
42
+
43
+ ### Load with `datasets`
44
+
45
+ To load this dataset with `datasets`, you'll just need to install `datasets` as `pip install datasets --upgrade` and then use the following code:
46
+
47
+ ```python
48
+ from datasets import load_dataset
49
+
50
+ ds = load_dataset("argilla/go_emotions_raw")
51
+ ```
52
+
53
+ ### Supported Tasks and Leaderboards
54
+
55
+ This dataset can contain [multiple fields, questions and responses](https://docs.argilla.io/en/latest/conceptual_guides/data_model.html#feedback-dataset) so it can be used for different NLP tasks, depending on the configuration. The dataset structure is described in the [Dataset Structure section](#dataset-structure).
56
+
57
+ There are no leaderboards associated with this dataset.
58
+
59
+ ### Languages
60
+
61
+ [More Information Needed]
62
+
63
+ ## Dataset Structure
64
+
65
+ ### Data in Argilla
66
+
67
+ The dataset is created in Argilla with: **fields**, **questions**, **suggestions**, **metadata**, **vectors**, and **guidelines**.
68
+
69
+ The **fields** are the dataset records themselves, for the moment just text fields are supported. These are the ones that will be used to provide responses to the questions.
70
+
71
+ | Field Name | Title | Type | Required | Markdown |
72
+ | ---------- | ----- | ---- | -------- | -------- |
73
+ | text | Text | FieldTypes.text | True | False |
74
+
75
+
76
+ The **questions** are the questions that will be asked to the annotators. They can be of different types, such as rating, text, label_selection, multi_label_selection, or ranking.
77
+
78
+ | Question Name | Title | Type | Required | Description | Values/Labels |
79
+ | ------------- | ----- | ---- | -------- | ----------- | ------------- |
80
+ | label | Label | QuestionTypes.multi_label_selection | True | Classify the text by selecting the correct label from the given list of labels. | ['admiration', 'amusement', 'anger', 'annoyance', 'approval', 'caring', 'confusion', 'curiosity', 'desire', 'disappointment', 'disapproval', 'disgust', 'embarrassment', 'excitement', 'fear', 'gratitude', 'grief', 'joy', 'love', 'nervousness', 'optimism', 'pride', 'realization', 'relief', 'remorse', 'sadness', 'surprise', 'neutral'] |
81
+
82
+
83
+ The **suggestions** are human or machine generated recommendations for each question to assist the annotator during the annotation process, so those are always linked to the existing questions, and named appending "-suggestion" and "-suggestion-metadata" to those, containing the value/s of the suggestion and its metadata, respectively. So on, the possible values are the same as in the table above, but the column name is appended with "-suggestion" and the metadata is appended with "-suggestion-metadata".
84
+
85
+ The **metadata** is a dictionary that can be used to provide additional information about the dataset record. This can be useful to provide additional context to the annotators, or to provide additional information about the dataset record itself. For example, you can use this to provide a link to the original source of the dataset record, or to provide additional information about the dataset record itself, such as the author, the date, or the source. The metadata is always optional, and can be potentially linked to the `metadata_properties` defined in the dataset configuration file in `argilla.yaml`.
86
+
87
+
88
+
89
+ | Metadata Name | Title | Type | Values | Visible for Annotators |
90
+ | ------------- | ----- | ---- | ------ | ---------------------- |
91
+
92
+
93
+ The **guidelines**, are optional as well, and are just a plain string that can be used to provide instructions to the annotators. Find those in the [annotation guidelines](#annotation-guidelines) section.
94
+
95
+ ### Data Instances
96
+
97
+ An example of a dataset instance in Argilla looks as follows:
98
+
99
+ ```json
100
+ {
101
+ "external_id": null,
102
+ "fields": {
103
+ "text": " \"If you don\u0027t wear BROWN AND ORANGE...YOU DON\u0027T MATTER!\" We need a tshirt with that on it asap! "
104
+ },
105
+ "metadata": {},
106
+ "responses": [
107
+ {
108
+ "status": "submitted",
109
+ "user_id": "00000000-0000-0000-0000-000000000001",
110
+ "values": {
111
+ "label": {
112
+ "value": [
113
+ "neutral"
114
+ ]
115
+ }
116
+ }
117
+ },
118
+ {
119
+ "status": "submitted",
120
+ "user_id": "00000000-0000-0000-0000-000000000016",
121
+ "values": {
122
+ "label": {
123
+ "value": [
124
+ "anger",
125
+ "annoyance",
126
+ "optimism"
127
+ ]
128
+ }
129
+ }
130
+ },
131
+ {
132
+ "status": "submitted",
133
+ "user_id": "00000000-0000-0000-0000-000000000028",
134
+ "values": {
135
+ "label": {
136
+ "value": [
137
+ "approval"
138
+ ]
139
+ }
140
+ }
141
+ },
142
+ {
143
+ "status": "submitted",
144
+ "user_id": "00000000-0000-0000-0000-000000000039",
145
+ "values": {
146
+ "label": {
147
+ "value": [
148
+ "neutral"
149
+ ]
150
+ }
151
+ }
152
+ },
153
+ {
154
+ "status": "submitted",
155
+ "user_id": "00000000-0000-0000-0000-000000000048",
156
+ "values": {
157
+ "label": {
158
+ "value": [
159
+ "annoyance"
160
+ ]
161
+ }
162
+ }
163
+ }
164
+ ],
165
+ "suggestions": [
166
+ {
167
+ "agent": null,
168
+ "question_name": "label",
169
+ "score": null,
170
+ "type": "human",
171
+ "value": [
172
+ "annoyance",
173
+ "neutral"
174
+ ]
175
+ }
176
+ ],
177
+ "vectors": {}
178
+ }
179
+ ```
180
+
181
+ While the same record in HuggingFace `datasets` looks as follows:
182
+
183
+ ```json
184
+ {
185
+ "external_id": null,
186
+ "label": [
187
+ {
188
+ "status": "submitted",
189
+ "user_id": "00000000-0000-0000-0000-000000000001",
190
+ "value": [
191
+ "neutral"
192
+ ]
193
+ },
194
+ {
195
+ "status": "submitted",
196
+ "user_id": "00000000-0000-0000-0000-000000000016",
197
+ "value": [
198
+ "anger",
199
+ "annoyance",
200
+ "optimism"
201
+ ]
202
+ },
203
+ {
204
+ "status": "submitted",
205
+ "user_id": "00000000-0000-0000-0000-000000000028",
206
+ "value": [
207
+ "approval"
208
+ ]
209
+ },
210
+ {
211
+ "status": "submitted",
212
+ "user_id": "00000000-0000-0000-0000-000000000039",
213
+ "value": [
214
+ "neutral"
215
+ ]
216
+ },
217
+ {
218
+ "status": "submitted",
219
+ "user_id": "00000000-0000-0000-0000-000000000048",
220
+ "value": [
221
+ "annoyance"
222
+ ]
223
+ }
224
+ ],
225
+ "label-suggestion": [
226
+ "annoyance",
227
+ "neutral"
228
+ ],
229
+ "label-suggestion-metadata": {
230
+ "agent": null,
231
+ "score": null,
232
+ "type": "human"
233
+ },
234
+ "metadata": "{}",
235
+ "text": " \"If you don\u0027t wear BROWN AND ORANGE...YOU DON\u0027T MATTER!\" We need a tshirt with that on it asap! "
236
+ }
237
+ ```
238
+
239
+ ### Data Fields
240
+
241
+ Among the dataset fields, we differentiate between the following:
242
+
243
+ * **Fields:** These are the dataset records themselves, for the moment just text fields are supported. These are the ones that will be used to provide responses to the questions.
244
+
245
+ * **text** is of type `FieldTypes.text`.
246
+
247
+ * **Questions:** These are the questions that will be asked to the annotators. They can be of different types, such as `RatingQuestion`, `TextQuestion`, `LabelQuestion`, `MultiLabelQuestion`, and `RankingQuestion`.
248
+
249
+ * **label** is of type `QuestionTypes.multi_label_selection` with the following allowed values ['admiration', 'amusement', 'anger', 'annoyance', 'approval', 'caring', 'confusion', 'curiosity', 'desire', 'disappointment', 'disapproval', 'disgust', 'embarrassment', 'excitement', 'fear', 'gratitude', 'grief', 'joy', 'love', 'nervousness', 'optimism', 'pride', 'realization', 'relief', 'remorse', 'sadness', 'surprise', 'neutral'], and description "Classify the text by selecting the correct label from the given list of labels.".
250
+
251
+ * **Suggestions:** As of Argilla 1.13.0, the suggestions have been included to provide the annotators with suggestions to ease or assist during the annotation process. Suggestions are linked to the existing questions, are always optional, and contain not just the suggestion itself, but also the metadata linked to it, if applicable.
252
+
253
+ * (optional) **label-suggestion** is of type `QuestionTypes.multi_label_selection` with the following allowed values ['admiration', 'amusement', 'anger', 'annoyance', 'approval', 'caring', 'confusion', 'curiosity', 'desire', 'disappointment', 'disapproval', 'disgust', 'embarrassment', 'excitement', 'fear', 'gratitude', 'grief', 'joy', 'love', 'nervousness', 'optimism', 'pride', 'realization', 'relief', 'remorse', 'sadness', 'surprise', 'neutral'].
254
+
255
+
256
+
257
+ Additionally, we also have two more fields that are optional and are the following:
258
+
259
+ * **metadata:** This is an optional field that can be used to provide additional information about the dataset record. This can be useful to provide additional context to the annotators, or to provide additional information about the dataset record itself. For example, you can use this to provide a link to the original source of the dataset record, or to provide additional information about the dataset record itself, such as the author, the date, or the source. The metadata is always optional, and can be potentially linked to the `metadata_properties` defined in the dataset configuration file in `argilla.yaml`.
260
+ * **external_id:** This is an optional field that can be used to provide an external ID for the dataset record. This can be useful if you want to link the dataset record to an external resource, such as a database or a file.
261
+
262
+ ### Data Splits
263
+
264
+ The dataset contains a single split, which is `train`.
265
+
266
+ ## Dataset Creation
267
+
268
+ ### Curation Rationale
269
+
270
+ [More Information Needed]
271
+
272
+ ### Source Data
273
+
274
+ #### Initial Data Collection and Normalization
275
+
276
+ [More Information Needed]
277
+
278
+ #### Who are the source language producers?
279
+
280
+ [More Information Needed]
281
+
282
+ ### Annotations
283
+
284
+ #### Annotation guidelines
285
+
286
+ This is a text classification dataset that contains texts and labels. Given a set of texts and a predefined set of labels, the goal of text classification is to assign one or more labels to each text based on its content. Please classify the texts by making the correct selection.
287
+
288
+ #### Annotation process
289
+
290
+ [More Information Needed]
291
+
292
+ #### Who are the annotators?
293
+
294
+ [More Information Needed]
295
+
296
+ ### Personal and Sensitive Information
297
+
298
+ [More Information Needed]
299
+
300
+ ## Considerations for Using the Data
301
+
302
+ ### Social Impact of Dataset
303
+
304
+ [More Information Needed]
305
+
306
+ ### Discussion of Biases
307
+
308
+ [More Information Needed]
309
+
310
+ ### Other Known Limitations
311
+
312
+ [More Information Needed]
313
+
314
+ ## Additional Information
315
+
316
+ ### Dataset Curators
317
+
318
+ [More Information Needed]
319
+
320
+ ### Licensing Information
321
+
322
+ [More Information Needed]
323
+
324
+ ### Citation Information
325
+
326
+ [More Information Needed]
327
+
328
+ ### Contributions
329
+
330
+ [More Information Needed]