Jackson428 commited on
Commit
dac11da
1 Parent(s): c9ea78a

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +243 -74
README.md CHANGED
@@ -1,77 +1,246 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: text
5
- dtype: string
6
- id: field
7
- - name: sentiment
8
- list:
9
- - name: user_id
10
- dtype: string
11
- id: question
12
- - name: value
13
- dtype: string
14
- id: suggestion
15
- - name: status
16
- dtype: string
17
- id: question
18
- - name: sentiment-suggestion
19
- dtype: string
20
- id: suggestion
21
- - name: sentiment-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: mixed-emotion
33
- list:
34
- - name: user_id
35
- dtype: string
36
- id: question
37
- - name: value
38
- sequence: string
39
- id: suggestion
40
- - name: status
41
- dtype: string
42
- id: question
43
- - name: mixed-emotion-suggestion
44
- sequence: string
45
- id: suggestion
46
- - name: mixed-emotion-suggestion-metadata
47
- struct:
48
- - name: type
49
- dtype: string
50
- id: suggestion-metadata
51
- - name: score
52
- dtype: float32
53
- id: suggestion-metadata
54
- - name: agent
55
- dtype: string
56
- id: suggestion-metadata
57
- - name: external_id
58
- dtype: string
59
- id: external_id
60
- - name: metadata
61
- dtype: string
62
- id: metadata
63
- splits:
64
- - name: train
65
- num_bytes: 220
66
- num_examples: 1
67
- download_size: 10481
68
- dataset_size: 220
69
- configs:
70
- - config_name: default
71
- data_files:
72
- - split: train
73
- path: data/train-*
74
  ---
75
- # Dataset Card for "emotion-c"
76
 
77
- [More Information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ size_categories: n<1K
3
+ tags:
4
+ - rlfh
5
+ - argilla
6
+ - human-feedback
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  ---
 
8
 
9
+ # Dataset Card for emotion-c
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("Jackson428/emotion-c")
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("Jackson428/emotion-c")
51
+ ```
52
+
53
+ ### Supported Tasks and Leaderboards
54
+
55
+ This dataset can contain [multiple fields, questions and responses](https://docs.argilla.io/en/latest/guides/llms/conceptual_guides/data_model.html) 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**, and **guidelines**.
68
+
69
+ The **fields** are the dataset records themselves, for the moment just text fields are suppported. 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 | TextField | 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, single choice, or multiple choice.
77
+
78
+ | Question Name | Title | Type | Required | Description | Values/Labels |
79
+ | ------------- | ----- | ---- | -------- | ----------- | ------------- |
80
+ | sentiment | Sentiment | LabelQuestion | True | N/A | ['positive', 'neutral', 'negative'] |
81
+ | mixed-emotion | Mixed-emotion | MultiLabelQuestion | True | N/A | ['joy', 'anger', 'sadness', 'fear', 'surprise', 'love'] |
82
+
83
+
84
+ **✨ NEW** Additionally, we also have **suggestions**, which are linked to the existing questions, and so on, 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.
85
+
86
+ Finally, the **guidelines** are just a plain string that can be used to provide instructions to the annotators. Find those in the [annotation guidelines](#annotation-guidelines) section.
87
+
88
+ ### Data Instances
89
+
90
+ An example of a dataset instance in Argilla looks as follows:
91
+
92
+ ```json
93
+ {
94
+ "fields": {
95
+ "text": "i didnt feel humiliated"
96
+ },
97
+ "metadata": {},
98
+ "responses": [
99
+ {
100
+ "status": "submitted",
101
+ "user_id": "041dc67d-3cf4-44b0-9f60-818a63bfbb52",
102
+ "values": {
103
+ "mixed-emotion": {
104
+ "value": [
105
+ "surprise"
106
+ ]
107
+ },
108
+ "sentiment": {
109
+ "value": "positive"
110
+ }
111
+ }
112
+ }
113
+ ],
114
+ "suggestions": []
115
+ }
116
+ ```
117
+
118
+ While the same record in HuggingFace `datasets` looks as follows:
119
+
120
+ ```json
121
+ {
122
+ "external_id": null,
123
+ "metadata": "{}",
124
+ "mixed-emotion": [
125
+ {
126
+ "status": "submitted",
127
+ "user_id": "041dc67d-3cf4-44b0-9f60-818a63bfbb52",
128
+ "value": [
129
+ "surprise"
130
+ ]
131
+ }
132
+ ],
133
+ "mixed-emotion-suggestion": null,
134
+ "mixed-emotion-suggestion-metadata": {
135
+ "agent": null,
136
+ "score": null,
137
+ "type": null
138
+ },
139
+ "sentiment": [
140
+ {
141
+ "status": "submitted",
142
+ "user_id": "041dc67d-3cf4-44b0-9f60-818a63bfbb52",
143
+ "value": "positive"
144
+ }
145
+ ],
146
+ "sentiment-suggestion": null,
147
+ "sentiment-suggestion-metadata": {
148
+ "agent": null,
149
+ "score": null,
150
+ "type": null
151
+ },
152
+ "text": "i didnt feel humiliated"
153
+ }
154
+ ```
155
+
156
+ ### Data Fields
157
+
158
+ Among the dataset fields, we differentiate between the following:
159
+
160
+ * **Fields:** These are the dataset records themselves, for the moment just text fields are suppported. These are the ones that will be used to provide responses to the questions.
161
+
162
+ * **text** is of type `TextField`.
163
+
164
+ * **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`.
165
+
166
+ * **sentiment** is of type `LabelQuestion` with the following allowed values ['positive', 'neutral', 'negative'].
167
+ * **mixed-emotion** is of type `MultiLabelQuestion` with the following allowed values ['joy', 'anger', 'sadness', 'fear', 'surprise', 'love'].
168
+
169
+ * **✨ NEW** **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.
170
+
171
+ * (optional) **sentiment-suggestion** is of type `label_selection` with the following allowed values ['positive', 'neutral', 'negative'].
172
+ * (optional) **mixed-emotion-suggestion** is of type `multi_label_selection` with the following allowed values ['joy', 'anger', 'sadness', 'fear', 'surprise', 'love'].
173
+
174
+ Additionally, we also have one more field which is optional and is the following:
175
+
176
+ * **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.
177
+
178
+ ### Data Splits
179
+
180
+ The dataset contains a single split, which is `train`.
181
+
182
+ ## Dataset Creation
183
+
184
+ ### Curation Rationale
185
+
186
+ [More Information Needed]
187
+
188
+ ### Source Data
189
+
190
+ #### Initial Data Collection and Normalization
191
+
192
+ [More Information Needed]
193
+
194
+ #### Who are the source language producers?
195
+
196
+ [More Information Needed]
197
+
198
+ ### Annotations
199
+
200
+ #### Annotation guidelines
201
+
202
+ Emotion is a dataset of English Twitter messages with six basic emotions: anger, fear, joy, love, sadness, and surprise.
203
+
204
+ #### Annotation process
205
+
206
+ [More Information Needed]
207
+
208
+ #### Who are the annotators?
209
+
210
+ [More Information Needed]
211
+
212
+ ### Personal and Sensitive Information
213
+
214
+ [More Information Needed]
215
+
216
+ ## Considerations for Using the Data
217
+
218
+ ### Social Impact of Dataset
219
+
220
+ [More Information Needed]
221
+
222
+ ### Discussion of Biases
223
+
224
+ [More Information Needed]
225
+
226
+ ### Other Known Limitations
227
+
228
+ [More Information Needed]
229
+
230
+ ## Additional Information
231
+
232
+ ### Dataset Curators
233
+
234
+ [More Information Needed]
235
+
236
+ ### Licensing Information
237
+
238
+ [More Information Needed]
239
+
240
+ ### Citation Information
241
+
242
+ [More Information Needed]
243
+
244
+ ### Contributions
245
+
246
+ [More Information Needed]