davidberenstein1957 HF staff commited on
Commit
4bd1935
1 Parent(s): 391540b

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +34 -95
README.md CHANGED
@@ -4,78 +4,6 @@ tags:
4
  - rlfh
5
  - argilla
6
  - human-feedback
7
- dataset_info:
8
- features:
9
- - name: text
10
- dtype: string
11
- id: field
12
- - name: sentiment
13
- list:
14
- - name: user_id
15
- dtype: string
16
- id: question
17
- - name: value
18
- dtype: string
19
- id: suggestion
20
- - name: status
21
- dtype: string
22
- id: question
23
- - name: sentiment-suggestion
24
- dtype: string
25
- id: suggestion
26
- - name: sentiment-suggestion-metadata
27
- struct:
28
- - name: type
29
- dtype: string
30
- id: suggestion-metadata
31
- - name: score
32
- dtype: float32
33
- id: suggestion-metadata
34
- - name: agent
35
- dtype: string
36
- id: suggestion-metadata
37
- - name: mixed-emotion
38
- list:
39
- - name: user_id
40
- dtype: string
41
- id: question
42
- - name: value
43
- sequence: string
44
- id: suggestion
45
- - name: status
46
- dtype: string
47
- id: question
48
- - name: mixed-emotion-suggestion
49
- sequence: string
50
- id: suggestion
51
- - name: mixed-emotion-suggestion-metadata
52
- struct:
53
- - name: type
54
- dtype: string
55
- id: suggestion-metadata
56
- - name: score
57
- dtype: float32
58
- id: suggestion-metadata
59
- - name: agent
60
- dtype: string
61
- id: suggestion-metadata
62
- - name: external_id
63
- dtype: string
64
- id: external_id
65
- - name: metadata
66
- dtype: string
67
- id: metadata
68
- splits:
69
- - name: train
70
- num_bytes: 216
71
- num_examples: 1
72
- download_size: 10454
73
- dataset_size: 216
74
- configs:
75
- - config_name: default
76
- data_files:
77
- - split: train
78
- path: data/train-*
79
  ---
80
 
81
  # Dataset Card for emotion-custom
@@ -124,7 +52,7 @@ ds = load_dataset("davidberenstein1957/emotion-custom")
124
 
125
  ### Supported Tasks and Leaderboards
126
 
127
- 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).
128
 
129
  There are no leaderboards associated with this dataset.
130
 
@@ -136,26 +64,34 @@ There are no leaderboards associated with this dataset.
136
 
137
  ### Data in Argilla
138
 
139
- The dataset is created in Argilla with: **fields**, **questions**, **suggestions**, and **guidelines**.
140
 
141
- 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.
142
 
143
  | Field Name | Title | Type | Required | Markdown |
144
  | ---------- | ----- | ---- | -------- | -------- |
145
- | text | Text | TextField | True | False |
146
 
147
 
148
- 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.
149
 
150
  | Question Name | Title | Type | Required | Description | Values/Labels |
151
  | ------------- | ----- | ---- | -------- | ----------- | ------------- |
152
- | sentiment | Sentiment | LabelQuestion | True | N/A | ['positive', 'neutral', 'negative'] |
153
- | mixed-emotion | Mixed-emotion | MultiLabelQuestion | True | N/A | ['joy', 'anger', 'sadness', 'fear', 'surprise', 'love'] |
154
 
155
 
156
- **✨ 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.
157
 
158
- 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.
 
 
 
 
 
 
 
 
159
 
160
  ### Data Instances
161
 
@@ -163,6 +99,7 @@ An example of a dataset instance in Argilla looks as follows:
163
 
164
  ```json
165
  {
 
166
  "fields": {
167
  "text": "i didnt feel humiliated"
168
  },
@@ -170,12 +107,11 @@ An example of a dataset instance in Argilla looks as follows:
170
  "responses": [
171
  {
172
  "status": "submitted",
173
- "user_id": "96a207d3-b1a9-44d1-b72a-1afdab457b26",
174
  "values": {
175
  "mixed-emotion": {
176
  "value": [
177
- "anger",
178
- "sadness"
179
  ]
180
  },
181
  "sentiment": {
@@ -184,7 +120,8 @@ An example of a dataset instance in Argilla looks as follows:
184
  }
185
  }
186
  ],
187
- "suggestions": []
 
188
  }
189
  ```
190
 
@@ -197,10 +134,9 @@ While the same record in HuggingFace `datasets` looks as follows:
197
  "mixed-emotion": [
198
  {
199
  "status": "submitted",
200
- "user_id": "96a207d3-b1a9-44d1-b72a-1afdab457b26",
201
  "value": [
202
- "anger",
203
- "sadness"
204
  ]
205
  }
206
  ],
@@ -213,7 +149,7 @@ While the same record in HuggingFace `datasets` looks as follows:
213
  "sentiment": [
214
  {
215
  "status": "submitted",
216
- "user_id": "96a207d3-b1a9-44d1-b72a-1afdab457b26",
217
  "value": "positive"
218
  }
219
  ],
@@ -231,22 +167,25 @@ While the same record in HuggingFace `datasets` looks as follows:
231
 
232
  Among the dataset fields, we differentiate between the following:
233
 
234
- * **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.
235
 
236
- * **text** is of type `TextField`.
237
 
238
  * **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`.
239
 
240
- * **sentiment** is of type `LabelQuestion` with the following allowed values ['positive', 'neutral', 'negative'].
241
- * **mixed-emotion** is of type `MultiLabelQuestion` with the following allowed values ['joy', 'anger', 'sadness', 'fear', 'surprise', 'love'].
242
 
243
- * **✨ 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.
244
 
245
  * (optional) **sentiment-suggestion** is of type `label_selection` with the following allowed values ['positive', 'neutral', 'negative'].
246
  * (optional) **mixed-emotion-suggestion** is of type `multi_label_selection` with the following allowed values ['joy', 'anger', 'sadness', 'fear', 'surprise', 'love'].
247
 
248
- Additionally, we also have one more field which is optional and is the following:
249
 
 
 
 
 
250
  * **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.
251
 
252
  ### Data Splits
 
4
  - rlfh
5
  - argilla
6
  - human-feedback
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  ---
8
 
9
  # Dataset Card for emotion-custom
 
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
 
 
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
 
 
99
 
100
  ```json
101
  {
102
+ "external_id": null,
103
  "fields": {
104
  "text": "i didnt feel humiliated"
105
  },
 
107
  "responses": [
108
  {
109
  "status": "submitted",
110
+ "user_id": "f2c5232d-10c8-4468-8044-6b489e9db9b6",
111
  "values": {
112
  "mixed-emotion": {
113
  "value": [
114
+ "fear"
 
115
  ]
116
  },
117
  "sentiment": {
 
120
  }
121
  }
122
  ],
123
+ "suggestions": [],
124
+ "vectors": {}
125
  }
126
  ```
127
 
 
134
  "mixed-emotion": [
135
  {
136
  "status": "submitted",
137
+ "user_id": "f2c5232d-10c8-4468-8044-6b489e9db9b6",
138
  "value": [
139
+ "fear"
 
140
  ]
141
  }
142
  ],
 
149
  "sentiment": [
150
  {
151
  "status": "submitted",
152
+ "user_id": "f2c5232d-10c8-4468-8044-6b489e9db9b6",
153
  "value": "positive"
154
  }
155
  ],
 
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