Jszabo16 commited on
Commit
e612d46
·
verified ·
1 Parent(s): a5f033f

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. .argilla/dataset.json +44 -0
  2. .argilla/settings.json +306 -0
  3. .argilla/version.json +3 -0
  4. README.md +156 -69
.argilla/dataset.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "f533b0c7-be54-4038-9611-75a437c12821",
3
+ "name": "training_sample1",
4
+ "guidelines": null,
5
+ "allow_extra_metadata": false,
6
+ "status": "ready",
7
+ "distribution": {
8
+ "strategy": "overlap",
9
+ "min_submitted": 2
10
+ },
11
+ "metadata": {
12
+ "repoId": "Jszabo16/training_sample1",
13
+ "subset": "default",
14
+ "split": "train",
15
+ "mapping": {
16
+ "fields": [
17
+ {
18
+ "source": "Name",
19
+ "target": "Name"
20
+ },
21
+ {
22
+ "source": "Transcript_chunks",
23
+ "target": "Transcript_chunks"
24
+ }
25
+ ],
26
+ "metadata": [
27
+ {
28
+ "source": "Unique_ID",
29
+ "target": "Unique_ID"
30
+ },
31
+ {
32
+ "source": "Year",
33
+ "target": "Year"
34
+ }
35
+ ],
36
+ "suggestions": []
37
+ },
38
+ "imported": "UI"
39
+ },
40
+ "workspace_id": "dbece7f0-3b35-42b8-b746-85f67e7a32a3",
41
+ "last_activity_at": "2025-10-28T16:19:51.247101",
42
+ "inserted_at": "2025-07-21T15:15:25.756652",
43
+ "updated_at": "2025-07-21T15:20:11.759633"
44
+ }
.argilla/settings.json ADDED
@@ -0,0 +1,306 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "guidelines": null,
3
+ "allow_extra_metadata": false,
4
+ "distribution": {
5
+ "strategy": "overlap",
6
+ "min_submitted": 2
7
+ },
8
+ "fields": [
9
+ {
10
+ "id": "69aca48d-651a-4c34-8a74-110584ec4ada",
11
+ "name": "Name",
12
+ "title": "Name",
13
+ "required": false,
14
+ "settings": {
15
+ "type": "text",
16
+ "use_markdown": false
17
+ },
18
+ "dataset_id": "f533b0c7-be54-4038-9611-75a437c12821",
19
+ "inserted_at": "2025-07-21T15:15:26.081736",
20
+ "updated_at": "2025-07-21T15:15:26.081736"
21
+ },
22
+ {
23
+ "id": "6105fe4d-1000-460f-afe7-a5c5c34a12b5",
24
+ "name": "Transcript_chunks",
25
+ "title": "Transcript_chunks",
26
+ "required": false,
27
+ "settings": {
28
+ "type": "text",
29
+ "use_markdown": false
30
+ },
31
+ "dataset_id": "f533b0c7-be54-4038-9611-75a437c12821",
32
+ "inserted_at": "2025-07-21T15:15:26.342065",
33
+ "updated_at": "2025-07-21T15:15:26.342065"
34
+ }
35
+ ],
36
+ "questions": [
37
+ {
38
+ "id": "24c943c1-e71b-4431-8010-0cff4c1d3056",
39
+ "name": "label_0",
40
+ "title": "Postoj",
41
+ "description": "CELKOVÝ POSTOJ k EÚ vyjadrený rečníkom/rečníčkou pri prednese prejavu",
42
+ "required": true,
43
+ "settings": {
44
+ "type": "label_selection",
45
+ "options": [
46
+ {
47
+ "value": "for",
48
+ "text": "for",
49
+ "description": null
50
+ },
51
+ {
52
+ "value": "against",
53
+ "text": "against",
54
+ "description": null
55
+ },
56
+ {
57
+ "value": "neutral",
58
+ "text": "neutral",
59
+ "description": null
60
+ }
61
+ ],
62
+ "visible_options": null
63
+ },
64
+ "dataset_id": "f533b0c7-be54-4038-9611-75a437c12821",
65
+ "inserted_at": "2025-07-21T15:15:26.611955",
66
+ "updated_at": "2025-07-21T15:16:58.925156"
67
+ },
68
+ {
69
+ "id": "e16101d6-77c8-4092-99a0-05899d878a5b",
70
+ "name": "span_1",
71
+ "title": "Highlight postoj",
72
+ "description": null,
73
+ "required": true,
74
+ "settings": {
75
+ "type": "span",
76
+ "field": "Transcript_chunks",
77
+ "options": [
78
+ {
79
+ "value": "for",
80
+ "text": "for",
81
+ "description": null
82
+ },
83
+ {
84
+ "value": "against",
85
+ "text": "against",
86
+ "description": null
87
+ },
88
+ {
89
+ "value": "neutral",
90
+ "text": "neutral",
91
+ "description": null
92
+ }
93
+ ],
94
+ "visible_options": null,
95
+ "allow_overlapping": true,
96
+ "allow_character_annotation": true
97
+ },
98
+ "dataset_id": "f533b0c7-be54-4038-9611-75a437c12821",
99
+ "inserted_at": "2025-07-21T15:15:26.901506",
100
+ "updated_at": "2025-07-21T15:20:18.453086"
101
+ },
102
+ {
103
+ "id": "880a999a-5702-4a45-b59f-ba5ad55e7d93",
104
+ "name": "label_2",
105
+ "title": "Sentiment",
106
+ "description": "CELKOVÝ SENTIMENT analyzovaného dokumentu vyjadrený rečníkom/rečníčkou pri prednese prejavu",
107
+ "required": true,
108
+ "settings": {
109
+ "type": "label_selection",
110
+ "options": [
111
+ {
112
+ "value": "positive",
113
+ "text": "positive",
114
+ "description": null
115
+ },
116
+ {
117
+ "value": "negative",
118
+ "text": "negative",
119
+ "description": null
120
+ },
121
+ {
122
+ "value": "neutral",
123
+ "text": "neutral",
124
+ "description": null
125
+ }
126
+ ],
127
+ "visible_options": null
128
+ },
129
+ "dataset_id": "f533b0c7-be54-4038-9611-75a437c12821",
130
+ "inserted_at": "2025-07-21T15:15:27.191322",
131
+ "updated_at": "2025-07-21T15:17:54.927114"
132
+ },
133
+ {
134
+ "id": "7eefce32-ca76-4294-8f6e-d842454bb585",
135
+ "name": "text_5",
136
+ "title": "Sentiment odôvodnenie",
137
+ "description": null,
138
+ "required": true,
139
+ "settings": {
140
+ "type": "text",
141
+ "use_markdown": false
142
+ },
143
+ "dataset_id": "f533b0c7-be54-4038-9611-75a437c12821",
144
+ "inserted_at": "2025-07-21T15:15:27.488821",
145
+ "updated_at": "2025-07-21T15:20:22.875724"
146
+ },
147
+ {
148
+ "id": "15f7f37e-81d9-4de4-8cb7-c4888d91744e",
149
+ "name": "multi-label_4",
150
+ "title": "Topic CAP 21",
151
+ "description": "Master CAP Codebook https://comparativeagendas.net/pages/master-codebook",
152
+ "required": true,
153
+ "settings": {
154
+ "type": "multi_label_selection",
155
+ "options": [
156
+ {
157
+ "value": "1. Macroeconomics",
158
+ "text": "1. Macroeconomics",
159
+ "description": null
160
+ },
161
+ {
162
+ "value": "2. Civil Rights",
163
+ "text": " 2. Civil Rights",
164
+ "description": null
165
+ },
166
+ {
167
+ "value": "3. Health",
168
+ "text": " 3. Health",
169
+ "description": null
170
+ },
171
+ {
172
+ "value": "4. Agriculture",
173
+ "text": " 4. Agriculture",
174
+ "description": null
175
+ },
176
+ {
177
+ "value": "5. Labor",
178
+ "text": " 5. Labor",
179
+ "description": null
180
+ },
181
+ {
182
+ "value": "6. Education",
183
+ "text": " 6. Education",
184
+ "description": null
185
+ },
186
+ {
187
+ "value": "7. Environment",
188
+ "text": " 7. Environment",
189
+ "description": null
190
+ },
191
+ {
192
+ "value": "8. Energy",
193
+ "text": " 8. Energy",
194
+ "description": null
195
+ },
196
+ {
197
+ "value": "9. Immigration",
198
+ "text": " 9. Immigration",
199
+ "description": null
200
+ },
201
+ {
202
+ "value": "10. Transportation",
203
+ "text": " 10. Transportation",
204
+ "description": null
205
+ },
206
+ {
207
+ "value": "12. Law and Crime",
208
+ "text": " 12. Law and Crime",
209
+ "description": null
210
+ },
211
+ {
212
+ "value": "13. Social Welfare",
213
+ "text": " 13. Social Welfare",
214
+ "description": null
215
+ },
216
+ {
217
+ "value": "14. Housing",
218
+ "text": " 14. Housing",
219
+ "description": null
220
+ },
221
+ {
222
+ "value": "15. Banking Finance and Domestic Commerce",
223
+ "text": " 15. Banking Finance and Domestic Commerce",
224
+ "description": null
225
+ },
226
+ {
227
+ "value": "16. Defense",
228
+ "text": " 16. Defense",
229
+ "description": null
230
+ },
231
+ {
232
+ "value": "17. Technology",
233
+ "text": " 17. Technology",
234
+ "description": null
235
+ },
236
+ {
237
+ "value": "18. Foreign Trade",
238
+ "text": " 18. Foreign Trade",
239
+ "description": null
240
+ },
241
+ {
242
+ "value": "19. International Affairs",
243
+ "text": " 19. International Affairs",
244
+ "description": null
245
+ },
246
+ {
247
+ "value": "20. Government Operations",
248
+ "text": " 20. Government Operations",
249
+ "description": null
250
+ },
251
+ {
252
+ "value": "21. Public Lands",
253
+ "text": " 21. Public Lands",
254
+ "description": null
255
+ },
256
+ {
257
+ "value": "23. Culture",
258
+ "text": " 23. Culture",
259
+ "description": null
260
+ },
261
+ {
262
+ "value": "999. No Policy Content",
263
+ "text": " 999. No Policy Content",
264
+ "description": null
265
+ }
266
+ ],
267
+ "visible_options": 22,
268
+ "options_order": "natural"
269
+ },
270
+ "dataset_id": "f533b0c7-be54-4038-9611-75a437c12821",
271
+ "inserted_at": "2025-07-21T15:15:27.771457",
272
+ "updated_at": "2025-07-21T15:19:25.669449"
273
+ }
274
+ ],
275
+ "metadata": [
276
+ {
277
+ "id": "1705b242-4cd7-4c83-a6f4-2a8ad9e43cc7",
278
+ "name": "Unique_ID",
279
+ "title": "Unique_ID",
280
+ "settings": {
281
+ "type": "integer",
282
+ "min": null,
283
+ "max": null
284
+ },
285
+ "visible_for_annotators": true,
286
+ "dataset_id": "f533b0c7-be54-4038-9611-75a437c12821",
287
+ "inserted_at": "2025-07-21T15:15:28.048292",
288
+ "updated_at": "2025-07-21T15:15:28.048292"
289
+ },
290
+ {
291
+ "id": "d0a4cbc1-0272-44d0-adb2-84003941739e",
292
+ "name": "Year",
293
+ "title": "Year",
294
+ "settings": {
295
+ "type": "integer",
296
+ "min": null,
297
+ "max": null
298
+ },
299
+ "visible_for_annotators": false,
300
+ "dataset_id": "f533b0c7-be54-4038-9611-75a437c12821",
301
+ "inserted_at": "2025-07-21T15:15:28.312506",
302
+ "updated_at": "2025-07-21T15:19:58.089030"
303
+ }
304
+ ],
305
+ "vectors": []
306
+ }
.argilla/version.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "argilla": "2.8.0"
3
+ }
README.md CHANGED
@@ -1,71 +1,158 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: id
5
- dtype: string
6
- - name: status
7
- dtype: string
8
- - name: inserted_at
9
- dtype: timestamp[us]
10
- - name: updated_at
11
- dtype: timestamp[us]
12
- - name: _server_id
13
- dtype: string
14
- - name: Name
15
- dtype: string
16
- - name: Transcript_chunks
17
- dtype: string
18
- - name: label_0.responses
19
- sequence: string
20
- - name: label_0.responses.users
21
- sequence: string
22
- - name: label_0.responses.status
23
- sequence: string
24
- - name: span_1.responses
25
- list:
26
- list:
27
- - name: end
28
- dtype: int64
29
- - name: label
30
- dtype: string
31
- - name: start
32
- dtype: int64
33
- - name: span_1.responses.users
34
- sequence: string
35
- - name: span_1.responses.status
36
- sequence: string
37
- - name: label_2.responses
38
- sequence: string
39
- - name: label_2.responses.users
40
- sequence: string
41
- - name: label_2.responses.status
42
- sequence: string
43
- - name: text_5.responses
44
- sequence: string
45
- - name: text_5.responses.users
46
- sequence: string
47
- - name: text_5.responses.status
48
- sequence: string
49
- - name: multi-label_4.responses
50
- sequence:
51
- sequence: string
52
- - name: multi-label_4.responses.users
53
- sequence: string
54
- - name: multi-label_4.responses.status
55
- sequence: string
56
- - name: metadata.Unique_ID
57
- dtype: int64
58
- - name: metadata.Year
59
- dtype: int64
60
- splits:
61
- - name: train
62
- num_bytes: 359943
63
- num_examples: 65
64
- download_size: 199511
65
- dataset_size: 359943
66
- configs:
67
- - config_name: default
68
- data_files:
69
- - split: train
70
- path: data/train-*
71
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ tags:
3
+ - rlfh
4
+ - argilla
5
+ - human-feedback
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  ---
7
+
8
+ # Dataset Card for training_sample1_annotated2
9
+
10
+
11
+
12
+
13
+
14
+
15
+
16
+ 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).
17
+
18
+
19
+ ## Using this dataset with Argilla
20
+
21
+ To load with Argilla, you'll just need to install Argilla as `pip install argilla --upgrade` and then use the following code:
22
+
23
+ ```python
24
+ import argilla as rg
25
+
26
+ ds = rg.Dataset.from_hub("Jszabo16/training_sample1_annotated2", settings="auto")
27
+ ```
28
+
29
+ This will load the settings and records from the dataset repository and push them to you Argilla server for exploration and annotation.
30
+
31
+ ## Using this dataset with `datasets`
32
+
33
+ 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:
34
+
35
+ ```python
36
+ from datasets import load_dataset
37
+
38
+ ds = load_dataset("Jszabo16/training_sample1_annotated2")
39
+ ```
40
+
41
+ This will only load the records of the dataset, but not the Argilla settings.
42
+
43
+ ## Dataset Structure
44
+
45
+ This dataset repo contains:
46
+
47
+ * 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`.
48
+ * The [annotation guidelines](#annotation-guidelines) that have been used for building and curating the dataset, if they've been defined in Argilla.
49
+ * A dataset configuration folder conforming to the Argilla dataset format in `.argilla`.
50
+
51
+ The dataset is created in Argilla with: **fields**, **questions**, **suggestions**, **metadata**, **vectors**, and **guidelines**.
52
+
53
+ ### Fields
54
+
55
+ 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.
56
+
57
+ | Field Name | Title | Type | Required |
58
+ | ---------- | ----- | ---- | -------- |
59
+ | Name | Name | text | False |
60
+ | Transcript_chunks | Transcript_chunks | text | False |
61
+
62
+
63
+ ### Questions
64
+
65
+ 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.
66
+
67
+ | Question Name | Title | Type | Required | Description | Values/Labels |
68
+ | ------------- | ----- | ---- | -------- | ----------- | ------------- |
69
+ | label_0 | Postoj | label_selection | True | CELKOVÝ POSTOJ k EÚ vyjadrený rečníkom/rečníčkou pri prednese prejavu | ['for', 'against', 'neutral'] |
70
+ | span_1 | Highlight postoj | span | True | N/A | ['for', 'against', 'neutral'] |
71
+ | label_2 | Sentiment | label_selection | True | CELKOVÝ SENTIMENT analyzovaného dokumentu vyjadrený rečníkom/rečníčkou pri prednese prejavu | ['positive', 'negative', 'neutral'] |
72
+ | text_5 | Sentiment odôvodnenie | text | True | N/A | N/A |
73
+ | multi-label_4 | Topic CAP 21 | multi_label_selection | True | Master CAP Codebook https://comparativeagendas.net/pages/master-codebook | ['1. Macroeconomics', '2. Civil Rights', '3. Health', '4. Agriculture', '5. Labor', '6. Education', '7. Environment', '8. Energy', '9. Immigration', '10. Transportation', '12. Law and Crime', '13. Social Welfare', '14. Housing', '15. Banking Finance and Domestic Commerce', '16. Defense', '17. Technology', '18. Foreign Trade', '19. International Affairs', '20. Government Operations', '21. Public Lands', '23. Culture', '999. No Policy Content'] |
74
+
75
+
76
+ <!-- check length of metadata properties -->
77
+
78
+ ### Metadata
79
+
80
+ The **metadata** is a dictionary that can be used to provide additional information about the dataset record.
81
+ | Metadata Name | Title | Type | Values | Visible for Annotators |
82
+ | ------------- | ----- | ---- | ------ | ---------------------- |
83
+ | Unique_ID | Unique_ID | integer | - | True |
84
+ | Year | Year | integer | - | False |
85
+
86
+
87
+
88
+
89
+
90
+ ### Data Splits
91
+
92
+ The dataset contains a single split, which is `train`.
93
+
94
+ ## Dataset Creation
95
+
96
+ ### Curation Rationale
97
+
98
+ [More Information Needed]
99
+
100
+ ### Source Data
101
+
102
+ #### Initial Data Collection and Normalization
103
+
104
+ [More Information Needed]
105
+
106
+ #### Who are the source language producers?
107
+
108
+ [More Information Needed]
109
+
110
+ ### Annotations
111
+
112
+ #### Annotation guidelines
113
+
114
+ [More Information Needed]
115
+
116
+ #### Annotation process
117
+
118
+ [More Information Needed]
119
+
120
+ #### Who are the annotators?
121
+
122
+ [More Information Needed]
123
+
124
+ ### Personal and Sensitive Information
125
+
126
+ [More Information Needed]
127
+
128
+ ## Considerations for Using the Data
129
+
130
+ ### Social Impact of Dataset
131
+
132
+ [More Information Needed]
133
+
134
+ ### Discussion of Biases
135
+
136
+ [More Information Needed]
137
+
138
+ ### Other Known Limitations
139
+
140
+ [More Information Needed]
141
+
142
+ ## Additional Information
143
+
144
+ ### Dataset Curators
145
+
146
+ [More Information Needed]
147
+
148
+ ### Licensing Information
149
+
150
+ [More Information Needed]
151
+
152
+ ### Citation Information
153
+
154
+ [More Information Needed]
155
+
156
+ ### Contributions
157
+
158
+ [More Information Needed]