Downloads · 30 days
9
2% of all-time downloads
MatsRooth/wav2vec2-base_than_I_did
wav2vec2-base_than_I_did is a audio classification model from MatsRooth. Use it for the audio classification task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
9
2% of all-time downloads
All-time downloads
403
Public
Parameters
94.4M
378 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors378 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of facebook/wav2vec2-base on the MatsRooth/than_I_did dataset. It achieves the following results on the evaluation set:
This is a binary classifier for the prosody of tokens of "I did". The label s is subject prominence. The label ns is the complement, with prominence either on "did" or afterwards.
Research on prosody.
The utterances are collected on Youtube, aligned with the Youtube transcript using Kaldi, and cut to the words "I did" using Matlab. Labels were assigned by the experimenter, using 's' for tokens there the main clause subject differed from the than-clause subject, and 'ns' for other tokens. The labeling does not depend on prosody, though it correlates with it.
On the same problem using an SVM classifier, see Howell, Jonathan, Mats Rooth, and Michael Wagner, Acoustic classification of focus: On the web and in the lab (2016).
The class ns was reduced to 160 tokens, to match the number of tokens of s.
Training and evaluation use run_audio_classification.py from HuggingFace. The slurm script than_I_did.sub launches training.
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| No log | 0.94 | 8 | 0.6940 | 0.4694 |
| 0.6939 | 2.0 | 17 | 0.6776 | 0.6735 |
| 0.6844 | 2.94 | 25 | 0.6505 | 0.6531 |
| 0.6752 | 4.0 | 34 | 0.6390 | 0.6122 |
| 0.6071 | 4.94 | 42 | 0.5664 | 0.7959 |
| 0.5483 | 6.0 | 51 | 0.4090 | 0.8571 |
| 0.5483 | 6.94 | 59 | 0.3948 | 0.8163 |
| 0.4747 | 8.0 | 68 | 0.4082 | 0.8163 |
| 0.4782 | 8.94 | 76 | 0.3435 | 0.8776 |
| 0.4403 | 10.0 | 85 | 0.3410 | 0.8776 |
| 0.4682 | 10.94 | 93 | 0.2878 | 0.8980 |
| 0.4032 | 12.0 | 102 | 0.2589 | 0.9184 |
| 0.359 | 12.94 | 110 | 0.2554 | 0.9184 |
| 0.359 | 14.0 | 119 | 0.2077 | 0.9592 |
| 0.3142 | 14.94 | 127 | 0.1839 | 0.9592 |
| 0.3735 | 16.0 | 136 | 0.1944 | 0.9388 |
| 0.3655 | 16.94 | 144 | 0.1870 | 0.9592 |
| 0.3918 | 18.0 | 153 | 0.2005 | 0.9592 |
| 0.3305 | 18.82 | 160 | 0.1947 | 0.9592 |