Aayushi-Shah commited on
Commit
b3d6123
1 Parent(s): 5a4696a

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +226 -53
README.md CHANGED
@@ -1,55 +1,228 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: source
5
- dtype: string
6
- id: field
7
- - name: chosen
8
- dtype: string
9
- id: field
10
- - name: rejected
11
- dtype: string
12
- id: field
13
- - name: win
14
- list:
15
- - name: user_id
16
- dtype: string
17
- id: question
18
- - name: value
19
- dtype: int32
20
- id: question
21
- - name: status
22
- dtype: string
23
- id: question
24
- - name: win-suggestion
25
- dtype: int32
26
- id: suggestion
27
- - name: win-suggestion-metadata
28
- struct:
29
- - name: type
30
- dtype: string
31
- id: suggestion-metadata
32
- - name: score
33
- dtype: float32
34
- id: suggestion-metadata
35
- - name: agent
36
- dtype: string
37
- id: suggestion-metadata
38
- - name: external_id
39
- dtype: string
40
- id: external_id
41
- - name: metadata
42
- dtype: string
43
- id: metadata
44
- splits:
45
- - name: train
46
- num_bytes: 1667190
47
- num_examples: 1926
48
- download_size: 926739
49
- dataset_size: 1667190
50
- configs:
51
- - config_name: default
52
- data_files:
53
- - split: train
54
- path: data/train-*
55
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ size_categories: 1K<n<10K
3
+ tags:
4
+ - rlfh
5
+ - argilla
6
+ - human-feedback
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  ---
8
+
9
+ # Dataset Card for puree
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("Aayushi-Shah/puree")
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("Aayushi-Shah/puree")
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
+ | source | Source | text | True | False |
74
+ | chosen | Option 1 | text | True | False |
75
+ | rejected | Option 2 | text | True | False |
76
+
77
+
78
+ 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.
79
+
80
+ | Question Name | Title | Type | Required | Description | Values/Labels |
81
+ | ------------- | ----- | ---- | -------- | ----------- | ------------- |
82
+ | win | Choose the best response: | rating | True | Choose the most helpful, harmless, and truthful response. Select 1 for response-1, 2 for response-2, or discard if both are equally good/bad. | [1, 2] |
83
+
84
+
85
+ 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".
86
+
87
+ 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`.
88
+
89
+
90
+
91
+ | Metadata Name | Title | Type | Values | Visible for Annotators |
92
+ | ------------- | ----- | ---- | ------ | ---------------------- |
93
+
94
+
95
+ 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.
96
+
97
+ ### Data Instances
98
+
99
+ An example of a dataset instance in Argilla looks as follows:
100
+
101
+ ```json
102
+ {
103
+ "external_id": null,
104
+ "fields": {
105
+ "chosen": "Jeju always feels new no matter when you visit. New attractions quickly become famous by word of mouth in the blink of an eye. Especially on the west side of Jeju, there are places with an exotic atmosphere and trendy museums that attract the attention of travelers. We have gathered recently popular hot places that you must visit while traveling on the west side of Jeju, organized by theme.",
106
+ "rejected": "Jeju feels new every time you visit. In the blink of an eye, new attractions become famous through word of mouth. In particular, the western part of Jeju attracts the attention of travelers as it is home to places with an exotic atmosphere and sensuous museums. We\u0026#39;ve compiled a collection of recently emerging hot places by theme that you must visit while traveling to the west of Jeju.",
107
+ "source": "\uc5b8\uc81c \ubc29\ubb38\ud574\ub3c4 \uc0c8\ub86d\uac8c \ub290\uaef4\uc9c0\ub294 \uc81c\uc8fc. \ub208 \uae5c\uc9dd\ud560 \uc0c8\uc5d0 \uc0c8\ub85c\uc6b4 \uba85\uc18c\ub4e4\uc774 \uc785\uc18c\ubb38\uc744 \ud0c0\uace0 \uc720\uba85\ud574\uc9c0\uace4 \ud55c\ub2e4. \ud2b9\ud788 \uc81c\uc8fc \uc11c\ucabd\uc5d0\ub294 \uc774\uad6d\uc801\uc778 \ubd84\uc704\uae30\ub97c \ud48d\uae30\ub294 \uc7a5\uc18c\uc640 \uac10\uac01\uc801\uc778 \ubba4\uc9c0\uc5c4\ub4e4\uc774 \uc704\uce58\ud574\uc788\uc5b4 \uc5ec\ud589\uc790\ub4e4\uc758 \uc774\ubaa9\uc744 \ub048\ub2e4. \uc81c\uc8fc \uc11c\ucabd\uc744 \uc5ec\ud589\ud558\uba74\uc11c \uaf2d \uac00\ubd10\uc57c \ud560, \ucd5c\uadfc \ub5a0\uc624\ub978 \ud56b\ud50c\ub808\uc774\uc2a4\ub97c \ud14c\ub9c8\ubcc4\ub85c \ubaa8\uc544\ubd24\ub2e4."
108
+ },
109
+ "metadata": {},
110
+ "responses": [],
111
+ "suggestions": [],
112
+ "vectors": {}
113
+ }
114
+ ```
115
+
116
+ While the same record in HuggingFace `datasets` looks as follows:
117
+
118
+ ```json
119
+ {
120
+ "chosen": "Jeju always feels new no matter when you visit. New attractions quickly become famous by word of mouth in the blink of an eye. Especially on the west side of Jeju, there are places with an exotic atmosphere and trendy museums that attract the attention of travelers. We have gathered recently popular hot places that you must visit while traveling on the west side of Jeju, organized by theme.",
121
+ "external_id": null,
122
+ "metadata": "{}",
123
+ "rejected": "Jeju feels new every time you visit. In the blink of an eye, new attractions become famous through word of mouth. In particular, the western part of Jeju attracts the attention of travelers as it is home to places with an exotic atmosphere and sensuous museums. We\u0026#39;ve compiled a collection of recently emerging hot places by theme that you must visit while traveling to the west of Jeju.",
124
+ "source": "\uc5b8\uc81c \ubc29\ubb38\ud574\ub3c4 \uc0c8\ub86d\uac8c \ub290\uaef4\uc9c0\ub294 \uc81c\uc8fc. \ub208 \uae5c\uc9dd\ud560 \uc0c8\uc5d0 \uc0c8\ub85c\uc6b4 \uba85\uc18c\ub4e4\uc774 \uc785\uc18c\ubb38\uc744 \ud0c0\uace0 \uc720\uba85\ud574\uc9c0\uace4 \ud55c\ub2e4. \ud2b9\ud788 \uc81c\uc8fc \uc11c\ucabd\uc5d0\ub294 \uc774\uad6d\uc801\uc778 \ubd84\uc704\uae30\ub97c \ud48d\uae30\ub294 \uc7a5\uc18c\uc640 \uac10\uac01\uc801\uc778 \ubba4\uc9c0\uc5c4\ub4e4\uc774 \uc704\uce58\ud574\uc788\uc5b4 \uc5ec\ud589\uc790\ub4e4\uc758 \uc774\ubaa9\uc744 \ub048\ub2e4. \uc81c\uc8fc \uc11c\ucabd\uc744 \uc5ec\ud589\ud558\uba74\uc11c \uaf2d \uac00\ubd10\uc57c \ud560, \ucd5c\uadfc \ub5a0\uc624\ub978 \ud56b\ud50c\ub808\uc774\uc2a4\ub97c \ud14c\ub9c8\ubcc4\ub85c \ubaa8\uc544\ubd24\ub2e4.",
125
+ "win": [],
126
+ "win-suggestion": null,
127
+ "win-suggestion-metadata": {
128
+ "agent": null,
129
+ "score": null,
130
+ "type": null
131
+ }
132
+ }
133
+ ```
134
+
135
+ ### Data Fields
136
+
137
+ Among the dataset fields, we differentiate between the following:
138
+
139
+ * **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.
140
+
141
+ * **source** is of type `text`.
142
+ * **chosen** is of type `text`.
143
+ * **rejected** is of type `text`.
144
+
145
+ * **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`.
146
+
147
+ * **win** is of type `rating` with the following allowed values [1, 2], and description "Choose the most helpful, harmless, and truthful response. Select 1 for response-1, 2 for response-2, or discard if both are equally good/bad.".
148
+
149
+ * **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.
150
+
151
+ * (optional) **win-suggestion** is of type `rating` with the following allowed values [1, 2].
152
+
153
+
154
+
155
+ Additionally, we also have two more fields that are optional and are the following:
156
+
157
+ * **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`.
158
+ * **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.
159
+
160
+ ### Data Splits
161
+
162
+ The dataset contains a single split, which is `train`.
163
+
164
+ ## Dataset Creation
165
+
166
+ ### Curation Rationale
167
+
168
+ [More Information Needed]
169
+
170
+ ### Source Data
171
+
172
+ #### Initial Data Collection and Normalization
173
+
174
+ [More Information Needed]
175
+
176
+ #### Who are the source language producers?
177
+
178
+ [More Information Needed]
179
+
180
+ ### Annotations
181
+
182
+ #### Annotation guidelines
183
+
184
+ [More Information Needed]
185
+
186
+ #### Annotation process
187
+
188
+ [More Information Needed]
189
+
190
+ #### Who are the annotators?
191
+
192
+ [More Information Needed]
193
+
194
+ ### Personal and Sensitive Information
195
+
196
+ [More Information Needed]
197
+
198
+ ## Considerations for Using the Data
199
+
200
+ ### Social Impact of Dataset
201
+
202
+ [More Information Needed]
203
+
204
+ ### Discussion of Biases
205
+
206
+ [More Information Needed]
207
+
208
+ ### Other Known Limitations
209
+
210
+ [More Information Needed]
211
+
212
+ ## Additional Information
213
+
214
+ ### Dataset Curators
215
+
216
+ [More Information Needed]
217
+
218
+ ### Licensing Information
219
+
220
+ [More Information Needed]
221
+
222
+ ### Citation Information
223
+
224
+ [More Information Needed]
225
+
226
+ ### Contributions
227
+
228
+ [More Information Needed]