vegeta commited on
Commit
f41a2ba
1 Parent(s): fb2db6b

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +232 -39
README.md CHANGED
@@ -1,42 +1,235 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: metadata
5
- dtype: string
6
- - name: text
7
- dtype: string
8
- id: field
9
- - name: label
10
- dtype: string
11
- id: field
12
- - name: question-1
13
- sequence:
14
- - name: user_id
15
- dtype: string
16
- - name: value
17
- dtype: string
18
- - name: status
19
- dtype: string
20
- id: question
21
- - name: question-2
22
- sequence:
23
- - name: user_id
24
- dtype: string
25
- - name: value
26
- dtype: int32
27
- - name: status
28
- dtype: string
29
- id: question
30
- - name: external_id
31
- dtype: string
32
- id: external_id
33
- splits:
34
- - name: train
35
- num_bytes: 148
36
- num_examples: 1
37
- download_size: 6115
38
- dataset_size: 148
39
  ---
40
- # Dataset Card for "testargilla"
41
 
42
- [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 testargilla
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("vegeta/testargilla")
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("vegeta/testargilla")
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
+ | text | Text | TextField | True | False |
74
+ | label | Label | TextField | 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, single choice, or multiple choice.
78
+
79
+ | Question Name | Title | Type | Required | Description | Values/Labels |
80
+ | ------------- | ----- | ---- | -------- | ----------- | ------------- |
81
+ | question-1 | Question-1 | TextQuestion | True | This is the first question | N/A |
82
+ | question-2 | Question-2 | RatingQuestion | True | This is the second question | [1, 2, 3, 4, 5] |
83
+
84
+
85
+ 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.
86
+
87
+ ### Data Instances
88
+
89
+ An example of a dataset instance in Argilla looks as follows:
90
+
91
+ ```json
92
+ {
93
+ "external_id": "entry-1",
94
+ "fields": {
95
+ "label": "positive",
96
+ "text": "This is the first record"
97
+ },
98
+ "metadata": null,
99
+ "responses": [
100
+ {
101
+ "status": "submitted",
102
+ "user_id": null,
103
+ "values": {
104
+ "question-1": {
105
+ "value": "This is the first answer"
106
+ },
107
+ "question-2": {
108
+ "value": 5
109
+ }
110
+ }
111
+ }
112
+ ]
113
+ }
114
+ ```
115
+
116
+ While the same record in HuggingFace `datasets` looks as follows:
117
+
118
+ ```json
119
+ {
120
+ "external_id": "entry-1",
121
+ "label": "positive",
122
+ "metadata": null,
123
+ "question-1": {
124
+ "status": [
125
+ "submitted"
126
+ ],
127
+ "user_id": [
128
+ null
129
+ ],
130
+ "value": [
131
+ "This is the first answer"
132
+ ]
133
+ },
134
+ "question-2": {
135
+ "status": [
136
+ "submitted"
137
+ ],
138
+ "user_id": [
139
+ null
140
+ ],
141
+ "value": [
142
+ 5
143
+ ]
144
+ },
145
+ "text": "This is the first record"
146
+ }
147
+ ```
148
+
149
+ ### Data Fields
150
+
151
+ Among the dataset fields, we differentiate between the following:
152
+
153
+ * **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.
154
+
155
+ * **text** is of type `TextField`.
156
+ * **label** is of type `TextField`.
157
+
158
+ * **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.
159
+
160
+ * **question-1** is of type `TextQuestion`, and description "This is the first question".
161
+ * **question-2** is of type `RatingQuestion` with the following allowed values [1, 2, 3, 4, 5], and description "This is the second question".
162
+
163
+ Additionally, we also have one more field which is optional and is the following:
164
+
165
+ * **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.
166
+
167
+ ### Data Splits
168
+
169
+ The dataset contains a single split, which is `train`.
170
+
171
+ ## Dataset Creation
172
+
173
+ ### Curation Rationale
174
+
175
+ [More Information Needed]
176
+
177
+ ### Source Data
178
+
179
+ #### Initial Data Collection and Normalization
180
+
181
+ [More Information Needed]
182
+
183
+ #### Who are the source language producers?
184
+
185
+ [More Information Needed]
186
+
187
+ ### Annotations
188
+
189
+ #### Annotation guidelines
190
+
191
+ These are the annotation guidelines.
192
+
193
+ #### Annotation process
194
+
195
+ [More Information Needed]
196
+
197
+ #### Who are the annotators?
198
+
199
+ [More Information Needed]
200
+
201
+ ### Personal and Sensitive Information
202
+
203
+ [More Information Needed]
204
+
205
+ ## Considerations for Using the Data
206
+
207
+ ### Social Impact of Dataset
208
+
209
+ [More Information Needed]
210
+
211
+ ### Discussion of Biases
212
+
213
+ [More Information Needed]
214
+
215
+ ### Other Known Limitations
216
+
217
+ [More Information Needed]
218
+
219
+ ## Additional Information
220
+
221
+ ### Dataset Curators
222
+
223
+ [More Information Needed]
224
+
225
+ ### Licensing Information
226
+
227
+ [More Information Needed]
228
+
229
+ ### Citation Information
230
+
231
+ [More Information Needed]
232
+
233
+ ### Contributions
234
+
235
+ [More Information Needed]