do11 commited on
Commit
1a19f2e
1 Parent(s): d94fe0a

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +223 -59
README.md CHANGED
@@ -1,62 +1,226 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: metadata
5
- dtype: string
6
- - name: category
7
- dtype: string
8
- id: field
9
- - name: instruction
10
- dtype: string
11
- id: field
12
- - name: context
13
- dtype: string
14
- id: field
15
- - name: response
16
- dtype: string
17
- id: field
18
- - name: new-instruction
19
- sequence:
20
- - name: user_id
21
- dtype: string
22
- - name: value
23
- dtype: string
24
- - name: status
25
- dtype: string
26
- id: question
27
- - name: new-input
28
- sequence:
29
- - name: user_id
30
- dtype: string
31
- - name: value
32
- dtype: string
33
- - name: status
34
- dtype: string
35
- id: question
36
- - name: new-response
37
- sequence:
38
- - name: user_id
39
- dtype: string
40
- - name: value
41
- dtype: string
42
- - name: status
43
- dtype: string
44
- id: question
45
- - name: external_id
46
- dtype: string
47
- id: external_id
48
- splits:
49
- - name: train
50
- num_bytes: 12653492
51
- num_examples: 15015
52
- download_size: 7716858
53
- dataset_size: 12653492
54
- configs:
55
- - config_name: default
56
- data_files:
57
- - split: train
58
- path: data/train-*
59
  ---
60
- # Dataset Card for "test2"
61
 
62
- [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 test2
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.cfg`. 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("do11/test2")
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("do11/test2")
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**, 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
+ | new-instruction | Final instruction: | TextQuestion | True | Write the final version of the instruction, making sure that it matches the task category. If the original instruction is ok, copy and paste it here. | N/A |
84
+ | new-input | Final input: | TextQuestion | True | Write the final version of the input, making sure that it makes sense with the task category. If the original input is ok, copy and paste it here. If an input is not needed, leave this empty. | N/A |
85
+ | new-response | Final response: | TextQuestion | True | Write the final version of the response, making sure that it matches the task category and makes sense for the instruction (and input) provided. If the original response is ok, copy and paste it here. | N/A |
86
+
87
+
88
+ 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.
89
+
90
+ ### Data Instances
91
+
92
+ An example of a dataset instance in Argilla looks as follows:
93
+
94
+ ```json
95
+ {
96
+ "external_id": "11",
97
+ "fields": {
98
+ "category": "closed_qa",
99
+ "context": "Van Zyl joined the Eastern Province Kings Academy, where he played for the Eastern Province U19 side in the 2010 Under-19 Provincial Championship. He was a key player for the Eastern Province U21 side in the 2012 Under-21 Provincial Championship, scoring 71 points in eight appearances. Van Zyl was under the Top SARU Performers, scoring the most tries at 6 in the 2012 Provincial Under 21 in the Rugby Junior Provincials.\n\nThis included a record and a remarkable personal haul in their opening match, when he scored 36 of his team\u0027s points in a 61\u20133 victory over Boland U21, consisting of four tries and eight conversions and was awarded Man of the Match.",
100
+ "instruction": "Who was Kyle Van Zyl playing against when he scored 36 of hisa teams 61 points?",
101
+ "response": "Kyle Van Zyl was playing against Boland U21 when he scored 36 points, leading his team to victory in a 61-3 win."
102
+ },
103
+ "metadata": null,
104
+ "responses": []
105
+ }
106
+ ```
107
+
108
+ While the same record in HuggingFace `datasets` looks as follows:
109
+
110
+ ```json
111
+ {
112
+ "category": "closed_qa",
113
+ "context": "Van Zyl joined the Eastern Province Kings Academy, where he played for the Eastern Province U19 side in the 2010 Under-19 Provincial Championship. He was a key player for the Eastern Province U21 side in the 2012 Under-21 Provincial Championship, scoring 71 points in eight appearances. Van Zyl was under the Top SARU Performers, scoring the most tries at 6 in the 2012 Provincial Under 21 in the Rugby Junior Provincials.\n\nThis included a record and a remarkable personal haul in their opening match, when he scored 36 of his team\u0027s points in a 61\u20133 victory over Boland U21, consisting of four tries and eight conversions and was awarded Man of the Match.",
114
+ "external_id": "11",
115
+ "instruction": "Who was Kyle Van Zyl playing against when he scored 36 of hisa teams 61 points?",
116
+ "metadata": null,
117
+ "new-input": null,
118
+ "new-instruction": null,
119
+ "new-response": null,
120
+ "response": "Kyle Van Zyl was playing against Boland U21 when he scored 36 points, leading his team to victory in a 61-3 win."
121
+ }
122
+ ```
123
+
124
+ ### Data Fields
125
+
126
+ Among the dataset fields, we differentiate between the following:
127
+
128
+ * **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.
129
+
130
+ * **category** is of type `TextField`.
131
+ * **instruction** is of type `TextField`.
132
+ * (optional) **context** is of type `TextField`.
133
+ * **response** is of type `TextField`.
134
+
135
+ * **Questions:** These 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.
136
+
137
+ * **new-instruction** is of type `TextQuestion`, and description "Write the final version of the instruction, making sure that it matches the task category. If the original instruction is ok, copy and paste it here.".
138
+ * (optional) **new-input** is of type `TextQuestion`, and description "Write the final version of the input, making sure that it makes sense with the task category. If the original input is ok, copy and paste it here. If an input is not needed, leave this empty.".
139
+ * **new-response** is of type `TextQuestion`, and description "Write the final version of the response, making sure that it matches the task category and makes sense for the instruction (and input) provided. If the original response is ok, copy and paste it here.".
140
+
141
+ Additionally, we also have one more field which is optional and is the following:
142
+
143
+ * **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.
144
+
145
+ ### Data Splits
146
+
147
+ The dataset contains a single split, which is `train`.
148
+
149
+ ## Dataset Creation
150
+
151
+ ### Curation Rationale
152
+
153
+ [More Information Needed]
154
+
155
+ ### Source Data
156
+
157
+ #### Initial Data Collection and Normalization
158
+
159
+ [More Information Needed]
160
+
161
+ #### Who are the source language producers?
162
+
163
+ [More Information Needed]
164
+
165
+ ### Annotations
166
+
167
+ #### Annotation guidelines
168
+
169
+ In this dataset, you will find a collection of records that show a category, an instruction, an input and a response to that instruction. The aim of the project is to correct the instructions, intput and responses to make sure they are of the highest quality and that they match the task category that they belong to. All three texts should be clear and include real information. In addition, the response should be as complete but concise as possible.
170
+
171
+ To curate the dataset, you will need to provide an answer to the following text fields:
172
+
173
+ 1 - Final instruction:
174
+ The final version of the instruction field. You may copy it using the copy icon in the instruction field. Leave it as it is if it's ok or apply any necessary corrections. Remember to change the instruction if it doesn't represent well the task category of the record.
175
+
176
+ 2 - Final input:
177
+ The final version of the instruction field. You may copy it using the copy icon in the input field. Leave it as it is if it's ok or apply any necessary corrections. If the task category and instruction don't need of an input to be completed, leave this question blank.
178
+
179
+ 3 - Final response:
180
+ The final version of the response field. You may copy it using the copy icon in the response field. Leave it as it is if it's ok or apply any necessary corrections. Check that the response makes sense given all the fields above.
181
+
182
+ You will need to provide at least an instruction and a response for all records. If you are not sure about a record and you prefer not to provide a response, click Discard.
183
+
184
+ #### Annotation process
185
+
186
+ [More Information Needed]
187
+
188
+ #### Who are the annotators?
189
+
190
+ [More Information Needed]
191
+
192
+ ### Personal and Sensitive Information
193
+
194
+ [More Information Needed]
195
+
196
+ ## Considerations for Using the Data
197
+
198
+ ### Social Impact of Dataset
199
+
200
+ [More Information Needed]
201
+
202
+ ### Discussion of Biases
203
+
204
+ [More Information Needed]
205
+
206
+ ### Other Known Limitations
207
+
208
+ [More Information Needed]
209
+
210
+ ## Additional Information
211
+
212
+ ### Dataset Curators
213
+
214
+ [More Information Needed]
215
+
216
+ ### Licensing Information
217
+
218
+ [More Information Needed]
219
+
220
+ ### Citation Information
221
+
222
+ [More Information Needed]
223
+
224
+ ### Contributions
225
+
226
+ [More Information Needed]