plaguss HF staff commited on
Commit
38402c6
·
1 Parent(s): 87ce043

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +238 -104
README.md CHANGED
@@ -1,107 +1,241 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: category
5
- dtype: string
6
- id: field
7
- - name: instruction
8
- dtype: string
9
- id: field
10
- - name: context
11
- dtype: string
12
- id: field
13
- - name: response
14
- dtype: string
15
- id: field
16
- - name: final-instruction
17
- sequence:
18
- - name: user_id
19
- dtype: string
20
- - name: value
21
- dtype: string
22
- id: suggestion
23
- - name: status
24
- dtype: string
25
- id: question
26
- - name: final-instruction-suggestion
27
- dtype: string
28
- id: suggestion
29
- - name: final-instruction-suggestion-metadata
30
- struct:
31
- - name: type
32
- dtype: string
33
- id: suggestion-metadata
34
- - name: score
35
- dtype: float32
36
- id: suggestion-metadata
37
- - name: agent
38
- dtype: string
39
- id: suggestion-metadata
40
- - name: final-context
41
- sequence:
42
- - name: user_id
43
- dtype: string
44
- - name: value
45
- dtype: string
46
- id: suggestion
47
- - name: status
48
- dtype: string
49
- id: question
50
- - name: final-context-suggestion
51
- dtype: string
52
- id: suggestion
53
- - name: final-context-suggestion-metadata
54
- struct:
55
- - name: type
56
- dtype: string
57
- id: suggestion-metadata
58
- - name: score
59
- dtype: float32
60
- id: suggestion-metadata
61
- - name: agent
62
- dtype: string
63
- id: suggestion-metadata
64
- - name: final-response
65
- sequence:
66
- - name: user_id
67
- dtype: string
68
- - name: value
69
- dtype: string
70
- id: suggestion
71
- - name: status
72
- dtype: string
73
- id: question
74
- - name: final-response-suggestion
75
- dtype: string
76
- id: suggestion
77
- - name: final-response-suggestion-metadata
78
- struct:
79
- - name: type
80
- dtype: string
81
- id: suggestion-metadata
82
- - name: score
83
- dtype: float32
84
- id: suggestion-metadata
85
- - name: agent
86
- dtype: string
87
- id: suggestion-metadata
88
- - name: external_id
89
- dtype: string
90
- id: external_id
91
- - name: metadata
92
- dtype: string
93
- splits:
94
- - name: train
95
- num_bytes: 13390746
96
- num_examples: 15015
97
- download_size: 7774541
98
- dataset_size: 13390746
99
- configs:
100
- - config_name: default
101
- data_files:
102
- - split: train
103
- path: data/train-*
104
  ---
105
- # Dataset Card for "dolly_tutorial"
106
 
107
- [More Information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ size_categories: 10K<n<100K
3
+ tags:
4
+ - rlfh
5
+ - argilla
6
+ - human-feedback
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  ---
 
8
 
9
+ # Dataset Card for dolly_tutorial
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("plaguss/dolly_tutorial")
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("plaguss/dolly_tutorial")
51
+ ```
52
+
53
+ ### Supported Tasks and Leaderboards
54
+
55
+ 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).
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**, and **guidelines**.
68
+
69
+ 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.
70
+
71
+ | Field Name | Title | Type | Required | Markdown |
72
+ | ---------- | ----- | ---- | -------- | -------- |
73
+ | category | Task category | TextField | True | False |
74
+ | instruction | Instruction | TextField | True | False |
75
+ | context | Input | TextField | True | False |
76
+ | response | Response | TextField | True | False |
77
+
78
+
79
+ 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.
80
+
81
+ | Question Name | Title | Type | Required | Description | Values/Labels |
82
+ | ------------- | ----- | ---- | -------- | ----------- | ------------- |
83
+ | final-instruction | Final Instruction: | TextQuestion | True | desc instruction | N/A |
84
+ | final-context | Final Input: | TextQuestion | True | desc input | N/A |
85
+ | final-response | Final Response: | TextQuestion | True | desc response | N/A |
86
+
87
+
88
+ **✨ 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.
89
+
90
+ 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.
91
+
92
+ ### Data Instances
93
+
94
+ An example of a dataset instance in Argilla looks as follows:
95
+
96
+ ```json
97
+ {
98
+ "external_id": "6",
99
+ "fields": {
100
+ "category": "closed_qa",
101
+ "context": "Lollapalooza /\u02ccl\u0252l\u0259p\u0259\u02c8lu\u02d0z\u0259/ (Lolla) is an annual American four-day music festival held in Grant Park in Chicago. It originally started as a touring event in 1991, but several years later, Chicago became its permanent location. Music genres include but are not limited to alternative rock, heavy metal, punk rock, hip hop, and electronic dance music. Lollapalooza has also featured visual arts, nonprofit organizations, and political organizations. The festival, held in Grant Park, hosts an estimated 400,000 people each July and sells out annually. Lollapalooza is one of the largest and most iconic music festivals in the world and one of the longest-running in the United States.\n\nLollapalooza was conceived and created in 1991 as a farewell tour by Perry Farrell, singer of the group Jane\u0027s Addiction.",
102
+ "instruction": "Given a reference text about Lollapalooza, where does it take place, who started it and what is it?",
103
+ "response": "Lollapalooze is an annual musical festival held in Grant Park in Chicago, Illinois. It was started in 1991 as a farewell tour by Perry Farrell, singe of the group Jane\u0027s Addiction. The festival includes an array of musical genres including alternative rock, heavy metal, punk rock, hip hop, and electronic dance music. The festivals welcomes an estimated 400,000 people each year and sells out annually. Some notable headliners include: the Red Hot Chili Peppers, Chance the Rapper, Metallica, and Lady Gage. Lollapalooza is one of the largest and most iconic festivals in the world and a staple of Chicago."
104
+ },
105
+ "id": "19ffb042-93f9-4402-9418-1671c5c081d7",
106
+ "metadata": {},
107
+ "responses": [],
108
+ "suggestions": []
109
+ }
110
+ ```
111
+
112
+ While the same record in HuggingFace `datasets` looks as follows:
113
+
114
+ ```json
115
+ {
116
+ "category": "closed_qa",
117
+ "context": "Lollapalooza /\u02ccl\u0252l\u0259p\u0259\u02c8lu\u02d0z\u0259/ (Lolla) is an annual American four-day music festival held in Grant Park in Chicago. It originally started as a touring event in 1991, but several years later, Chicago became its permanent location. Music genres include but are not limited to alternative rock, heavy metal, punk rock, hip hop, and electronic dance music. Lollapalooza has also featured visual arts, nonprofit organizations, and political organizations. The festival, held in Grant Park, hosts an estimated 400,000 people each July and sells out annually. Lollapalooza is one of the largest and most iconic music festivals in the world and one of the longest-running in the United States.\n\nLollapalooza was conceived and created in 1991 as a farewell tour by Perry Farrell, singer of the group Jane\u0027s Addiction.",
118
+ "external_id": "6",
119
+ "final-context": null,
120
+ "final-context-suggestion": null,
121
+ "final-context-suggestion-metadata": {
122
+ "agent": null,
123
+ "score": null,
124
+ "type": null
125
+ },
126
+ "final-instruction": null,
127
+ "final-instruction-suggestion": null,
128
+ "final-instruction-suggestion-metadata": {
129
+ "agent": null,
130
+ "score": null,
131
+ "type": null
132
+ },
133
+ "final-response": null,
134
+ "final-response-suggestion": null,
135
+ "final-response-suggestion-metadata": {
136
+ "agent": null,
137
+ "score": null,
138
+ "type": null
139
+ },
140
+ "instruction": "Given a reference text about Lollapalooza, where does it take place, who started it and what is it?",
141
+ "metadata": null,
142
+ "response": "Lollapalooze is an annual musical festival held in Grant Park in Chicago, Illinois. It was started in 1991 as a farewell tour by Perry Farrell, singe of the group Jane\u0027s Addiction. The festival includes an array of musical genres including alternative rock, heavy metal, punk rock, hip hop, and electronic dance music. The festivals welcomes an estimated 400,000 people each year and sells out annually. Some notable headliners include: the Red Hot Chili Peppers, Chance the Rapper, Metallica, and Lady Gage. Lollapalooza is one of the largest and most iconic festivals in the world and a staple of Chicago."
143
+ }
144
+ ```
145
+
146
+ ### Data Fields
147
+
148
+ Among the dataset fields, we differentiate between the following:
149
+
150
+ * **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.
151
+
152
+ * **category** is of type `TextField`.
153
+ * **instruction** is of type `TextField`.
154
+ * (optional) **context** is of type `TextField`.
155
+ * **response** is of type `TextField`.
156
+
157
+ * **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`.
158
+
159
+ * **final-instruction** is of type `TextQuestion`, and description "desc instruction".
160
+ * (optional) **final-context** is of type `TextQuestion`, and description "desc input".
161
+ * **final-response** is of type `TextQuestion`, and description "desc response".
162
+
163
+ * **✨ 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.
164
+
165
+ * (optional) **final-instruction-suggestion** is of type `text`.
166
+ * (optional) **final-context-suggestion** is of type `text`.
167
+ * (optional) **final-response-suggestion** is of type `text`.
168
+
169
+ Additionally, we also have one more field which is optional and is the following:
170
+
171
+ * **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.
172
+
173
+ ### Data Splits
174
+
175
+ The dataset contains a single split, which is `train`.
176
+
177
+ ## Dataset Creation
178
+
179
+ ### Curation Rationale
180
+
181
+ [More Information Needed]
182
+
183
+ ### Source Data
184
+
185
+ #### Initial Data Collection and Normalization
186
+
187
+ [More Information Needed]
188
+
189
+ #### Who are the source language producers?
190
+
191
+ [More Information Needed]
192
+
193
+ ### Annotations
194
+
195
+ #### Annotation guidelines
196
+
197
+ our guidelines
198
+
199
+ #### Annotation process
200
+
201
+ [More Information Needed]
202
+
203
+ #### Who are the annotators?
204
+
205
+ [More Information Needed]
206
+
207
+ ### Personal and Sensitive Information
208
+
209
+ [More Information Needed]
210
+
211
+ ## Considerations for Using the Data
212
+
213
+ ### Social Impact of Dataset
214
+
215
+ [More Information Needed]
216
+
217
+ ### Discussion of Biases
218
+
219
+ [More Information Needed]
220
+
221
+ ### Other Known Limitations
222
+
223
+ [More Information Needed]
224
+
225
+ ## Additional Information
226
+
227
+ ### Dataset Curators
228
+
229
+ [More Information Needed]
230
+
231
+ ### Licensing Information
232
+
233
+ [More Information Needed]
234
+
235
+ ### Citation Information
236
+
237
+ [More Information Needed]
238
+
239
+ ### Contributions
240
+
241
+ [More Information Needed]