nahida39 ahnafsamin commited on
Commit
53eb3b0
·
0 Parent(s):

Duplicate from SUST-CSE-Speech/banspeech

Browse files

Co-authored-by: Ahnaf Mozib Samin <ahnafsamin@users.noreply.huggingface.co>

.gitattributes ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
12
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
13
+ *.model filter=lfs diff=lfs merge=lfs -text
14
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
15
+ *.npy filter=lfs diff=lfs merge=lfs -text
16
+ *.npz filter=lfs diff=lfs merge=lfs -text
17
+ *.onnx filter=lfs diff=lfs merge=lfs -text
18
+ *.ot filter=lfs diff=lfs merge=lfs -text
19
+ *.parquet filter=lfs diff=lfs merge=lfs -text
20
+ *.pb filter=lfs diff=lfs merge=lfs -text
21
+ *.pickle filter=lfs diff=lfs merge=lfs -text
22
+ *.pkl filter=lfs diff=lfs merge=lfs -text
23
+ *.pt filter=lfs diff=lfs merge=lfs -text
24
+ *.pth filter=lfs diff=lfs merge=lfs -text
25
+ *.rar filter=lfs diff=lfs merge=lfs -text
26
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
27
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
29
+ *.tar filter=lfs diff=lfs merge=lfs -text
30
+ *.tflite filter=lfs diff=lfs merge=lfs -text
31
+ *.tgz filter=lfs diff=lfs merge=lfs -text
32
+ *.wasm filter=lfs diff=lfs merge=lfs -text
33
+ *.xz filter=lfs diff=lfs merge=lfs -text
34
+ *.zip filter=lfs diff=lfs merge=lfs -text
35
+ *.zst filter=lfs diff=lfs merge=lfs -text
36
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
37
+ # Audio files - uncompressed
38
+ *.pcm filter=lfs diff=lfs merge=lfs -text
39
+ *.sam filter=lfs diff=lfs merge=lfs -text
40
+ *.raw filter=lfs diff=lfs merge=lfs -text
41
+ # Audio files - compressed
42
+ *.aac filter=lfs diff=lfs merge=lfs -text
43
+ *.flac filter=lfs diff=lfs merge=lfs -text
44
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
45
+ *.ogg filter=lfs diff=lfs merge=lfs -text
46
+ *.wav filter=lfs diff=lfs merge=lfs -text
47
+ # Image files - uncompressed
48
+ *.bmp filter=lfs diff=lfs merge=lfs -text
49
+ *.gif filter=lfs diff=lfs merge=lfs -text
50
+ *.png filter=lfs diff=lfs merge=lfs -text
51
+ *.tiff filter=lfs diff=lfs merge=lfs -text
52
+ # Image files - compressed
53
+ *.jpg filter=lfs diff=lfs merge=lfs -text
54
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
55
+ *.webp filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,149 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-4.0
3
+ task_categories:
4
+ - automatic-speech-recognition
5
+ language:
6
+ - bn
7
+ tags:
8
+ - Evaluation Benchmark
9
+ - Robustness
10
+ - ASR
11
+ - Bengali
12
+ - Spontaneous Speech
13
+ size_categories:
14
+ - 1K<n<10K
15
+ ---
16
+
17
+ # Dataset Card for BanSpeech
18
+
19
+ ## Table of Contents
20
+ - [Dataset Card for SUBAK.KO](#dataset-card-for-BanSpeech)
21
+ - [Table of Contents](#table-of-contents)
22
+ - [Dataset Description](#dataset-description)
23
+ - [Dataset Summary](#dataset-summary)
24
+ - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
25
+ - [Languages](#languages)
26
+ - [Dataset Structure](#dataset-structure)
27
+ - [Data Instances](#data-instances)
28
+ - [Data Fields](#data-fields)
29
+ - [Data Splits](#data-splits)
30
+ - [Dataset Creation](#dataset-creation)
31
+ - [Curation Rationale](#curation-rationale)
32
+ - [Source Data](#source-data)
33
+ - [Initial Data Collection and Normalization](#initial-data-collection-and-normalization)
34
+ - [Who are the source language producers?](#who-are-the-source-language-producers)
35
+ - [Annotations](#annotations)
36
+ - [Annotation process](#annotation-process)
37
+ - [Who are the annotators?](#who-are-the-annotators)
38
+ - [Personal and Sensitive Information](#personal-and-sensitive-information)
39
+ - [Considerations for Using the Data](#considerations-for-using-the-data)
40
+ - [Social Impact of Dataset](#social-impact-of-dataset)
41
+ - [Discussion of Biases](#discussion-of-biases)
42
+ - [Other Known Limitations](#other-known-limitations)
43
+ - [Additional Information](#additional-information)
44
+ - [Dataset Curators](#dataset-curators)
45
+ - [Licensing Information](#licensing-information)
46
+ - [Citation Information](#citation-information)
47
+ - [Contributions](#contributions)
48
+
49
+ ## Dataset Description
50
+
51
+ - **Developed By** Dept. of CSE, SUST, Bangladesh
52
+ - **Paper:** [BanSpeech: A Multi-domain Bangla Speech Recognition Benchmark Toward Robust Performance in Challenging Conditions](https://ieeexplore.ieee.org/document/10453554)
53
+ - **Point of Contact:** [Ahnaf Mozib Samin](mailto:asamin9796@gmail.com)
54
+
55
+ ### Dataset Summary
56
+
57
+ BanSpeech is a publicly available human-annotated Bangladeshi standard Bangla multi-domain automatic speech recognition (ASR) benchmark.
58
+ This benchmark contains approximately 6.52 hours of human-annotated broadcast speech, totaling 8085 utterances, across 13 distinct domains and
59
+ is primarily designed for ASR performance evaluation in challenging conditions e.g. spontaneous, domain-shifting, multi-talker, code-switching.
60
+ In addition, BanSpeech covers dialectal domains from 7 regions of Bangladesh, however, this part is weakly labeled and can be used for dialect recognition task.
61
+ The [corresponding paper](https://ieeexplore.ieee.org/document/10453554) reports
62
+ detailed information about the development of BanSpeech, along with an analysis of the performance of state-of-the-art
63
+ fully supervised, self-supervised, and weakly supervised models on BanSpeech.
64
+
65
+ BanSpeech is developed by the researchers from the **Department of Computer Science and Engineering (CSE)** at **Shahjalal University of Science and Technology (SUST),
66
+ Bangladesh**.
67
+
68
+
69
+ ### Example Usage
70
+ To load the full BanSpeech, use the following code:
71
+
72
+ ```python
73
+ from datasets import load_dataset
74
+
75
+ dataset = load_dataset("SUST-CSE-Speech/banspeech")
76
+ ```
77
+
78
+ To load a specific domain of the BanSpeech, define the domain in the split parameter and set the streaming mode as True in the following way:
79
+
80
+ ```python
81
+ from datasets import load_dataset
82
+
83
+ dataset = load_dataset("SUST-CSE-Speech/banspeech", split="sports", streaming=True)
84
+ ```
85
+ More documentation on streaming can be found [from this link.](https://huggingface.co/docs/datasets/stream#split-dataset)
86
+
87
+ Alternatively, you can manually download the BanSpeech from [this HuggingFace directory.](https://huggingface.co/datasets/SUST-CSE-Speech/banspeech/blob/main/zipped_data/banspeech.zip)
88
+ The compressed folder contains speeches from the 13 general domains as well as the 7 dialectal domains.
89
+ The csv files corresponding to the domains can be found in the same zipped file.
90
+
91
+ ### Supported Tasks and Leaderboards
92
+
93
+ This benchmark is designed for the automatic speech recognition performance evaluation. The associated paper provides the comprehensive evaluation of the state-of-the-art
94
+ models on BanSpeech.
95
+
96
+ ### Languages
97
+
98
+ Bangladeshi standard Bangla
99
+
100
+ ## Dataset Structure
101
+
102
+ ### Data Instances
103
+
104
+ A typical data point comprises the path to the audio file and its transcription.
105
+
106
+ ```
107
+ {
108
+ 'audio': {'path': '/home/username/Study/wav2vec2/bangla_broadcast_speech_corpus/banspeech/television_news/news_shomoy_11_d_222.wav',
109
+ 'array': array([-0.00048828, -0.00018311, -0.00137329, ..., 0.00079346, 0.00091553, 0.00085449], dtype=float32),
110
+ 'sampling_rate': 16000},
111
+ 'transcript': 'এবং রাস্তা হয়েছে',
112
+ 'path': '/television_news/news_shomoy_11_d_222.wav'
113
+ }
114
+ ```
115
+
116
+ ### Data Fields
117
+
118
+ - audio: A dictionary containing the path to the original audio file, the decoded audio array, and the sampling rate. Note that when accessing the audio column: `dataset[0]["audio"]` the audio file is automatically decoded and resampled to `dataset.features["audio"].sampling_rate`. Decoding and resampling of a large number of audio files might take a significant amount of time. Thus it is important to first query the sample index before the `"audio"` column, *i.e.* `dataset[0]["audio"]` should **always** be preferred over `dataset["audio"][0]`.
119
+
120
+ - transcription: The orthographic transcription
121
+
122
+ - file_path: The relative path to the audio file
123
+
124
+
125
+ ## Additional Information
126
+
127
+ ### Licensing Information
128
+
129
+ [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.en)
130
+
131
+ ### Citation Information
132
+ Please cite the following paper if you use the corpus.
133
+
134
+ ```
135
+ @ARTICLE{10453554,
136
+ author={Samin, Ahnaf Mozib and Kobir, M. Humayon and Rafee, Md. Mushtaq Shahriyar and Ahmed, M. Firoz and Hasan, Mehedi and Ghosh, Partha and Kibria, Shafkat and Rahman, M. Shahidur},
137
+ journal={IEEE Access},
138
+ title={BanSpeech: A Multi-Domain Bangla Speech Recognition Benchmark Toward Robust Performance in Challenging Conditions},
139
+ year={2024},
140
+ volume={12},
141
+ number={},
142
+ pages={34527-34538},
143
+ keywords={Speech recognition;Data models;Benchmark testing;Speech processing;Robustness;Solid modeling;Task analysis;Automatic speech recognition;Transfer learning;Neural networks;Convolutional neural networks;Supervised learning;Automatic speech recognition;Bangla;domain shifting;read speech;spontaneous speech;transfer learning},
144
+ doi={10.1109/ACCESS.2024.3371478}}
145
+ ```
146
+
147
+ ### Contributions
148
+
149
+ Thanks to [Ahnaf Mozib Samin](https://huggingface.co/ahnafsamin) for adding this dataset.
data/audio_books-00000-of-00001-02820576e94700ae.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e99786dcc26ecf82c4a657146955ad7ac0cce4a0f9699892c3bd671a6f8e0e4
3
+ size 58391771
data/biography-00000-of-00001-fce1c4fba3d2ad87.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2fc39812026fd0cae31c2e831193999171f3dc9473c439cda4ab3db0b0b98177
3
+ size 54235384
data/celebrity_interview-00000-of-00001-17e2d1c274b2e140.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17fdfc2f13fb70de8afb460749df3e2b7065c18c74b15536524065fbde9b2c37
3
+ size 58580235
data/class_lecture-00000-of-00001-03a7b7defbd57c0c.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eccaacd2e0a74728efce3fd2108df9cb16d4e4043a4c88995d458b7faf77f116
3
+ size 58077051
data/documentary-00000-of-00001-e1ad8882631f8b49.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b8fdaab0cb76586e7100e99a936a4c76a5b46a21ddd83e8147b50be80b147b3
3
+ size 57984543
data/drama_series-00000-of-00001-7eeecfefa8f39d23.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df85fbc935b2af5adad0e72f817ec4ae38249278c85a986b274a4d213c2327b9
3
+ size 58286295
data/kid_cartoon-00000-of-00001-567570c242b43406.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b61f9e6d1e4bc32867214738f8c8d21ed3af036d9b0e89e89a22e9d36d7dca0
3
+ size 56837726
data/kid_voice-00000-of-00001-d1406df5318151ff.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:837055c88174fc2a9e3878f1f8f075ae3e64a42a59ccf085f9776c5f3a4a1096
3
+ size 93450145
data/medicine-00000-of-00001-aceb52e6d6f00b8f.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b9071aef913e59fa1c006fb3140898a4a9009be13f6f29990c47f9a26dee8862
3
+ size 59820476
data/parliament_speech-00000-of-00001-2ad4833cee9ee289.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0803f370243a175461746997df078de19b7e18134f47ce4d9c299e2243daaadf
3
+ size 67274702
data/political_talkshow-00000-of-00001-90370e9116ff7de7.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:840adbd288457a78aaa97b6fdf74e5831e28b362bfa43e245ee208f21147886a
3
+ size 57743347
data/sports-00000-of-00001-6bf5565c95d31cd5.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9cafc11a3ba07be5e8035939e75ba23790d9370d29922c40597517d5bce349e9
3
+ size 58288986
data/television_news-00000-of-00001-c3a31626a779b4ec.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:85a842f8ddc8364955b966145be5feb8ae95fee723770bd5faa463d753c3cdd3
3
+ size 58352455
zipped_data/banspeech.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b516d4a10da24e76b0a02e4e7ed1e5df534cfda4f88d3a5adf95fa5f0ca5055
3
+ size 823143282