Downloads · 30 days
2.6K
44% of all-time downloads
bookbot/wav2vec2-xls-r-adult-child-cls
wav2vec2-xls-r-adult-child-cls is a audio classification model from bookbot. 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.
Wav2Vec2 XLS-R Adult/Child Speech Classifier is an audio classification model based on the XLS-R architecture. This model is a fine-tuned version of wav2vec2-xls-r-300m on a private adult/child speech classification d…
Downloads · 30 days
2.6K
44% of all-time downloads
All-time downloads
5.8K
Public
Parameters
316M
11.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.bin1.3 GB · 50%
From the Hugging Face model README
Wav2Vec2 XLS-R Adult/Child Speech Classifier is an audio classification model based on the XLS-R architecture. This model is a fine-tuned version of wav2vec2-xls-r-300m on a private adult/child speech classification dataset.
This model was trained using HuggingFace's PyTorch framework. All training was done on a Tesla P100, provided by Kaggle. Training metrics were logged via Tensorboard.
| Model | #params | Arch. | Training/Validation data (text) |
|---|---|---|---|
wav2vec2-xls-r-adult-child-cls | 300M | XLS-R | Adult/Child Speech Classification Dataset |
The model achieves the following results on evaluation:
| Dataset | Loss | Accuracy | F1 |
|---|---|---|---|
| Adult/Child Speech Classification | 0.1851 | 94.69% | 0.9508 |
The following hyperparameters were used during training:
learning_rate: 3e-05train_batch_size: 8eval_batch_size: 8seed: 42gradient_accumulation_steps: 4total_train_batch_size: 32optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08lr_scheduler_type: linearlr_scheduler_warmup_ratio: 0.1num_epochs: 5| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|---|---|---|---|---|---|
| 0.2906 | 1.0 | 383 | 0.1856 | 0.9372 | 0.9421 |
| 0.1749 | 2.0 | 766 | 0.1925 | 0.9418 | 0.9465 |
| 0.1681 | 3.0 | 1149 | 0.1893 | 0.9414 | 0.9459 |
| 0.1295 | 4.0 | 1532 | 0.1851 | 0.9469 | 0.9508 |
| 0.2031 | 5.0 | 1915 | 0.1944 | 0.9423 | 0.9460 |
Do consider the biases which came from pre-training datasets that may be carried over into the results of this model.
Wav2Vec2 XLS-R Adult/Child Speech Classifier was trained and evaluated by Wilson Wongso. All computation and development are done on Kaggle.