Datasets:
Upload 2 files
Browse files
README.md
CHANGED
@@ -1,31 +1,85 @@
|
|
1 |
-
---
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
- name:
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: cc-by-4.0
|
3 |
+
task_categories:
|
4 |
+
- automatic-speech-recognition
|
5 |
+
- text-to-speech
|
6 |
+
language:
|
7 |
+
- vi
|
8 |
+
pretty_name: VietMed labeled set
|
9 |
+
size_categories:
|
10 |
+
- 1K<n<10K
|
11 |
+
dataset_info:
|
12 |
+
features:
|
13 |
+
- name: audio
|
14 |
+
dtype: audio
|
15 |
+
- name: transcription
|
16 |
+
dtype: string
|
17 |
+
- name: Speaker ID
|
18 |
+
dtype: string
|
19 |
+
splits:
|
20 |
+
- name: train
|
21 |
+
num_bytes: 58513440.578
|
22 |
+
num_examples: 2858
|
23 |
+
- name: validation
|
24 |
+
num_bytes: 56714850.712
|
25 |
+
num_examples: 2912
|
26 |
+
- name: test
|
27 |
+
num_bytes: 70051704.606
|
28 |
+
num_examples: 3437
|
29 |
+
download_size: 183555285
|
30 |
+
dataset_size: 185279995.896
|
31 |
+
configs:
|
32 |
+
- config_name: default
|
33 |
+
data_files:
|
34 |
+
- split: train
|
35 |
+
path: data/train-*
|
36 |
+
- split: validation
|
37 |
+
path: data/validation-*
|
38 |
+
- split: test
|
39 |
+
path: data/test-*
|
40 |
+
---
|
41 |
+
|
42 |
+
# unofficial mirror of VietMed (Vietnamese speech data in medical domain) labeled set
|
43 |
+
|
44 |
+
official announcement: https://arxiv.org/abs/2404.05659
|
45 |
+
|
46 |
+
official download: https://huggingface.co/datasets/leduckhai/VietMed
|
47 |
+
|
48 |
+
this repo contains the labeled set: 9.2k samples
|
49 |
+
|
50 |
+
i also gather the metadata: see [info.csv](info.csv)
|
51 |
+
|
52 |
+
my extraction code: https://github.com/phineas-pta/fine-tune-whisper-vi/blob/main/misc/vietmed-labeled.py
|
53 |
+
|
54 |
+
need to do: check misspelling, restore foreign words phonetised to vietnamese
|
55 |
+
|
56 |
+
usage with HuggingFace:
|
57 |
+
```python
|
58 |
+
# pip install -q "datasets[audio]"
|
59 |
+
from datasets import load_dataset
|
60 |
+
from huggingface_hub import hf_hub_download
|
61 |
+
from pandas import read_csv
|
62 |
+
|
63 |
+
repo_id = "doof-ferb/VietMed_labeled"
|
64 |
+
dataset = load_dataset(repo_id, split="train", streaming=True)
|
65 |
+
info_file = hf_hub_download(repo_id=repo_id, filename="info.csv", repo_type="dataset")
|
66 |
+
info_dict = read_csv(info_file, index_col=0).to_dict("index")
|
67 |
+
|
68 |
+
def merge_info(batch):
|
69 |
+
meta = info_dict.get(batch["Speaker ID"], "")
|
70 |
+
if meta != "":
|
71 |
+
batch["Recording Condition"] = meta["Recording Condition"]
|
72 |
+
batch["ICD-10 Code"] = meta["ICD-10 Code"]
|
73 |
+
batch["Role"] = meta["Role"]
|
74 |
+
batch["Gender"] = meta["Gender"]
|
75 |
+
batch["Accent"] = meta["Accent"]
|
76 |
+
else:
|
77 |
+
batch["Recording Condition"] = ""
|
78 |
+
batch["ICD-10 Code"] = ""
|
79 |
+
batch["Role"] = ""
|
80 |
+
batch["Gender"] = ""
|
81 |
+
batch["Accent"] = ""
|
82 |
+
return batch
|
83 |
+
dataset = dataset.map(merge_info)
|
84 |
+
```
|
85 |
+
|
info.csv
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"Speaker ID","split","Recording Condition","ICD-10 Code","Role","Gender","Accent"
|
2 |
+
"VietMed_001_a","Dev","Telephone","J00-J99","Doctor","Male","North"
|
3 |
+
"VietMed_001_b","Dev","Telephone","J00-J99","Doctor","Male","North"
|
4 |
+
"VietMed_002","Test","Lectures","N00-N99","Lecturer","Female","South Central Coast"
|
5 |
+
"VietMed_003_a","Dev","Telephone","A00-B99","Host","Male","South East"
|
6 |
+
"VietMed_003_b","Dev","Telephone","A00-B99","Doctor","Male","South West"
|
7 |
+
"VietMed_004","Test","Consultation","M00-M99","Doctor","Male","South Central Coast"
|
8 |
+
"VietMed_005","Dev","Consultation","I00-I99","Doctor","Male","Central Highland"
|
9 |
+
"VietMed_006_a","Dev","Consultation","R00-R99","Doctor","Female","South East"
|
10 |
+
"VietMed_006_b","Dev","Consultation","R00-R99","Host","Female","South East"
|
11 |
+
"VietMed_007_a","Train","Consultation","I00-I99","Doctor","Male","Central Highland"
|
12 |
+
"VietMed_007_b","Train","Consultation","I00-I99","Doctor","Male","South East"
|
13 |
+
"VietMed_008_a","Train","Telephone","G00-G99","Host","Male","South East"
|
14 |
+
"VietMed_008_b","Train","Telephone","G00-G99","Doctor","Male","South East"
|
15 |
+
"VietMed_008_c","Train","Telephone","G00-G99","Doctor","Male","South East"
|
16 |
+
"VietMed_009_a","Train","Consultation","E00-E89","Host","Male","South East"
|
17 |
+
"VietMed_009_b","Train","Consultation","E00-E89","Doctor","Female","South East"
|
18 |
+
"VietMed_009_c","Train","Consultation","E00-E89","Doctor","Male","South East"
|
19 |
+
"VietMed_010_a","Train","Consultation","C00-D49","Host","Female","North"
|
20 |
+
"VietMed_010_b","Train","Consultation","C00-D49","Doctor","Female","North"
|
21 |
+
"VietMed_011_a","Train","Telephone","M00-M99","Host","Female","North"
|
22 |
+
"VietMed_011_b","Train","Telephone","M00-M99","Doctor","Male","North"
|
23 |
+
"VietMed_011_c","Train","Telephone","M00-M99","Patient","Male","North"
|
24 |
+
"VietMed_012_a","Dev","Telephone","Z00-Z99","Host","Male","South East"
|
25 |
+
"VietMed_012_b","Dev","Telephone","Z00-Z99","Doctor","Male","North"
|
26 |
+
"VietMed_012_c","Dev","Telephone","Z00-Z99","Patient","Male","South West"
|
27 |
+
"VietMed_012_d","Dev","Telephone","Z00-Z99","Patient","Female","North"
|
28 |
+
"VietMed_013_a","Dev","Telephone","I00-I99","Host","Male","South East"
|
29 |
+
"VietMed_013_b","Dev","Telephone","I00-I99","Doctor","Female","North"
|
30 |
+
"VietMed_013_c","Dev","Telephone","I00-I99","Patient","Male","South East"
|
31 |
+
"VietMed_013_d","Dev","Telephone","I00-I99","Patient","Female","North"
|
32 |
+
"VietMed_014_a","Test","Telephone","K00-K95","Host","Female","North"
|
33 |
+
"VietMed_014_b","Test","Telephone","K00-K95","Doctor","Male","North"
|
34 |
+
"VietMed_015_a","Test","Telephone","O00-O9A","Host","Female","North"
|
35 |
+
"VietMed_015_b","Test","Telephone","O00-O9A","Doctor","Female","North"
|
36 |
+
"VietMed_015_c","Test","Telephone","O00-O9A","Patient","Female","North"
|
37 |
+
"VietMed_017_a","Test","Talkshow","U00-U85","Doctor","Female","South West"
|
38 |
+
"VietMed_017_b","Test","Talkshow","U00-U85","Doctor","Male","North"
|
39 |
+
"VietMed_018_a","Test","Talkshow","K00-K95","Host","Female","South West"
|
40 |
+
"VietMed_018_b","Test","Talkshow","K00-K95","Doctor","Male","South West"
|
41 |
+
"VietMed_018_c","Test","Talkshow","K00-K95","Doctor","Female","South West"
|
42 |
+
"VietMed_018_d","Test","Talkshow","K00-K95","Patient","Female","South West"
|
43 |
+
"VietMed_018_e","Test","Talkshow","K00-K95","Patient","Male","South West"
|
44 |
+
"VietMed_018_f","Test","Talkshow","K00-K95","Doctor","Male","South West"
|
45 |
+
"VietMed_019_a","Test","Talkshow","L00-L99","Host","Female","South West"
|
46 |
+
"VietMed_019_b","Test","Talkshow","L00-L99","Doctor","Female","South West"
|
47 |
+
"VietMed_019_c","Dev","Talkshow","L00-L99","Doctor","Male","South West"
|
48 |
+
"VietMed_019_d","Dev","Talkshow","L00-L99","Patient","Female","South West"
|
49 |
+
"VietMed_020_a","Dev","Telephone","Z00-Z99","Host","Female","South West"
|
50 |
+
"VietMed_020_b","Dev","Telephone","Z00-Z99","Doctor","Female","South West"
|
51 |
+
"VietMed_021","Dev","Book","D50-D89","Narrator","Male","North"
|
52 |
+
"VietMed_022","Dev","Book","F01-F99","Narrator","Male","South East"
|
53 |
+
"VietMed_023","Test","Podcast","P00-P96","Podcaster","Female","South West"
|
54 |
+
"VietMed_024","Test","Podcast","O00_O99","Podcaster","Female","South East"
|
55 |
+
"VietMed_025_a","Test","Diagnosis","H60-H95","Host","Female","South West"
|
56 |
+
"VietMed_025_b","Test","Diagnosis","H60-H95","Doctor","Male","South East"
|
57 |
+
"VietMed_026","Test","Lectures","A00-B99","Lecturer","Male","North Central Coast"
|
58 |
+
"VietMed_027_a","Test","News","S00-T88","Host","Female","South West"
|
59 |
+
"VietMed_027_b","Test","News","S00-T88","Broadcaster","Male","South East"
|
60 |
+
"VietMed_028_a","Test","News","V00-Y99","Host","Female","South East"
|
61 |
+
"VietMed_028_b","Test","News","V00-Y99","Broadcaster","Male","South East"
|
62 |
+
"VietMed_029","Test","News","V00-Y99","Broadcaster","Female","South East"
|