Alec Sánchez Montero
commited on
Commit
•
f66d2de
1
Parent(s):
4b3d47d
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -1,54 +1,256 @@
|
|
1 |
---
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
- name: content_class
|
8 |
-
list:
|
9 |
-
- name: user_id
|
10 |
-
dtype: string
|
11 |
-
id: question
|
12 |
-
- name: value
|
13 |
-
sequence: string
|
14 |
-
id: suggestion
|
15 |
-
- name: status
|
16 |
-
dtype: string
|
17 |
-
id: question
|
18 |
-
- name: content_class-suggestion
|
19 |
-
sequence: string
|
20 |
-
id: suggestion
|
21 |
-
- name: content_class-suggestion-metadata
|
22 |
-
struct:
|
23 |
-
- name: type
|
24 |
-
dtype: string
|
25 |
-
id: suggestion-metadata
|
26 |
-
- name: score
|
27 |
-
dtype: float32
|
28 |
-
id: suggestion-metadata
|
29 |
-
- name: agent
|
30 |
-
dtype: string
|
31 |
-
id: suggestion-metadata
|
32 |
-
- name: external_id
|
33 |
-
dtype: string
|
34 |
-
id: external_id
|
35 |
-
- name: metadata
|
36 |
-
dtype: string
|
37 |
-
id: metadata
|
38 |
-
- name: vectors
|
39 |
-
struct:
|
40 |
-
- name: sentence_embeddings
|
41 |
-
sequence: float32
|
42 |
-
id: vectors
|
43 |
-
splits:
|
44 |
-
- name: train
|
45 |
-
num_bytes: 1418227
|
46 |
-
num_examples: 3733
|
47 |
-
download_size: 608241
|
48 |
-
dataset_size: 1418227
|
49 |
-
configs:
|
50 |
-
- config_name: default
|
51 |
-
data_files:
|
52 |
-
- split: train
|
53 |
-
path: data/train-*
|
54 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
---
|
8 |
+
|
9 |
+
# Dataset Card for popscitweetsbyarea
|
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("teoremaclon/popscitweetsbyarea")
|
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("teoremaclon/popscitweetsbyarea")
|
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 |
+
| texto | Texto | 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 |
+
| content_class | ¿Cuáles de las siguientes etiquetas describen el contenido del tuit? | multi_label_selection | True | N/A | ['astronomía y espacio', 'matemáticas', 'física', 'biología', 'medicina y salud', 'tecnología', 'química', 'historia de la ciencia', 'ingeniería', 'computación', 'ciencias de la tierra', 'materia y energia', 'psicología', 'invitación a evento o a recursos', 'efeméride', 'mujeres en la ciencia', 'cultura pop', 'otro'] |
|
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 |
+
**✨ NEW** The **vectors** are different columns that contain a vector in floating point, which is constraint to the pre-defined dimensions in the **vectors_settings** when configuring the vectors within the dataset itself, also the dimensions will always be 1-dimensional. The **vectors** are optional and identified by the pre-defined vector name in the dataset configuration file in `argilla.yaml`.
|
89 |
+
|
90 |
+
| Vector Name | Title | Dimensions |
|
91 |
+
|-------------|-------|------------|
|
92 |
+
| sentence_embeddings | sentence_embeddings | [1, 768] |
|
93 |
+
|
94 |
+
|
95 |
+
|
96 |
+
| Metadata Name | Title | Type | Values | Visible for Annotators |
|
97 |
+
| ------------- | ----- | ---- | ------ | ---------------------- |
|
98 |
+
|
99 |
+
|
100 |
+
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.
|
101 |
+
|
102 |
+
### Data Instances
|
103 |
+
|
104 |
+
An example of a dataset instance in Argilla looks as follows:
|
105 |
+
|
106 |
+
```json
|
107 |
+
{
|
108 |
+
"external_id": null,
|
109 |
+
"fields": {
|
110 |
+
"texto": "El hoyo negro del centro de nuestra galaxia, Sgr A* , cuya masa es de 4 millones de masas solares, posee una compa\u00f1era, que tambi\u00e9n es un hoyo negro, su masa es de 100 000 masas solares, se llama S2 y gira en torno de la primera a una velocidad de 26 millones de km/hr. (ESO) https://t.co/G6rdxEqVom"
|
111 |
+
},
|
112 |
+
"metadata": {},
|
113 |
+
"responses": [
|
114 |
+
{
|
115 |
+
"status": "submitted",
|
116 |
+
"user_id": "78a97af9-bf0a-4a17-b254-eb4b22c4cab1",
|
117 |
+
"values": {
|
118 |
+
"content_class": {
|
119 |
+
"value": [
|
120 |
+
"astronom\u00eda y espacio",
|
121 |
+
"f\u00edsica"
|
122 |
+
]
|
123 |
+
}
|
124 |
+
}
|
125 |
+
}
|
126 |
+
],
|
127 |
+
"suggestions": [],
|
128 |
+
"vectors": {}
|
129 |
+
}
|
130 |
+
```
|
131 |
+
|
132 |
+
While the same record in HuggingFace `datasets` looks as follows:
|
133 |
+
|
134 |
+
```json
|
135 |
+
{
|
136 |
+
"content_class": [
|
137 |
+
{
|
138 |
+
"status": "submitted",
|
139 |
+
"user_id": "78a97af9-bf0a-4a17-b254-eb4b22c4cab1",
|
140 |
+
"value": [
|
141 |
+
"astronom\u00eda y espacio",
|
142 |
+
"f\u00edsica"
|
143 |
+
]
|
144 |
+
}
|
145 |
+
],
|
146 |
+
"content_class-suggestion": null,
|
147 |
+
"content_class-suggestion-metadata": {
|
148 |
+
"agent": null,
|
149 |
+
"score": null,
|
150 |
+
"type": null
|
151 |
+
},
|
152 |
+
"external_id": null,
|
153 |
+
"metadata": "{}",
|
154 |
+
"texto": "El hoyo negro del centro de nuestra galaxia, Sgr A* , cuya masa es de 4 millones de masas solares, posee una compa\u00f1era, que tambi\u00e9n es un hoyo negro, su masa es de 100 000 masas solares, se llama S2 y gira en torno de la primera a una velocidad de 26 millones de km/hr. (ESO) https://t.co/G6rdxEqVom",
|
155 |
+
"vectors": {
|
156 |
+
"sentence_embeddings": null
|
157 |
+
}
|
158 |
+
}
|
159 |
+
```
|
160 |
+
|
161 |
+
### Data Fields
|
162 |
+
|
163 |
+
Among the dataset fields, we differentiate between the following:
|
164 |
+
|
165 |
+
* **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.
|
166 |
+
|
167 |
+
* **texto** is of type `text`.
|
168 |
+
|
169 |
+
* **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`.
|
170 |
+
|
171 |
+
* **content_class** is of type `multi_label_selection` with the following allowed values ['astronomía y espacio', 'matemáticas', 'física', 'biología', 'medicina y salud', 'tecnología', 'química', 'historia de la ciencia', 'ingeniería', 'computación', 'ciencias de la tierra', 'materia y energia', 'psicología', 'invitación a evento o a recursos', 'efeméride', 'mujeres en la ciencia', 'cultura pop', 'otro'].
|
172 |
+
|
173 |
+
* **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.
|
174 |
+
|
175 |
+
* (optional) **content_class-suggestion** is of type `multi_label_selection` with the following allowed values ['astronomía y espacio', 'matemáticas', 'física', 'biología', 'medicina y salud', 'tecnología', 'química', 'historia de la ciencia', 'ingeniería', 'computación', 'ciencias de la tierra', 'materia y energia', 'psicología', 'invitación a evento o a recursos', 'efeméride', 'mujeres en la ciencia', 'cultura pop', 'otro'].
|
176 |
+
|
177 |
+
|
178 |
+
* **✨ NEW** **Vectors**: As of Argilla 1.19.0, the vectors have been included in order to add support for similarity search to explore similar records based on vector search powered by the search engine defined. The vectors are optional and cannot be seen within the UI, those are uploaded and internally used. Also the vectors will always be optional, and only the dimensions previously defined in their settings.
|
179 |
+
|
180 |
+
* (optional) **sentence_embeddings** is of type `float32` and has a dimension of (1, `768`).
|
181 |
+
|
182 |
+
|
183 |
+
Additionally, we also have two more fields that are optional and are the following:
|
184 |
+
|
185 |
+
* **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`.
|
186 |
+
* **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.
|
187 |
+
|
188 |
+
### Data Splits
|
189 |
+
|
190 |
+
The dataset contains a single split, which is `train`.
|
191 |
+
|
192 |
+
## Dataset Creation
|
193 |
+
|
194 |
+
### Curation Rationale
|
195 |
+
|
196 |
+
[More Information Needed]
|
197 |
+
|
198 |
+
### Source Data
|
199 |
+
|
200 |
+
#### Initial Data Collection and Normalization
|
201 |
+
|
202 |
+
[More Information Needed]
|
203 |
+
|
204 |
+
#### Who are the source language producers?
|
205 |
+
|
206 |
+
[More Information Needed]
|
207 |
+
|
208 |
+
### Annotations
|
209 |
+
|
210 |
+
#### Annotation guidelines
|
211 |
+
|
212 |
+
Por favor, lee con cuidado cada tuit y trata de colocar todas las etiquetas que describan su contenido.
|
213 |
+
|
214 |
+
#### Annotation process
|
215 |
+
|
216 |
+
[More Information Needed]
|
217 |
+
|
218 |
+
#### Who are the annotators?
|
219 |
+
|
220 |
+
[More Information Needed]
|
221 |
+
|
222 |
+
### Personal and Sensitive Information
|
223 |
+
|
224 |
+
[More Information Needed]
|
225 |
+
|
226 |
+
## Considerations for Using the Data
|
227 |
+
|
228 |
+
### Social Impact of Dataset
|
229 |
+
|
230 |
+
[More Information Needed]
|
231 |
+
|
232 |
+
### Discussion of Biases
|
233 |
+
|
234 |
+
[More Information Needed]
|
235 |
+
|
236 |
+
### Other Known Limitations
|
237 |
+
|
238 |
+
[More Information Needed]
|
239 |
+
|
240 |
+
## Additional Information
|
241 |
+
|
242 |
+
### Dataset Curators
|
243 |
+
|
244 |
+
[More Information Needed]
|
245 |
+
|
246 |
+
### Licensing Information
|
247 |
+
|
248 |
+
[More Information Needed]
|
249 |
+
|
250 |
+
### Citation Information
|
251 |
+
|
252 |
+
[More Information Needed]
|
253 |
+
|
254 |
+
### Contributions
|
255 |
+
|
256 |
+
[More Information Needed]
|