achinthani commited on
Commit
924b501
1 Parent(s): 8ae2a79

Upload README.md with huggingface_hub

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