Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,48 @@
|
|
1 |
-
---
|
2 |
-
license: apache-2.0
|
3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
---
|
4 |
+
# UK & Ireland Accent Classification Model
|
5 |
+
|
6 |
+
This is a model to classify and identify the accent of a UK or Ireland speaker among one of the following accents:
|
7 |
+
* Irish English
|
8 |
+
* Midlands English
|
9 |
+
* Northern English
|
10 |
+
* Scottish English
|
11 |
+
* Southern English
|
12 |
+
* Welsh English
|
13 |
+
|
14 |
+
The model implements transfer learning feature extraction using [Yamnet](https://tfhub.dev/google/yamnet/1) model in order to train a model.
|
15 |
+
|
16 |
+
## Yamnet Model
|
17 |
+
Yamnet is an audio event classifier trained on the AudioSet dataset to predict audio events from the AudioSet ontology. It is available on TensorFlow Hub.
|
18 |
+
Yamnet accepts a 1-D tensor of audio samples with a sample rate of 16 kHz.
|
19 |
+
As output, the model returns a 3-tuple:
|
20 |
+
- scores of shape (N, 521) representing the scores of the 521 classes
|
21 |
+
- embeddings of shape (N, 1024)
|
22 |
+
- log_mel spectrogram representing the log-mel spectrogram of the entire audio frame
|
23 |
+
We will use the embeddings, which are the features extracted from the audio samples, as the input to our dense model.
|
24 |
+
|
25 |
+
## Dense Model
|
26 |
+
The dense model that we used consists of:
|
27 |
+
- An input layer which is embedding output of the Yamnet model
|
28 |
+
- 4 Dense hidden layers and 4 Dropout layers
|
29 |
+
- An output dense layer
|
30 |
+
|
31 |
+
## Dataset
|
32 |
+
The dataset used is the **[Open-source Multi-speaker Corpora of the English Accents in the British Isles](https://openslr.org/83/)** which consists of a total of **17,877 audio files**.
|
33 |
+
|
34 |
+
### Dataset Info
|
35 |
+
@inproceedings{demirsahin-etal-2020-open,
|
36 |
+
title = {{Open-source Multi-speaker Corpora of the English Accents in the British Isles}},
|
37 |
+
author = {Demirsahin, Isin and Kjartansson, Oddur and Gutkin, Alexander and Rivera, Clara},
|
38 |
+
booktitle = {Proceedings of The 12th Language Resources and Evaluation Conference (LREC)},
|
39 |
+
month = may,
|
40 |
+
year = {2020},
|
41 |
+
pages = {6532--6541},
|
42 |
+
address = {Marseille, France},
|
43 |
+
publisher = {European Language Resources Association (ELRA)},
|
44 |
+
url = {https://www.aclweb.org/anthology/2020.lrec-1.804},\n\ ISBN = {979-10-95546-34-4},
|
45 |
+
}
|
46 |
+
|
47 |
+
# Demo
|
48 |
+
A demo is available in HuggingFace Spaces ...
|