dvilasuero HF staff commited on
Commit
3471011
1 Parent(s): c27938b

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +289 -52
README.md CHANGED
@@ -1,55 +1,292 @@
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: 5208494
44
- num_examples: 1030
45
- download_size: 2291723
46
- dataset_size: 5208494
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("argilla/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("argilla/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 | text | True | True |
74
+ | context | Context | 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 | 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
+ "prompt": "Can brain cells move? By movement I mean long distance migration (preferably within the brain only)."
99
+ },
100
+ "metadata": {
101
+ "alpha_ratio": 0.8,
102
+ "automated_readability_index": 6.414375,
103
+ "coleman_liau_index": 10.267499999999998,
104
+ "dependency_distance_mean": 2.0,
105
+ "dependency_distance_std": 0.7999999999999999,
106
+ "doc_length": 20.0,
107
+ "duplicate_line_chr_fraction": 0.0,
108
+ "duplicate_ngram_chr_fraction_10": 0.0,
109
+ "duplicate_ngram_chr_fraction_5": 0.0,
110
+ "duplicate_ngram_chr_fraction_6": 0.0,
111
+ "duplicate_ngram_chr_fraction_7": 0.0,
112
+ "duplicate_ngram_chr_fraction_8": 0.0,
113
+ "duplicate_ngram_chr_fraction_9": 0.0,
114
+ "entropy": 0.4352176404374839,
115
+ "first_order_coherence": 0.2952488958835602,
116
+ "flesch_kincaid_grade": 3.7550000000000026,
117
+ "flesch_reading_ease": 82.39000000000001,
118
+ "gunning_fog": 5.7,
119
+ "lix": 33.0,
120
+ "mean_word_length": 4.25,
121
+ "n_characters": 85,
122
+ "n_sentences": 2,
123
+ "n_stop_words": 7.0,
124
+ "n_tokens": 16,
125
+ "n_unique_tokens": 15,
126
+ "oov_ratio": 0.0,
127
+ "passed_quality_check": "True",
128
+ "per_word_perplexity": 0.07726496709902252,
129
+ "perplexity": 1.5452993419804504,
130
+ "pos_prop_adj": 0.05,
131
+ "pos_prop_adp": 0.1,
132
+ "pos_prop_adv": 0.1,
133
+ "pos_prop_aux": 0.05,
134
+ "pos_prop_cconj": 0.0,
135
+ "pos_prop_det": 0.05,
136
+ "pos_prop_intj": 0.0,
137
+ "pos_prop_noun": 0.3,
138
+ "pos_prop_num": 0.0,
139
+ "pos_prop_part": 0.0,
140
+ "pos_prop_pron": 0.05,
141
+ "pos_prop_propn": 0.0,
142
+ "pos_prop_punct": 0.2,
143
+ "pos_prop_sconj": 0.0,
144
+ "pos_prop_space": 0.0,
145
+ "pos_prop_sym": 0.0,
146
+ "pos_prop_verb": 0.1,
147
+ "pos_prop_x": 0.0,
148
+ "prop_adjacent_dependency_relation_mean": 0.5333333333333333,
149
+ "prop_adjacent_dependency_relation_std": 0.06666666666666665,
150
+ "proportion_bullet_points": 0.0,
151
+ "proportion_ellipsis": 0.0,
152
+ "proportion_unique_tokens": 0.9375,
153
+ "rix": 2.0,
154
+ "second_order_coherence": 0.0,
155
+ "sentence_length_mean": 8.0,
156
+ "sentence_length_median": 8.0,
157
+ "sentence_length_std": 4.0,
158
+ "smog": 0.0,
159
+ "source": "stackexchange",
160
+ "syllables_per_token_mean": 1.375,
161
+ "syllables_per_token_median": 1.0,
162
+ "syllables_per_token_std": 0.5994789404140899,
163
+ "symbol_to_word_ratio_#": 0.0,
164
+ "token_length_mean": 5.0625,
165
+ "token_length_median": 4.5,
166
+ "token_length_std": 2.461421083439402,
167
+ "top_ngram_chr_fraction_2": 0.0,
168
+ "top_ngram_chr_fraction_3": 0.0,
169
+ "top_ngram_chr_fraction_4": 0.0
170
+ },
171
+ "responses": [],
172
+ "suggestions": [
173
+ {
174
+ "agent": null,
175
+ "question_name": "response",
176
+ "score": null,
177
+ "type": null,
178
+ "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)."
179
+ }
180
+ ]
181
+ }
182
+ ```
183
+
184
+ While the same record in HuggingFace `datasets` looks as follows:
185
+
186
+ ```json
187
+ {
188
+ "context": null,
189
+ "external_id": null,
190
+ "metadata": "{\"pos_prop_adj\": 0.05, \"pos_prop_adp\": 0.1, \"pos_prop_adv\": 0.1, \"pos_prop_aux\": 0.05, \"pos_prop_cconj\": 0.0, \"pos_prop_det\": 0.05, \"pos_prop_intj\": 0.0, \"pos_prop_noun\": 0.3, \"pos_prop_num\": 0.0, \"pos_prop_part\": 0.0, \"pos_prop_pron\": 0.05, \"pos_prop_propn\": 0.0, \"pos_prop_punct\": 0.2, \"pos_prop_sconj\": 0.0, \"pos_prop_sym\": 0.0, \"pos_prop_verb\": 0.1, \"pos_prop_x\": 0.0, \"passed_quality_check\": \"True\", \"n_stop_words\": 7.0, \"alpha_ratio\": 0.8, \"mean_word_length\": 4.25, \"doc_length\": 20.0, \"symbol_to_word_ratio_#\": 0.0, \"proportion_ellipsis\": 0.0, \"proportion_bullet_points\": 0.0, \"duplicate_line_chr_fraction\": 0.0, \"duplicate_ngram_chr_fraction_5\": 0.0, \"duplicate_ngram_chr_fraction_6\": 0.0, \"duplicate_ngram_chr_fraction_7\": 0.0, \"duplicate_ngram_chr_fraction_8\": 0.0, \"duplicate_ngram_chr_fraction_9\": 0.0, \"duplicate_ngram_chr_fraction_10\": 0.0, \"top_ngram_chr_fraction_2\": 0.0, \"top_ngram_chr_fraction_3\": 0.0, \"top_ngram_chr_fraction_4\": 0.0, \"oov_ratio\": 0.0, \"entropy\": 0.4352176404374839, \"perplexity\": 1.5452993419804504, \"per_word_perplexity\": 0.07726496709902252, \"dependency_distance_mean\": 2.0, \"dependency_distance_std\": 0.7999999999999999, \"prop_adjacent_dependency_relation_mean\": 0.5333333333333333, \"prop_adjacent_dependency_relation_std\": 0.06666666666666665, \"flesch_reading_ease\": 82.39000000000001, \"flesch_kincaid_grade\": 3.7550000000000026, \"smog\": 0.0, \"gunning_fog\": 5.7, \"automated_readability_index\": 6.414375, \"coleman_liau_index\": 10.267499999999998, \"lix\": 33.0, \"rix\": 2.0, \"token_length_mean\": 5.0625, \"token_length_median\": 4.5, \"token_length_std\": 2.461421083439402, \"sentence_length_mean\": 8.0, \"sentence_length_median\": 8.0, \"sentence_length_std\": 4.0, \"syllables_per_token_mean\": 1.375, \"syllables_per_token_median\": 1.0, \"syllables_per_token_std\": 0.5994789404140899, \"n_tokens\": 16, \"n_unique_tokens\": 15, \"proportion_unique_tokens\": 0.9375, \"n_characters\": 85, \"n_sentences\": 2, \"first_order_coherence\": 0.2952488958835602, \"second_order_coherence\": 0.0, \"pos_prop_space\": 0.0, \"source\": \"stackexchange\"}",
191
+ "prompt": "Can brain cells move? By movement I mean long distance migration (preferably within the brain only).",
192
+ "response": [],
193
+ "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).",
194
+ "response-suggestion-metadata": {
195
+ "agent": null,
196
+ "score": null,
197
+ "type": null
198
+ }
199
+ }
200
+ ```
201
+
202
+ ### Data Fields
203
+
204
+ Among the dataset fields, we differentiate between the following:
205
+
206
+ * **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.
207
+
208
+ * **prompt** is of type `text`.
209
+ * (optional) **context** is of type `text`.
210
+
211
+ * **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`.
212
+
213
+ * **response** is of type `text`.
214
+
215
+ * **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.
216
+
217
+ * (optional) **response-suggestion** is of type `text`.
218
+
219
+ Additionally, we also have two more fields that are optional and are the following:
220
+
221
+ * **✨ 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`.
222
+ * **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.
223
+
224
+ ### Data Splits
225
+
226
+ The dataset contains a single split, which is `train`.
227
+
228
+ ## Dataset Creation
229
+
230
+ ### Curation Rationale
231
+
232
+ [More Information Needed]
233
+
234
+ ### Source Data
235
+
236
+ #### Initial Data Collection and Normalization
237
+
238
+ [More Information Needed]
239
+
240
+ #### Who are the source language producers?
241
+
242
+ [More Information Needed]
243
+
244
+ ### Annotations
245
+
246
+ #### Annotation guidelines
247
+
248
+ 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.
249
+
250
+ #### Annotation process
251
+
252
+ [More Information Needed]
253
+
254
+ #### Who are the annotators?
255
+
256
+ [More Information Needed]
257
+
258
+ ### Personal and Sensitive Information
259
+
260
+ [More Information Needed]
261
+
262
+ ## Considerations for Using the Data
263
+
264
+ ### Social Impact of Dataset
265
+
266
+ [More Information Needed]
267
+
268
+ ### Discussion of Biases
269
+
270
+ [More Information Needed]
271
+
272
+ ### Other Known Limitations
273
+
274
+ [More Information Needed]
275
+
276
+ ## Additional Information
277
+
278
+ ### Dataset Curators
279
+
280
+ [More Information Needed]
281
+
282
+ ### Licensing Information
283
+
284
+ [More Information Needed]
285
+
286
+ ### Citation Information
287
+
288
+ [More Information Needed]
289
+
290
+ ### Contributions
291
+
292
+ [More Information Needed]