kursathalat commited on
Commit
40ad2f3
·
1 Parent(s): 6b056a2

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +265 -52
README.md CHANGED
@@ -1,55 +1,268 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: sentence1
5
- dtype: string
6
- id: field
7
- - name: sentence2
8
- dtype: string
9
- id: field
10
- - name: similarity
11
- list:
12
- - name: user_id
13
- dtype: string
14
- id: question
15
- - name: value
16
- dtype: int32
17
- id: suggestion
18
- - name: status
19
- dtype: string
20
- id: question
21
- - name: similarity-suggestion
22
- dtype: int32
23
- id: suggestion
24
- - name: similarity-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: external_id
36
- dtype: string
37
- id: external_id
38
- - name: metadata
39
- dtype: string
40
- id: metadata
41
- splits:
42
- - name: train
43
- num_bytes: 7809
44
- num_examples: 20
45
- download_size: 10628
46
- dataset_size: 7809
47
- configs:
48
- - config_name: default
49
- data_files:
50
- - split: train
51
- path: data/train-*
52
  ---
53
- # Dataset Card for "rating_ds"
54
 
55
- [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 rating_ds
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("kursathalat/rating_ds")
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("kursathalat/rating_ds")
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
+ | sentence1 | Sentence1 | text | True | False |
74
+ | sentence2 | Sentence2 | 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
+ | similarity | Similarity | rating | True | N/A | [1, 2, 3, 4, 5, 6, 7] |
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
+ "sentence1": " \"If you don\u0027t wear BROWN AND ORANGE...YOU DON\u0027T MATTER!\" We need a tshirt with that on it asap! ",
105
+ "sentence2": " \"If you don\u0027t weer BROWN AND ORANGE...YOU DON\u0027T MATTER!\" We need e tshirt with thet on it esep! "
106
+ },
107
+ "metadata": {},
108
+ "responses": [
109
+ {
110
+ "status": "submitted",
111
+ "user_id": "464c365f-9fd7-4db9-a06f-42c320c54547",
112
+ "values": {
113
+ "similarity": {
114
+ "value": 2
115
+ }
116
+ }
117
+ },
118
+ {
119
+ "status": "submitted",
120
+ "user_id": "525f4274-ebb4-4aee-a116-f8b422b2e2b4",
121
+ "values": {
122
+ "similarity": {
123
+ "value": 2
124
+ }
125
+ }
126
+ },
127
+ {
128
+ "status": "submitted",
129
+ "user_id": "156c274f-d22e-406e-a1ec-77cd734d008a",
130
+ "values": {
131
+ "similarity": {
132
+ "value": 3
133
+ }
134
+ }
135
+ }
136
+ ],
137
+ "suggestions": [],
138
+ "vectors": {}
139
+ }
140
+ ```
141
+
142
+ While the same record in HuggingFace `datasets` looks as follows:
143
+
144
+ ```json
145
+ {
146
+ "external_id": null,
147
+ "metadata": "{}",
148
+ "sentence1": " \"If you don\u0027t wear BROWN AND ORANGE...YOU DON\u0027T MATTER!\" We need a tshirt with that on it asap! ",
149
+ "sentence2": " \"If you don\u0027t weer BROWN AND ORANGE...YOU DON\u0027T MATTER!\" We need e tshirt with thet on it esep! ",
150
+ "similarity": [
151
+ {
152
+ "status": "submitted",
153
+ "user_id": "464c365f-9fd7-4db9-a06f-42c320c54547",
154
+ "value": 2
155
+ },
156
+ {
157
+ "status": "submitted",
158
+ "user_id": "525f4274-ebb4-4aee-a116-f8b422b2e2b4",
159
+ "value": 2
160
+ },
161
+ {
162
+ "status": "submitted",
163
+ "user_id": "156c274f-d22e-406e-a1ec-77cd734d008a",
164
+ "value": 3
165
+ }
166
+ ],
167
+ "similarity-suggestion": null,
168
+ "similarity-suggestion-metadata": {
169
+ "agent": null,
170
+ "score": null,
171
+ "type": null
172
+ }
173
+ }
174
+ ```
175
+
176
+ ### Data Fields
177
+
178
+ Among the dataset fields, we differentiate between the following:
179
+
180
+ * **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.
181
+
182
+ * **sentence1** is of type `text`.
183
+ * **sentence2** is of type `text`.
184
+
185
+ * **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`.
186
+
187
+ * **similarity** is of type `rating` with the following allowed values [1, 2, 3, 4, 5, 6, 7].
188
+
189
+ * **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.
190
+
191
+ * (optional) **similarity-suggestion** is of type `rating` with the following allowed values [1, 2, 3, 4, 5, 6, 7].
192
+
193
+
194
+
195
+ Additionally, we also have two more fields that are optional and are the following:
196
+
197
+ * **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`.
198
+ * **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.
199
+
200
+ ### Data Splits
201
+
202
+ The dataset contains a single split, which is `train`.
203
+
204
+ ## Dataset Creation
205
+
206
+ ### Curation Rationale
207
+
208
+ [More Information Needed]
209
+
210
+ ### Source Data
211
+
212
+ #### Initial Data Collection and Normalization
213
+
214
+ [More Information Needed]
215
+
216
+ #### Who are the source language producers?
217
+
218
+ [More Information Needed]
219
+
220
+ ### Annotations
221
+
222
+ #### Annotation guidelines
223
+
224
+ This is a sentence similarity dataset that contains two sentences. Please rate the similarity between the two sentences.
225
+
226
+ #### Annotation process
227
+
228
+ [More Information Needed]
229
+
230
+ #### Who are the annotators?
231
+
232
+ [More Information Needed]
233
+
234
+ ### Personal and Sensitive Information
235
+
236
+ [More Information Needed]
237
+
238
+ ## Considerations for Using the Data
239
+
240
+ ### Social Impact of Dataset
241
+
242
+ [More Information Needed]
243
+
244
+ ### Discussion of Biases
245
+
246
+ [More Information Needed]
247
+
248
+ ### Other Known Limitations
249
+
250
+ [More Information Needed]
251
+
252
+ ## Additional Information
253
+
254
+ ### Dataset Curators
255
+
256
+ [More Information Needed]
257
+
258
+ ### Licensing Information
259
+
260
+ [More Information Needed]
261
+
262
+ ### Citation Information
263
+
264
+ [More Information Needed]
265
+
266
+ ### Contributions
267
+
268
+ [More Information Needed]