plaguss HF staff commited on
Commit
4845827
1 Parent(s): 61ed564

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +223 -52
README.md CHANGED
@@ -1,55 +1,226 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: premise
5
- dtype: string
6
- id: field
7
- - name: hypothesis
8
- dtype: string
9
- id: field
10
- - name: label
11
- list:
12
- - name: user_id
13
- dtype: string
14
- id: question
15
- - name: value
16
- dtype: string
17
- id: suggestion
18
- - name: status
19
- dtype: string
20
- id: question
21
- - name: label-suggestion
22
- dtype: string
23
- id: suggestion
24
- - name: label-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: 19991
44
- num_examples: 100
45
- download_size: 0
46
- dataset_size: 19991
47
- configs:
48
- - config_name: default
49
- data_files:
50
- - split: train
51
- path: data/train-*
52
  ---
53
- # Dataset Card for "snli-small"
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 snli-small
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/snli-small")
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/snli-small")
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
+ | premise | A string used to determine the truthfulness of the hypothesis | TextField | True | False |
74
+ | hypothesis | A string that may be true, false, or whose truth conditions may not be knowable when compared to the premise | 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
+ | label | Is the response relevant for the given prompt? | LabelQuestion | True | N/A | ['0', '1', '2'] |
82
+
83
+
84
+ **✨ 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.
85
+
86
+ 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.
87
+
88
+ ### Data Instances
89
+
90
+ An example of a dataset instance in Argilla looks as follows:
91
+
92
+ ```json
93
+ {
94
+ "fields": {
95
+ "hypothesis": "A person is training his horse for a competition.",
96
+ "premise": "A person on a horse jumps over a broken down airplane."
97
+ },
98
+ "metadata": {},
99
+ "responses": [
100
+ {
101
+ "status": "submitted",
102
+ "values": {
103
+ "label": {
104
+ "value": "1"
105
+ }
106
+ }
107
+ }
108
+ ],
109
+ "suggestions": []
110
+ }
111
+ ```
112
+
113
+ While the same record in HuggingFace `datasets` looks as follows:
114
+
115
+ ```json
116
+ {
117
+ "external_id": null,
118
+ "hypothesis": "A person is training his horse for a competition.",
119
+ "label": [
120
+ {
121
+ "status": "submitted",
122
+ "user_id": null,
123
+ "value": "1"
124
+ }
125
+ ],
126
+ "label-suggestion": null,
127
+ "label-suggestion-metadata": {
128
+ "agent": null,
129
+ "score": null,
130
+ "type": null
131
+ },
132
+ "metadata": "{}",
133
+ "premise": "A person on a horse jumps over a broken down airplane."
134
+ }
135
+ ```
136
+
137
+ ### Data Fields
138
+
139
+ Among the dataset fields, we differentiate between the following:
140
+
141
+ * **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.
142
+
143
+ * **premise** is of type `TextField`.
144
+ * **hypothesis** is of type `TextField`.
145
+
146
+ * **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`.
147
+
148
+ * **label** is of type `LabelQuestion` with the following allowed values ['0', '1', '2'].
149
+
150
+ * **✨ 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.
151
+
152
+ * (optional) **label-suggestion** is of type `label_selection` with the following allowed values ['0', '1', '2'].
153
+
154
+ Additionally, we also have one more field which is optional and is the following:
155
+
156
+ * **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.
157
+
158
+ ### Data Splits
159
+
160
+ The dataset contains a single split, which is `train`.
161
+
162
+ ## Dataset Creation
163
+
164
+ ### Curation Rationale
165
+
166
+ [More Information Needed]
167
+
168
+ ### Source Data
169
+
170
+ #### Initial Data Collection and Normalization
171
+
172
+ [More Information Needed]
173
+
174
+ #### Who are the source language producers?
175
+
176
+ [More Information Needed]
177
+
178
+ ### Annotations
179
+
180
+ #### Annotation guidelines
181
+
182
+ [More Information Needed]
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]