sanket03 commited on
Commit
35b943e
1 Parent(s): d2c2cf3

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +257 -73
README.md CHANGED
@@ -1,75 +1,259 @@
1
  ---
2
- license: mit
3
- dataset_info:
4
- features:
5
- - name: text
6
- dtype: string
7
- id: field
8
- - name: sentiment
9
- list:
10
- - name: user_id
11
- dtype: string
12
- id: question
13
- - name: value
14
- dtype: string
15
- id: suggestion
16
- - name: status
17
- dtype: string
18
- id: question
19
- - name: sentiment-suggestion
20
- dtype: string
21
- id: suggestion
22
- - name: sentiment-suggestion-metadata
23
- struct:
24
- - name: type
25
- dtype: string
26
- id: suggestion-metadata
27
- - name: score
28
- dtype: float32
29
- id: suggestion-metadata
30
- - name: agent
31
- dtype: string
32
- id: suggestion-metadata
33
- - name: mixed-emotion
34
- list:
35
- - name: user_id
36
- dtype: string
37
- id: question
38
- - name: value
39
- sequence: string
40
- id: suggestion
41
- - name: status
42
- dtype: string
43
- id: question
44
- - name: mixed-emotion-suggestion
45
- sequence: string
46
- id: suggestion
47
- - name: mixed-emotion-suggestion-metadata
48
- struct:
49
- - name: type
50
- dtype: string
51
- id: suggestion-metadata
52
- - name: score
53
- dtype: float32
54
- id: suggestion-metadata
55
- - name: agent
56
- dtype: string
57
- id: suggestion-metadata
58
- - name: external_id
59
- dtype: string
60
- id: external_id
61
- - name: metadata
62
- dtype: string
63
- id: metadata
64
- splits:
65
- - name: train
66
- num_bytes: 218
67
- num_examples: 1
68
- download_size: 10468
69
- dataset_size: 218
70
- configs:
71
- - config_name: default
72
- data_files:
73
- - split: train
74
- path: data/train-*
75
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ size_categories: n<1K
3
+ tags:
4
+ - rlfh
5
+ - argilla
6
+ - human-feedback
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  ---
8
+
9
+ # Dataset Card for emotion-custom
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("sanket03/emotion-custom")
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("sanket03/emotion-custom")
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 | 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
+ | sentiment | Sentiment | label_selection | True | N/A | ['positive', 'neutral', 'negative'] |
81
+ | mixed-emotion | Mixed-emotion | multi_label_selection | True | N/A | ['joy', 'anger', 'sadness', 'fear', 'surprise', 'love'] |
82
+
83
+
84
+ 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".
85
+
86
+ 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`.
87
+
88
+
89
+
90
+ | Metadata Name | Title | Type | Values | Visible for Annotators |
91
+ | ------------- | ----- | ---- | ------ | ---------------------- |
92
+
93
+
94
+ 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.
95
+
96
+ ### Data Instances
97
+
98
+ An example of a dataset instance in Argilla looks as follows:
99
+
100
+ ```json
101
+ {
102
+ "external_id": null,
103
+ "fields": {
104
+ "text": "i didnt feel humiliated"
105
+ },
106
+ "metadata": {},
107
+ "responses": [
108
+ {
109
+ "status": "submitted",
110
+ "user_id": "7fae6907-6416-499b-a79e-47d98e315dd4",
111
+ "values": {
112
+ "mixed-emotion": {
113
+ "value": [
114
+ "sadness"
115
+ ]
116
+ },
117
+ "sentiment": {
118
+ "value": "neutral"
119
+ }
120
+ }
121
+ }
122
+ ],
123
+ "suggestions": [],
124
+ "vectors": {}
125
+ }
126
+ ```
127
+
128
+ While the same record in HuggingFace `datasets` looks as follows:
129
+
130
+ ```json
131
+ {
132
+ "external_id": null,
133
+ "metadata": "{}",
134
+ "mixed-emotion": [
135
+ {
136
+ "status": "submitted",
137
+ "user_id": "7fae6907-6416-499b-a79e-47d98e315dd4",
138
+ "value": [
139
+ "sadness"
140
+ ]
141
+ }
142
+ ],
143
+ "mixed-emotion-suggestion": null,
144
+ "mixed-emotion-suggestion-metadata": {
145
+ "agent": null,
146
+ "score": null,
147
+ "type": null
148
+ },
149
+ "sentiment": [
150
+ {
151
+ "status": "submitted",
152
+ "user_id": "7fae6907-6416-499b-a79e-47d98e315dd4",
153
+ "value": "neutral"
154
+ }
155
+ ],
156
+ "sentiment-suggestion": null,
157
+ "sentiment-suggestion-metadata": {
158
+ "agent": null,
159
+ "score": null,
160
+ "type": null
161
+ },
162
+ "text": "i didnt feel humiliated"
163
+ }
164
+ ```
165
+
166
+ ### Data Fields
167
+
168
+ Among the dataset fields, we differentiate between the following:
169
+
170
+ * **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.
171
+
172
+ * **text** is of type `text`.
173
+
174
+ * **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`.
175
+
176
+ * **sentiment** is of type `label_selection` with the following allowed values ['positive', 'neutral', 'negative'].
177
+ * **mixed-emotion** is of type `multi_label_selection` with the following allowed values ['joy', 'anger', 'sadness', 'fear', 'surprise', 'love'].
178
+
179
+ * **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.
180
+
181
+ * (optional) **sentiment-suggestion** is of type `label_selection` with the following allowed values ['positive', 'neutral', 'negative'].
182
+ * (optional) **mixed-emotion-suggestion** is of type `multi_label_selection` with the following allowed values ['joy', 'anger', 'sadness', 'fear', 'surprise', 'love'].
183
+
184
+
185
+
186
+ Additionally, we also have two more fields that are optional and are the following:
187
+
188
+ * **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`.
189
+ * **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.
190
+
191
+ ### Data Splits
192
+
193
+ The dataset contains a single split, which is `train`.
194
+
195
+ ## Dataset Creation
196
+
197
+ ### Curation Rationale
198
+
199
+ [More Information Needed]
200
+
201
+ ### Source Data
202
+
203
+ #### Initial Data Collection and Normalization
204
+
205
+ [More Information Needed]
206
+
207
+ #### Who are the source language producers?
208
+
209
+ [More Information Needed]
210
+
211
+ ### Annotations
212
+
213
+ #### Annotation guidelines
214
+
215
+ Emotion is a dataset of English Twitter messages with six basic emotions: anger, fear, joy, love, sadness, and surprise.
216
+
217
+ #### Annotation process
218
+
219
+ [More Information Needed]
220
+
221
+ #### Who are the annotators?
222
+
223
+ [More Information Needed]
224
+
225
+ ### Personal and Sensitive Information
226
+
227
+ [More Information Needed]
228
+
229
+ ## Considerations for Using the Data
230
+
231
+ ### Social Impact of Dataset
232
+
233
+ [More Information Needed]
234
+
235
+ ### Discussion of Biases
236
+
237
+ [More Information Needed]
238
+
239
+ ### Other Known Limitations
240
+
241
+ [More Information Needed]
242
+
243
+ ## Additional Information
244
+
245
+ ### Dataset Curators
246
+
247
+ [More Information Needed]
248
+
249
+ ### Licensing Information
250
+
251
+ [More Information Needed]
252
+
253
+ ### Citation Information
254
+
255
+ [More Information Needed]
256
+
257
+ ### Contributions
258
+
259
+ [More Information Needed]