Jszabo16 commited on
Commit
9d7819c
·
verified ·
1 Parent(s): 5008ccc

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. .argilla/dataset.json +40 -0
  2. .argilla/settings.json +291 -0
  3. .argilla/version.json +3 -0
  4. README.md +155 -66
.argilla/dataset.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "a5209823-e072-462a-8708-b55fe109134f",
3
+ "name": "training_sample23",
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_sample23",
13
+ "subset": "default",
14
+ "split": "train",
15
+ "mapping": {
16
+ "fields": [
17
+ {
18
+ "source": "Unique_ID",
19
+ "target": "Unique_ID"
20
+ },
21
+ {
22
+ "source": "Transcript_chunks",
23
+ "target": "Transcript_chunks"
24
+ }
25
+ ],
26
+ "metadata": [
27
+ {
28
+ "source": "Year",
29
+ "target": "Year"
30
+ }
31
+ ],
32
+ "suggestions": []
33
+ },
34
+ "imported": "UI"
35
+ },
36
+ "workspace_id": "dbece7f0-3b35-42b8-b746-85f67e7a32a3",
37
+ "last_activity_at": "2025-09-26T09:50:09.143482",
38
+ "inserted_at": "2025-08-12T12:23:37.391488",
39
+ "updated_at": "2025-08-12T12:25:31.059666"
40
+ }
.argilla/settings.json ADDED
@@ -0,0 +1,291 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "guidelines": null,
3
+ "allow_extra_metadata": false,
4
+ "distribution": {
5
+ "strategy": "overlap",
6
+ "min_submitted": 2
7
+ },
8
+ "fields": [
9
+ {
10
+ "id": "f39cf197-705f-428e-ac72-431a649a9eca",
11
+ "name": "Unique_ID",
12
+ "title": "Unique_ID",
13
+ "required": false,
14
+ "settings": {
15
+ "type": "text",
16
+ "use_markdown": false
17
+ },
18
+ "dataset_id": "a5209823-e072-462a-8708-b55fe109134f",
19
+ "inserted_at": "2025-08-12T12:23:37.779476",
20
+ "updated_at": "2025-08-12T12:23:37.779476"
21
+ },
22
+ {
23
+ "id": "ff287621-dd53-4859-a3d7-7b548ed2313b",
24
+ "name": "Transcript_chunks",
25
+ "title": "Transcript_chunks",
26
+ "required": false,
27
+ "settings": {
28
+ "type": "text",
29
+ "use_markdown": false
30
+ },
31
+ "dataset_id": "a5209823-e072-462a-8708-b55fe109134f",
32
+ "inserted_at": "2025-08-12T12:23:38.034020",
33
+ "updated_at": "2025-08-12T12:23:38.034020"
34
+ }
35
+ ],
36
+ "questions": [
37
+ {
38
+ "id": "d658de53-bd53-491c-95fd-450043c5b291",
39
+ "name": "label_0",
40
+ "title": "Stance",
41
+ "description": null,
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": "a5209823-e072-462a-8708-b55fe109134f",
65
+ "inserted_at": "2025-08-12T12:23:38.283101",
66
+ "updated_at": "2025-08-12T12:25:14.430589"
67
+ },
68
+ {
69
+ "id": "939883ce-7e3b-49a4-aa31-201063e580c7",
70
+ "name": "span_1",
71
+ "title": "Stance Span",
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": "a5209823-e072-462a-8708-b55fe109134f",
99
+ "inserted_at": "2025-08-12T12:23:38.534191",
100
+ "updated_at": "2025-08-12T12:25:15.907195"
101
+ },
102
+ {
103
+ "id": "ee40f709-d731-4ce8-a2e5-26cb9eeb34fd",
104
+ "name": "label_2",
105
+ "title": "Sentiment",
106
+ "description": null,
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": "a5209823-e072-462a-8708-b55fe109134f",
130
+ "inserted_at": "2025-08-12T12:23:38.790482",
131
+ "updated_at": "2025-08-12T12:25:17.352650"
132
+ },
133
+ {
134
+ "id": "c4b3f6b7-01ce-4f2c-a281-c513c89c4a50",
135
+ "name": "text_3",
136
+ "title": "Sentiment Justification",
137
+ "description": null,
138
+ "required": true,
139
+ "settings": {
140
+ "type": "text",
141
+ "use_markdown": false
142
+ },
143
+ "dataset_id": "a5209823-e072-462a-8708-b55fe109134f",
144
+ "inserted_at": "2025-08-12T12:23:39.046454",
145
+ "updated_at": "2025-08-12T12:25:18.952704"
146
+ },
147
+ {
148
+ "id": "232f291d-c5c0-4b70-b5b1-0c386fe52604",
149
+ "name": "label_4",
150
+ "title": "CAP Classification",
151
+ "description": null,
152
+ "required": true,
153
+ "settings": {
154
+ "type": "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. Domestic Commerce",
223
+ "text": " 15. 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
+ },
269
+ "dataset_id": "a5209823-e072-462a-8708-b55fe109134f",
270
+ "inserted_at": "2025-08-12T12:23:39.304111",
271
+ "updated_at": "2025-08-12T12:24:54.044141"
272
+ }
273
+ ],
274
+ "metadata": [
275
+ {
276
+ "id": "dda6561c-bc4b-4aca-88fd-8ab7d222b07f",
277
+ "name": "Year",
278
+ "title": "Year",
279
+ "settings": {
280
+ "type": "integer",
281
+ "min": null,
282
+ "max": null
283
+ },
284
+ "visible_for_annotators": false,
285
+ "dataset_id": "a5209823-e072-462a-8708-b55fe109134f",
286
+ "inserted_at": "2025-08-12T12:23:39.546749",
287
+ "updated_at": "2025-08-12T12:25:30.476428"
288
+ }
289
+ ],
290
+ "vectors": []
291
+ }
.argilla/version.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "argilla": "2.8.0"
3
+ }
README.md CHANGED
@@ -1,68 +1,157 @@
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: Unique_ID
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_3.responses
44
- sequence: string
45
- - name: text_3.responses.users
46
- sequence: string
47
- - name: text_3.responses.status
48
- sequence: string
49
- - name: label_4.responses
50
- sequence: string
51
- - name: label_4.responses.users
52
- sequence: string
53
- - name: label_4.responses.status
54
- sequence: string
55
- - name: metadata.Year
56
- dtype: int64
57
- splits:
58
- - name: train
59
- num_bytes: 682869
60
- num_examples: 128
61
- download_size: 377706
62
- dataset_size: 682869
63
- configs:
64
- - config_name: default
65
- data_files:
66
- - split: train
67
- path: data/train-*
68
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ tags:
3
+ - rlfh
4
+ - argilla
5
+ - human-feedback
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  ---
7
+
8
+ # Dataset Card for training_sample23_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_sample23_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_sample23_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
+ | Unique_ID | Unique_ID | 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 | Stance | label_selection | True | N/A | ['for', 'against', 'neutral'] |
70
+ | span_1 | Stance Span | span | True | N/A | ['for', 'against', 'neutral'] |
71
+ | label_2 | Sentiment | label_selection | True | N/A | ['positive', 'negative', 'neutral'] |
72
+ | text_3 | Sentiment Justification | text | True | N/A | N/A |
73
+ | label_4 | CAP Classification | label_selection | True | N/A | ['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. 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
+ | Year | Year | integer | - | False |
84
+
85
+
86
+
87
+
88
+
89
+ ### Data Splits
90
+
91
+ The dataset contains a single split, which is `train`.
92
+
93
+ ## Dataset Creation
94
+
95
+ ### Curation Rationale
96
+
97
+ [More Information Needed]
98
+
99
+ ### Source Data
100
+
101
+ #### Initial Data Collection and Normalization
102
+
103
+ [More Information Needed]
104
+
105
+ #### Who are the source language producers?
106
+
107
+ [More Information Needed]
108
+
109
+ ### Annotations
110
+
111
+ #### Annotation guidelines
112
+
113
+ [More Information Needed]
114
+
115
+ #### Annotation process
116
+
117
+ [More Information Needed]
118
+
119
+ #### Who are the annotators?
120
+
121
+ [More Information Needed]
122
+
123
+ ### Personal and Sensitive Information
124
+
125
+ [More Information Needed]
126
+
127
+ ## Considerations for Using the Data
128
+
129
+ ### Social Impact of Dataset
130
+
131
+ [More Information Needed]
132
+
133
+ ### Discussion of Biases
134
+
135
+ [More Information Needed]
136
+
137
+ ### Other Known Limitations
138
+
139
+ [More Information Needed]
140
+
141
+ ## Additional Information
142
+
143
+ ### Dataset Curators
144
+
145
+ [More Information Needed]
146
+
147
+ ### Licensing Information
148
+
149
+ [More Information Needed]
150
+
151
+ ### Citation Information
152
+
153
+ [More Information Needed]
154
+
155
+ ### Contributions
156
+
157
+ [More Information Needed]