joheras commited on
Commit
aea5d3d
·
verified ·
1 Parent(s): 6542f4c

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. .argilla/dataset.json +1 -0
  2. .argilla/settings.json +1 -0
  3. README.md +182 -29
.argilla/dataset.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"id": "c8e08775-b248-4205-8388-084e56d4093b", "inserted_at": "2025-02-04T07:34:26.911097", "updated_at": "2025-02-04T07:34:27.228788", "name": "anotaciones Mapi", "status": "ready", "guidelines": "These are some guidelines", "allow_extra_metadata": false, "distribution": {"strategy": "overlap", "min_submitted": 1}, "workspace_id": "a80aa9e3-bf31-417f-853e-dea0ce43f33a", "last_activity_at": "2025-02-04T07:34:27.228788"}
.argilla/settings.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"guidelines": "These are some guidelines", "questions": [{"id": "940ef56c-b7de-4a48-8fd3-9ad61a3d01cc", "inserted_at": "2025-02-04T07:34:27.123574", "updated_at": "2025-02-04T07:34:27.123574", "name": "label", "settings": {"type": "label_selection", "options": [{"value": "Ser", "text": "Ser", "description": null}, {"value": "Estar", "text": "Estar", "description": null}, {"value": "Ambas", "text": "Ambas", "description": null}, {"value": "Ninguna", "text": "Ninguna", "description": null}], "visible_options": 4}, "title": "\u00bfQu\u00e9 frase es correcta?", "description": null, "required": true, "dataset_id": "c8e08775-b248-4205-8388-084e56d4093b", "type": "label_selection"}, {"id": "bead19ee-80dc-43fb-902d-17800e1f0514", "inserted_at": "2025-02-04T07:34:27.179079", "updated_at": "2025-02-04T07:34:27.179079", "name": "comments", "settings": {"type": "text", "use_markdown": false}, "title": "Comentarios", "description": null, "required": false, "dataset_id": "c8e08775-b248-4205-8388-084e56d4093b", "type": "text"}], "fields": [{"id": "31511bc1-7d27-45da-9d33-eb058c1d6050", "inserted_at": "2025-02-04T07:34:27.029103", "updated_at": "2025-02-04T07:34:27.029103", "name": "Ser", "settings": {"type": "text", "use_markdown": false}, "title": "Ser", "required": true, "description": null, "dataset_id": "c8e08775-b248-4205-8388-084e56d4093b", "type": "text"}, {"id": "0a7e8b11-2345-46ec-b919-f5b408973b3c", "inserted_at": "2025-02-04T07:34:27.075990", "updated_at": "2025-02-04T07:34:27.075990", "name": "Estar", "settings": {"type": "text", "use_markdown": false}, "title": "Estar", "required": true, "description": null, "dataset_id": "c8e08775-b248-4205-8388-084e56d4093b", "type": "text"}], "vectors": [], "metadata": [], "allow_extra_metadata": false, "distribution": {"strategy": "overlap", "min_submitted": 1}, "mapping": null}
README.md CHANGED
@@ -1,31 +1,184 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: id
5
- dtype: string
6
- - name: status
7
- dtype: string
8
- - name: _server_id
9
- dtype: string
10
- - name: Ser
11
- dtype: string
12
- - name: Estar
13
- dtype: string
14
- - name: label.responses.status
15
- sequence: string
16
- - name: label.responses
17
- sequence: string
18
- - name: label.responses.users
19
- sequence: string
20
- splits:
21
- - name: train
22
- num_bytes: 235427
23
- num_examples: 500
24
- download_size: 139621
25
- dataset_size: 235427
26
- configs:
27
- - config_name: default
28
- data_files:
29
- - split: train
30
- path: data/train-*
31
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ size_categories: n<1K
3
+ tags:
4
+ - rlfh
5
+ - argilla
6
+ - human-feedback
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  ---
8
+
9
+ # Dataset Card for anotaciones_mapi
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+ This dataset has been created with [Argilla](https://github.com/argilla-io/argilla). As shown in the sections below, this dataset can be loaded into your Argilla server as explained in [Load with Argilla](#load-with-argilla), or used directly with the `datasets` library in [Load with `datasets`](#load-with-datasets).
18
+
19
+
20
+ ## Using this dataset with Argilla
21
+
22
+ To load with Argilla, you'll just need to install Argilla as `pip install argilla --upgrade` and then use the following code:
23
+
24
+ ```python
25
+ import argilla as rg
26
+
27
+ ds = rg.Dataset.from_hub("joheras/anotaciones_mapi", settings="auto")
28
+ ```
29
+
30
+ This will load the settings and records from the dataset repository and push them to you Argilla server for exploration and annotation.
31
+
32
+ ## Using this dataset with `datasets`
33
+
34
+ To load the records of this dataset with `datasets`, you'll just need to install `datasets` as `pip install datasets --upgrade` and then use the following code:
35
+
36
+ ```python
37
+ from datasets import load_dataset
38
+
39
+ ds = load_dataset("joheras/anotaciones_mapi")
40
+ ```
41
+
42
+ This will only load the records of the dataset, but not the Argilla settings.
43
+
44
+ ## Dataset Structure
45
+
46
+ This dataset repo contains:
47
+
48
+ * Dataset records in a format compatible with HuggingFace `datasets`. These records will be loaded automatically when using `rg.Dataset.from_hub` and can be loaded independently using the `datasets` library via `load_dataset`.
49
+ * The [annotation guidelines](#annotation-guidelines) that have been used for building and curating the dataset, if they've been defined in Argilla.
50
+ * A dataset configuration folder conforming to the Argilla dataset format in `.argilla`.
51
+
52
+ The dataset is created in Argilla with: **fields**, **questions**, **suggestions**, **metadata**, **vectors**, and **guidelines**.
53
+
54
+ ### Fields
55
+
56
+ The **fields** are the features or text of a dataset's records. For example, the 'text' column of a text classification dataset of the 'prompt' column of an instruction following dataset.
57
+
58
+ | Field Name | Title | Type | Required | Markdown |
59
+ | ---------- | ----- | ---- | -------- | -------- |
60
+ | Ser | Ser | text | True | False |
61
+ | Estar | Estar | text | True | False |
62
+
63
+
64
+ ### Questions
65
+
66
+ 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.
67
+
68
+ | Question Name | Title | Type | Required | Description | Values/Labels |
69
+ | ------------- | ----- | ---- | -------- | ----------- | ------------- |
70
+ | label | ¿Qué frase es correcta? | label_selection | True | N/A | ['Ser', 'Estar', 'Ambas', 'Ninguna'] |
71
+ | comments | Comentarios | text | False | N/A | N/A |
72
+
73
+
74
+ <!-- check length of metadata properties -->
75
+
76
+
77
+
78
+
79
+
80
+ ### Data Instances
81
+
82
+ An example of a dataset instance in Argilla looks as follows:
83
+
84
+ ```json
85
+ {
86
+ "_server_id": "1a7eb41f-a221-4a20-80e3-9998a41392ce",
87
+ "fields": {
88
+ "Estar": " para el 2020 se fija la meta de reducir considerablemente la proporci\u00f3n de j\u00f3venes que no est\u00e9n empleados y no cursan estudios ni reciben capacitaci\u00f3n",
89
+ "Ser": " para el 2020 se fija la meta de reducir considerablemente la proporci\u00f3n de j\u00f3venes que no sean empleados y no cursan estudios ni reciben capacitaci\u00f3n"
90
+ },
91
+ "id": "train_0",
92
+ "metadata": {},
93
+ "responses": {},
94
+ "status": "pending",
95
+ "suggestions": {},
96
+ "vectors": {}
97
+ }
98
+ ```
99
+
100
+ While the same record in HuggingFace `datasets` looks as follows:
101
+
102
+ ```json
103
+ {
104
+ "Estar": " para el 2020 se fija la meta de reducir considerablemente la proporci\u00f3n de j\u00f3venes que no est\u00e9n empleados y no cursan estudios ni reciben capacitaci\u00f3n",
105
+ "Ser": " para el 2020 se fija la meta de reducir considerablemente la proporci\u00f3n de j\u00f3venes que no sean empleados y no cursan estudios ni reciben capacitaci\u00f3n",
106
+ "_server_id": "1a7eb41f-a221-4a20-80e3-9998a41392ce",
107
+ "id": "train_0",
108
+ "label.responses": null,
109
+ "label.responses.status": null,
110
+ "label.responses.users": null,
111
+ "status": "pending"
112
+ }
113
+ ```
114
+
115
+
116
+ ### Data Splits
117
+
118
+ The dataset contains a single split, which is `train`.
119
+
120
+ ## Dataset Creation
121
+
122
+ ### Curation Rationale
123
+
124
+ [More Information Needed]
125
+
126
+ ### Source Data
127
+
128
+ #### Initial Data Collection and Normalization
129
+
130
+ [More Information Needed]
131
+
132
+ #### Who are the source language producers?
133
+
134
+ [More Information Needed]
135
+
136
+ ### Annotations
137
+
138
+ #### Annotation guidelines
139
+
140
+ These are some guidelines
141
+
142
+ #### Annotation process
143
+
144
+ [More Information Needed]
145
+
146
+ #### Who are the annotators?
147
+
148
+ [More Information Needed]
149
+
150
+ ### Personal and Sensitive Information
151
+
152
+ [More Information Needed]
153
+
154
+ ## Considerations for Using the Data
155
+
156
+ ### Social Impact of Dataset
157
+
158
+ [More Information Needed]
159
+
160
+ ### Discussion of Biases
161
+
162
+ [More Information Needed]
163
+
164
+ ### Other Known Limitations
165
+
166
+ [More Information Needed]
167
+
168
+ ## Additional Information
169
+
170
+ ### Dataset Curators
171
+
172
+ [More Information Needed]
173
+
174
+ ### Licensing Information
175
+
176
+ [More Information Needed]
177
+
178
+ ### Citation Information
179
+
180
+ [More Information Needed]
181
+
182
+ ### Contributions
183
+
184
+ [More Information Needed]