louisguitton commited on
Commit
96d8181
1 Parent(s): a7414a3

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +293 -66
README.md CHANGED
@@ -1,68 +1,295 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: text
5
- dtype: string
6
- id: field
7
- - name: entities
8
- list:
9
- - name: user_id
10
- dtype: string
11
- id: question
12
- - name: value
13
- sequence:
14
- - name: start
15
- dtype: int32
16
- - name: end
17
- dtype: int32
18
- - name: label
19
- dtype: string
20
- - name: text
21
- dtype: string
22
- id: question
23
- - name: status
24
- dtype: string
25
- id: question
26
- - name: entities-suggestion
27
- sequence:
28
- - name: start
29
- dtype: int32
30
- - name: end
31
- dtype: int32
32
- - name: label
33
- dtype: string
34
- - name: text
35
- dtype: string
36
- - name: score
37
- dtype: float32
38
- id: suggestion
39
- - name: entities-suggestion-metadata
40
- struct:
41
- - name: type
42
- dtype: string
43
- id: suggestion-metadata
44
- - name: score
45
- sequence:
46
- dtype: float32
47
- id: suggestion-metadata
48
- - name: agent
49
- dtype: string
50
- id: suggestion-metadata
51
- - name: external_id
52
- dtype: string
53
- id: external_id
54
- - name: metadata
55
- dtype: string
56
- id: metadata
57
- splits:
58
- - name: train
59
- num_bytes: 1668965
60
- num_examples: 8528
61
- download_size: 690222
62
- dataset_size: 1668965
63
- configs:
64
- - config_name: default
65
- data_files:
66
- - split: train
67
- path: data/train-*
68
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ size_categories: 1K<n<10K
3
+ tags:
4
+ - rlfh
5
+ - argilla
6
+ - human-feedback
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  ---
8
+
9
+ # Dataset Card for dev-ner-ontonotes
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("louisguitton/dev-ner-ontonotes")
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("louisguitton/dev-ner-ontonotes")
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
+ | text | Text | text | True | False |
74
+
75
+
76
+ 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.
77
+
78
+ | Question Name | Title | Type | Required | Description | Values/Labels |
79
+ | ------------- | ----- | ---- | -------- | ----------- | ------------- |
80
+ | entities | Highlight the entities in the text: | span | True | N/A | N/A |
81
+
82
+
83
+ 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".
84
+
85
+ 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`.
86
+
87
+
88
+
89
+ | Metadata Name | Title | Type | Values | Visible for Annotators |
90
+ | ------------- | ----- | ---- | ------ | ---------------------- |
91
+
92
+
93
+ 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.
94
+
95
+ ### Data Instances
96
+
97
+ An example of a dataset instance in Argilla looks as follows:
98
+
99
+ ```json
100
+ {
101
+ "external_id": null,
102
+ "fields": {
103
+ "text": "A Russian diver has found the bodies of three of the 118 sailors who were killed when the nuclear submarine Kursk sank in the Barents Sea ."
104
+ },
105
+ "metadata": {},
106
+ "responses": [],
107
+ "suggestions": [
108
+ {
109
+ "agent": "gold_labels",
110
+ "question_name": "entities",
111
+ "score": null,
112
+ "type": null,
113
+ "value": [
114
+ {
115
+ "end": 9,
116
+ "label": "NORP",
117
+ "score": 1.0,
118
+ "start": 2
119
+ },
120
+ {
121
+ "end": 45,
122
+ "label": "CARDINAL",
123
+ "score": 1.0,
124
+ "start": 40
125
+ },
126
+ {
127
+ "end": 56,
128
+ "label": "CARDINAL",
129
+ "score": 1.0,
130
+ "start": 53
131
+ },
132
+ {
133
+ "end": 113,
134
+ "label": "PRODUCT",
135
+ "score": 1.0,
136
+ "start": 108
137
+ },
138
+ {
139
+ "end": 137,
140
+ "label": "LOC",
141
+ "score": 1.0,
142
+ "start": 122
143
+ }
144
+ ]
145
+ }
146
+ ],
147
+ "vectors": {}
148
+ }
149
+ ```
150
+
151
+ While the same record in HuggingFace `datasets` looks as follows:
152
+
153
+ ```json
154
+ {
155
+ "entities": [],
156
+ "entities-suggestion": {
157
+ "end": [
158
+ 9,
159
+ 45,
160
+ 56,
161
+ 113,
162
+ 137
163
+ ],
164
+ "label": [
165
+ "NORP",
166
+ "CARDINAL",
167
+ "CARDINAL",
168
+ "PRODUCT",
169
+ "LOC"
170
+ ],
171
+ "score": [
172
+ 1.0,
173
+ 1.0,
174
+ 1.0,
175
+ 1.0,
176
+ 1.0
177
+ ],
178
+ "start": [
179
+ 2,
180
+ 40,
181
+ 53,
182
+ 108,
183
+ 122
184
+ ],
185
+ "text": [
186
+ "Russian",
187
+ "three",
188
+ "118",
189
+ "Kursk",
190
+ "the Barents Sea"
191
+ ]
192
+ },
193
+ "entities-suggestion-metadata": {
194
+ "agent": "gold_labels",
195
+ "score": null,
196
+ "type": null
197
+ },
198
+ "external_id": null,
199
+ "metadata": "{}",
200
+ "text": "A Russian diver has found the bodies of three of the 118 sailors who were killed when the nuclear submarine Kursk sank in the Barents Sea ."
201
+ }
202
+ ```
203
+
204
+ ### Data Fields
205
+
206
+ Among the dataset fields, we differentiate between the following:
207
+
208
+ * **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.
209
+
210
+ * **text** is of type `text`.
211
+
212
+ * **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`.
213
+
214
+ * **entities** is of type `span`.
215
+
216
+ * **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.
217
+
218
+ * (optional) **entities-suggestion** is of type `span`.
219
+
220
+
221
+
222
+ Additionally, we also have two more fields that are optional and are the following:
223
+
224
+ * **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`.
225
+ * **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.
226
+
227
+ ### Data Splits
228
+
229
+ The dataset contains a single split, which is `train`.
230
+
231
+ ## Dataset Creation
232
+
233
+ ### Curation Rationale
234
+
235
+ [More Information Needed]
236
+
237
+ ### Source Data
238
+
239
+ #### Initial Data Collection and Normalization
240
+
241
+ [More Information Needed]
242
+
243
+ #### Who are the source language producers?
244
+
245
+ [More Information Needed]
246
+
247
+ ### Annotations
248
+
249
+ #### Annotation guidelines
250
+
251
+ [More Information Needed]
252
+
253
+ #### Annotation process
254
+
255
+ [More Information Needed]
256
+
257
+ #### Who are the annotators?
258
+
259
+ [More Information Needed]
260
+
261
+ ### Personal and Sensitive Information
262
+
263
+ [More Information Needed]
264
+
265
+ ## Considerations for Using the Data
266
+
267
+ ### Social Impact of Dataset
268
+
269
+ [More Information Needed]
270
+
271
+ ### Discussion of Biases
272
+
273
+ [More Information Needed]
274
+
275
+ ### Other Known Limitations
276
+
277
+ [More Information Needed]
278
+
279
+ ## Additional Information
280
+
281
+ ### Dataset Curators
282
+
283
+ [More Information Needed]
284
+
285
+ ### Licensing Information
286
+
287
+ [More Information Needed]
288
+
289
+ ### Citation Information
290
+
291
+ [More Information Needed]
292
+
293
+ ### Contributions
294
+
295
+ [More Information Needed]