nataliaElv HF staff commited on
Commit
28fd3a2
1 Parent(s): ab27d18

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +225 -52
README.md CHANGED
@@ -1,55 +1,228 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: prompt
5
- dtype: string
6
- id: field
7
- - name: context
8
- dtype: string
9
- id: field
10
- - name: response
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: response-suggestion
22
- dtype: string
23
- id: suggestion
24
- - name: response-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: 3008948
44
- num_examples: 1030
45
- download_size: 1725692
46
- dataset_size: 3008948
47
- configs:
48
- - config_name: default
49
- data_files:
50
- - split: train
51
- path: data/train-*
52
  ---
53
- # Dataset Card for "text-descriptives-metadata"
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: 1K<n<10K
3
+ tags:
4
+ - rlfh
5
+ - argilla
6
+ - human-feedback
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  ---
 
8
 
9
+ # Dataset Card for text-descriptives-metadata
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("nataliaElv/text-descriptives-metadata")
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("nataliaElv/text-descriptives-metadata")
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**, 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
+ | prompt | Prompt | FieldTypes.text | True | True |
74
+ | context | Context | FieldTypes.text | False | True |
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, label_selection, multi_label_selection, or ranking.
78
+
79
+ | Question Name | Title | Type | Required | Description | Values/Labels |
80
+ | ------------- | ----- | ---- | -------- | ----------- | ------------- |
81
+ | response | Response | QuestionTypes.text | True | N/A | N/A |
82
+
83
+
84
+ 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".
85
+
86
+ **✨ NEW** 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`.
87
+
88
+ 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.
89
+
90
+ ### Data Instances
91
+
92
+ An example of a dataset instance in Argilla looks as follows:
93
+
94
+ ```json
95
+ {
96
+ "external_id": null,
97
+ "fields": {
98
+ "context": null,
99
+ "prompt": "Can brain cells move? By movement I mean long distance migration (preferably within the brain only)."
100
+ },
101
+ "metadata": {
102
+ "entropy": 0.4352176404374839,
103
+ "flesch_reading_ease": 82.39000000000001,
104
+ "n_characters": 85,
105
+ "passed_quality_check": "True"
106
+ },
107
+ "responses": [],
108
+ "suggestions": [
109
+ {
110
+ "agent": null,
111
+ "question_name": "response",
112
+ "score": null,
113
+ "type": null,
114
+ "value": "The question is relatively broad and one should take into account that the brain not only consists of neurons, but also glial cells (supportive cells) and pre-mitotic neuronal stem cells. Furthermore, as critical fellow-scientists have indicated, developmental stage is very important, as the developing embryonic brain is very different from the adult brain.\nHowever, after sifting through various publications, the answer to the question is actually remarkably simple: Yes, brain cells migrate.\nIn the adult brain glial cells migrate in the brain (Kl\u00e4mbt, 2009). Glial cells are involved in a myriad of functions, but a notable example of migrating glial cells are the oligodendrocytes that migrate relative long distances to find their target axons onto which they wrap themselves to form the insulating myelin sheath (Tsai and Miller, 2002).\nNeuronal stem cells migrate over long distances in response to injury (Imitola et al., 2004) and they migrate from specific stem-cell locations (e.g., hippocampus and subventricular zone) to other regions (Clarke, 2003).\nPost-mitotic, but non-differentiated neurons have been shown to migrate in the adult brain in fish (Scott et al., 2012), and in mammals and non-human primates as well (Sawada et al., 2011).\nNot surprisingly, glial cells, stem cells and neurons also migrate during embryonic development. Most notably, post-mitotic neurons destined to fulfill peripheral functions have to migrate over relatively long distances from the neural crest to their target locations (Neuroscience, 2nd ed, Neuronal Migration)."
115
+ }
116
+ ]
117
+ }
118
+ ```
119
+
120
+ While the same record in HuggingFace `datasets` looks as follows:
121
+
122
+ ```json
123
+ {
124
+ "context": null,
125
+ "external_id": null,
126
+ "metadata": "{\"n_characters\": 85, \"passed_quality_check\": \"True\", \"flesch_reading_ease\": 82.39000000000001, \"entropy\": 0.4352176404374839}",
127
+ "prompt": "Can brain cells move? By movement I mean long distance migration (preferably within the brain only).",
128
+ "response": [],
129
+ "response-suggestion": "The question is relatively broad and one should take into account that the brain not only consists of neurons, but also glial cells (supportive cells) and pre-mitotic neuronal stem cells. Furthermore, as critical fellow-scientists have indicated, developmental stage is very important, as the developing embryonic brain is very different from the adult brain.\nHowever, after sifting through various publications, the answer to the question is actually remarkably simple: Yes, brain cells migrate.\nIn the adult brain glial cells migrate in the brain (Kl\u00e4mbt, 2009). Glial cells are involved in a myriad of functions, but a notable example of migrating glial cells are the oligodendrocytes that migrate relative long distances to find their target axons onto which they wrap themselves to form the insulating myelin sheath (Tsai and Miller, 2002).\nNeuronal stem cells migrate over long distances in response to injury (Imitola et al., 2004) and they migrate from specific stem-cell locations (e.g., hippocampus and subventricular zone) to other regions (Clarke, 2003).\nPost-mitotic, but non-differentiated neurons have been shown to migrate in the adult brain in fish (Scott et al., 2012), and in mammals and non-human primates as well (Sawada et al., 2011).\nNot surprisingly, glial cells, stem cells and neurons also migrate during embryonic development. Most notably, post-mitotic neurons destined to fulfill peripheral functions have to migrate over relatively long distances from the neural crest to their target locations (Neuroscience, 2nd ed, Neuronal Migration).",
130
+ "response-suggestion-metadata": {
131
+ "agent": null,
132
+ "score": null,
133
+ "type": null
134
+ }
135
+ }
136
+ ```
137
+
138
+ ### Data Fields
139
+
140
+ Among the dataset fields, we differentiate between the following:
141
+
142
+ * **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.
143
+
144
+ * **prompt** is of type `FieldTypes.text`.
145
+ * (optional) **context** is of type `FieldTypes.text`.
146
+
147
+ * **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`.
148
+
149
+ * **response** is of type `QuestionTypes.text`.
150
+
151
+ * **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.
152
+
153
+ * (optional) **response-suggestion** is of type `QuestionTypes.text`.
154
+
155
+ Additionally, we also have two more fields that are optional and are the following:
156
+
157
+ * **✨ NEW** **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`.
158
+ * **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.
159
+
160
+ ### Data Splits
161
+
162
+ The dataset contains a single split, which is `train`.
163
+
164
+ ## Dataset Creation
165
+
166
+ ### Curation Rationale
167
+
168
+ [More Information Needed]
169
+
170
+ ### Source Data
171
+
172
+ #### Initial Data Collection and Normalization
173
+
174
+ [More Information Needed]
175
+
176
+ #### Who are the source language producers?
177
+
178
+ [More Information Needed]
179
+
180
+ ### Annotations
181
+
182
+ #### Annotation guidelines
183
+
184
+ This is a supervised fine-tuning dataset that contains instructions. Please write the response to the instruction in the response field. Take the context into account when writing the response.
185
+
186
+ #### Annotation process
187
+
188
+ [More Information Needed]
189
+
190
+ #### Who are the annotators?
191
+
192
+ [More Information Needed]
193
+
194
+ ### Personal and Sensitive Information
195
+
196
+ [More Information Needed]
197
+
198
+ ## Considerations for Using the Data
199
+
200
+ ### Social Impact of Dataset
201
+
202
+ [More Information Needed]
203
+
204
+ ### Discussion of Biases
205
+
206
+ [More Information Needed]
207
+
208
+ ### Other Known Limitations
209
+
210
+ [More Information Needed]
211
+
212
+ ## Additional Information
213
+
214
+ ### Dataset Curators
215
+
216
+ [More Information Needed]
217
+
218
+ ### Licensing Information
219
+
220
+ [More Information Needed]
221
+
222
+ ### Citation Information
223
+
224
+ [More Information Needed]
225
+
226
+ ### Contributions
227
+
228
+ [More Information Needed]