michaljunczyk commited on
Commit
b34c331
1 Parent(s): 1eaa0a4

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 +228 -59
.argilla/dataset.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"id": "21be54bc-1ffd-401c-a637-97c8345e9c6c", "inserted_at": "2024-10-12T18:40:37.510221", "updated_at": "2024-10-12T18:48:45.427558", "name": "inspect_asr_eval_results_prod_with_extra_metadata", "status": "ready", "guidelines": "Inspect ASR evaluation results and data.", "allow_extra_metadata": true, "distribution": {"strategy": "overlap", "min_submitted": 1}, "workspace_id": "69902674-829b-455f-82a9-6ea6a8df2ee3", "last_activity_at": "2024-10-12T18:48:45.427256"}
.argilla/settings.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"guidelines": "Inspect ASR evaluation results and data.", "questions": [{"id": "d641a6a3-57f3-429a-b792-d4d525fb5aac", "name": "error_types", "settings": {"type": "multi_label_selection", "options": [{"value": "none", "text": "OK - no errors", "description": null}, {"value": "spacing", "text": "Spacing", "description": null}, {"value": "punctuation", "text": "Punctuation", "description": null}, {"value": "numerical", "text": "Numerical", "description": null}, {"value": "removal", "text": "Missing words", "description": null}, {"value": "addition", "text": "Added words", "description": null}, {"value": "replacement", "text": "Replaced words", "description": null}, {"value": "spelling", "text": "Spelling error", "description": null}, {"value": "syntax", "text": "Syntax error", "description": null}, {"value": "foreign_language", "text": "Foreign language related", "description": null}, {"value": "empty", "text": "Empty hypothesis", "description": null}, {"value": "hallucination", "text": "Hallucination", "description": null}], "visible_options": 10, "options_order": "natural"}, "title": "Mark all ASR errors present in the hypothesis or select OK - no errors.", "description": "Select all that apply.", "required": true, "inserted_at": "2024-10-12T18:40:38.726415", "updated_at": "2024-10-12T18:40:38.726415", "type": "multi_label_selection"}, {"id": "c3097cb3-edc5-4e01-8d8b-2ff67cbe2320", "name": "asr_error", "settings": {"type": "span", "allow_overlapping": false, "field": "hyp", "options": [{"value": "major", "text": "Major - Impairs correct understanding", "description": null}, {"value": "minor", "text": "Minor - Negligible impact on understanding", "description": null}], "visible_options": null}, "title": "If applicable, mark error spans in ASR hypothesis.", "description": "Mark and classify ASR errors.", "required": false, "inserted_at": "2024-10-12T18:40:38.988991", "updated_at": "2024-10-12T18:40:38.988991", "type": "span"}, {"id": "36a5d0d9-d987-4a89-8617-260392f9b58e", "name": "ref_issue", "settings": {"type": "label_selection", "options": [{"value": "minor", "text": "Minor - normalization, spelling", "description": null}, {"value": "major", "text": "Major - syntax, semantics", "description": null}, {"value": "critical", "text": "Critical - incomplete, gibberish, etc.", "description": null}], "visible_options": 3}, "title": "If applicable, mark issues in reference.", "description": null, "required": false, "inserted_at": "2024-10-12T18:40:39.245769", "updated_at": "2024-10-12T18:40:39.245769", "type": "label_selection"}, {"id": "762654ef-ef0e-4044-bf9c-d4e0bc40b45d", "name": "audio_issue", "settings": {"type": "label_selection", "options": [{"value": "invalid", "text": "Invalid audio (too short, corrupted, cut-off, etc.)", "description": null}, {"value": "hard_noise", "text": "Hard to comprehend due to background noise", "description": null}, {"value": "hard_interlocutor", "text": "Hard to comprehend due to interlocutor (accent, hesitations, mumbling etc.)", "description": null}], "visible_options": 3}, "title": "If applicable, mark issues in audio.", "description": null, "required": false, "inserted_at": "2024-10-12T18:40:39.519553", "updated_at": "2024-10-12T18:40:39.519553", "type": "label_selection"}], "fields": [{"id": "1f82cf3c-3d11-404c-af82-383cd6e29cb1", "inserted_at": "2024-10-12T18:40:37.961159", "updated_at": "2024-10-12T18:40:37.961159", "name": "audio", "settings": {"type": "text", "use_markdown": true}, "title": "Audio file", "required": true, "description": null, "dataset_id": "21be54bc-1ffd-401c-a637-97c8345e9c6c", "type": "text"}, {"id": "8fa002f4-9e7c-4eb8-880e-b972e3d244d7", "inserted_at": "2024-10-12T18:40:38.217973", "updated_at": "2024-10-12T18:40:38.217973", "name": "hyp", "settings": {"type": "text", "use_markdown": false}, "title": "ASR output", "required": true, "description": null, "dataset_id": "21be54bc-1ffd-401c-a637-97c8345e9c6c", "type": "text"}, {"id": "ea0e11a4-6241-466d-9f49-5751909cdc31", "inserted_at": "2024-10-12T18:40:38.462957", "updated_at": "2024-10-12T18:40:38.462957", "name": "ref", "settings": {"type": "text", "use_markdown": false}, "title": "Reference transcription", "required": true, "description": null, "dataset_id": "21be54bc-1ffd-401c-a637-97c8345e9c6c", "type": "text"}], "vectors": [], "metadata": [], "allow_extra_metadata": true, "distribution": {"strategy": "overlap", "min_submitted": 1}, "mapping": null}
README.md CHANGED
@@ -1,61 +1,230 @@
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: audio
11
- dtype: string
12
- - name: ref
13
- dtype: string
14
- - name: hyp
15
- dtype: string
16
- - name: subset
17
- dtype: string
18
- - name: error_types.responses
19
- sequence:
20
- sequence: string
21
- - name: error_types.responses.users
22
- sequence: string
23
- - name: error_types.responses.status
24
- sequence: string
25
- - name: asr_error.responses
26
- list:
27
- list:
28
- - name: end
29
- dtype: int64
30
- - name: label
31
- dtype: string
32
- - name: start
33
- dtype: int64
34
- - name: asr_error.responses.users
35
- sequence: string
36
- - name: asr_error.responses.status
37
- sequence: string
38
- - name: ref_issue.responses.users
39
- sequence: string
40
- - name: audio_issue.responses.users
41
- sequence: string
42
- - name: audio_issue.responses.status
43
- sequence: string
44
- - name: ref_issue.responses
45
- sequence: string
46
- - name: audio_issue.responses
47
- sequence: string
48
- - name: ref_issue.responses.status
49
- sequence: string
50
- splits:
51
- - name: train
52
- num_bytes: 1325
53
- num_examples: 2
54
- download_size: 17101
55
- dataset_size: 1325
56
- configs:
57
- - config_name: default
58
- data_files:
59
- - split: train
60
- path: data/train-*
61
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ size_categories: n<1K
3
+ tags:
4
+ - rlfh
5
+ - argilla
6
+ - human-feedback
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  ---
8
+
9
+ # Dataset Card for inspect_asr_eval_results
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("michaljunczyk/inspect_asr_eval_results")
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("michaljunczyk/inspect_asr_eval_results")
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
+ | audio | Audio file | text | True | True |
61
+ | hyp | ASR output | text | True | False |
62
+ | ref | Reference transcription | text | True | False |
63
+
64
+
65
+ ### Questions
66
+
67
+ 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.
68
+
69
+ | Question Name | Title | Type | Required | Description | Values/Labels |
70
+ | ------------- | ----- | ---- | -------- | ----------- | ------------- |
71
+ | error_types | Mark all ASR errors present in the hypothesis or select OK - no errors. | multi_label_selection | True | Select all that apply. | ['none', 'spacing', 'punctuation', 'numerical', 'removal', 'addition', 'replacement', 'spelling', 'syntax', 'foreign_language', 'empty', 'hallucination'] |
72
+ | asr_error | If applicable, mark error spans in ASR hypothesis. | span | False | Mark and classify ASR errors. | N/A |
73
+ | ref_issue | If applicable, mark issues in reference. | label_selection | False | N/A | ['minor', 'major', 'critical'] |
74
+ | audio_issue | If applicable, mark issues in audio. | label_selection | False | N/A | ['invalid', 'hard_noise', 'hard_interlocutor'] |
75
+
76
+
77
+ <!-- check length of metadata properties -->
78
+
79
+
80
+
81
+
82
+
83
+ ### Data Instances
84
+
85
+ An example of a dataset instance in Argilla looks as follows:
86
+
87
+ ```json
88
+ {
89
+ "_server_id": "f1cb2f9c-4428-48f7-97e2-3c7359c426a8",
90
+ "fields": {
91
+ "audio": "\n\u003caudio controls\u003e\n \u003csource src=\"https://huggingface.co/datasets/michaljunczyk/bigos-eval-results-secret/resolve/main/inspection_input/audio/amu-cai/pl-asr-bigos-v2-secret/pwr-viu-unk/pwr-viu-unk-test-0003-00283.mp3\" type=\"audio/mpeg\"\u003e\n\u003c/audio\u003e\n",
92
+ "hyp": "Hyphotesis",
93
+ "ref": "Reference transcription wav"
94
+ },
95
+ "id": "dce1711c-1d36-4d2a-86ac-afaf85aacb06",
96
+ "metadata": {
97
+ "subset": "pwr-viu-unk-3"
98
+ },
99
+ "responses": {
100
+ "asr_error": [
101
+ {
102
+ "user_id": "bee532bf-10c0-4a3f-9386-3b5c3522197a",
103
+ "value": []
104
+ }
105
+ ],
106
+ "error_types": [
107
+ {
108
+ "user_id": "bee532bf-10c0-4a3f-9386-3b5c3522197a",
109
+ "value": [
110
+ "none"
111
+ ]
112
+ }
113
+ ]
114
+ },
115
+ "status": "completed",
116
+ "suggestions": {},
117
+ "vectors": {}
118
+ }
119
+ ```
120
+
121
+ While the same record in HuggingFace `datasets` looks as follows:
122
+
123
+ ```json
124
+ {
125
+ "_server_id": "f1cb2f9c-4428-48f7-97e2-3c7359c426a8",
126
+ "asr_error.responses": [
127
+ []
128
+ ],
129
+ "asr_error.responses.status": [
130
+ "submitted"
131
+ ],
132
+ "asr_error.responses.users": [
133
+ "bee532bf-10c0-4a3f-9386-3b5c3522197a"
134
+ ],
135
+ "audio": "\n\u003caudio controls\u003e\n \u003csource src=\"https://huggingface.co/datasets/michaljunczyk/bigos-eval-results-secret/resolve/main/inspection_input/audio/amu-cai/pl-asr-bigos-v2-secret/pwr-viu-unk/pwr-viu-unk-test-0003-00283.mp3\" type=\"audio/mpeg\"\u003e\n\u003c/audio\u003e\n",
136
+ "audio_issue.responses": null,
137
+ "audio_issue.responses.status": null,
138
+ "audio_issue.responses.users": null,
139
+ "error_types.responses": [
140
+ [
141
+ "none"
142
+ ]
143
+ ],
144
+ "error_types.responses.status": [
145
+ "submitted"
146
+ ],
147
+ "error_types.responses.users": [
148
+ "bee532bf-10c0-4a3f-9386-3b5c3522197a"
149
+ ],
150
+ "hyp": "Hyphotesis",
151
+ "id": "dce1711c-1d36-4d2a-86ac-afaf85aacb06",
152
+ "ref": "Reference transcription wav",
153
+ "ref_issue.responses": null,
154
+ "ref_issue.responses.status": null,
155
+ "ref_issue.responses.users": null,
156
+ "status": "completed",
157
+ "subset": "pwr-viu-unk-3"
158
+ }
159
+ ```
160
+
161
+
162
+ ### Data Splits
163
+
164
+ The dataset contains a single split, which is `train`.
165
+
166
+ ## Dataset Creation
167
+
168
+ ### Curation Rationale
169
+
170
+ [More Information Needed]
171
+
172
+ ### Source Data
173
+
174
+ #### Initial Data Collection and Normalization
175
+
176
+ [More Information Needed]
177
+
178
+ #### Who are the source language producers?
179
+
180
+ [More Information Needed]
181
+
182
+ ### Annotations
183
+
184
+ #### Annotation guidelines
185
+
186
+ Inspect ASR evaluation results and data.
187
+
188
+ #### Annotation process
189
+
190
+ [More Information Needed]
191
+
192
+ #### Who are the annotators?
193
+
194
+ [More Information Needed]
195
+
196
+ ### Personal and Sensitive Information
197
+
198
+ [More Information Needed]
199
+
200
+ ## Considerations for Using the Data
201
+
202
+ ### Social Impact of Dataset
203
+
204
+ [More Information Needed]
205
+
206
+ ### Discussion of Biases
207
+
208
+ [More Information Needed]
209
+
210
+ ### Other Known Limitations
211
+
212
+ [More Information Needed]
213
+
214
+ ## Additional Information
215
+
216
+ ### Dataset Curators
217
+
218
+ [More Information Needed]
219
+
220
+ ### Licensing Information
221
+
222
+ [More Information Needed]
223
+
224
+ ### Citation Information
225
+
226
+ [More Information Needed]
227
+
228
+ ### Contributions
229
+
230
+ [More Information Needed]