Downloads · 30 days
24
2% of all-time downloads
bookbot/distil-wav2vec2-xls-r-adult-child-cls-64m
distil-wav2vec2-xls-r-adult-child-cls-64m 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.
DistilWav2Vec2 XLS-R Adult/Child Speech Classifier is an audio classification model based on the XLS-R architecture. This model is a distilled version of wav2vec2-xls-r-adult-child-cls on a private adult/child speech…
Downloads · 30 days
24
2% of all-time downloads
All-time downloads
1.1K
Public
Parameters
63.8M
1.8 GB on disk
Likes
1
Public
Click a slice to open those files.
.bin255 MB · 50%
From the Hugging Face model README
DistilWav2Vec2 XLS-R Adult/Child Speech Classifier is an audio classification model based on the XLS-R architecture. This model is a distilled version of wav2vec2-xls-r-adult-child-cls 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) |
|---|---|---|---|
distil-wav2vec2-xls-r-adult-child-cls-64m | 64M | XLS-R | Adult/Child Speech Classification Dataset |
The model achieves the following results on evaluation:
| Dataset | Loss | Accuracy | F1 |
|---|---|---|---|
| Adult/Child Speech Classification | 0.2571 | 93.86% | 0.9425 |
The following hyperparameters were used during training:
learning_rate: 3e-05train_batch_size: 16eval_batch_size: 16seed: 42gradient_accumulation_steps: 4total_train_batch_size: 64optimizer: 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.5509 | 1.0 | 191 | 0.3685 | 0.9086 | 0.9131 |
| 0.4543 | 2.0 | 382 | 0.3113 | 0.9247 | 0.9285 |
| 0.409 | 3.0 | 573 | 0.2723 | 0.9372 | 0.9418 |
| 0.3024 | 4.0 | 764 | 0.2786 | 0.9381 | 0.9417 |
| 0.3103 | 5.0 | 955 | 0.2571 | 0.9386 | 0.9425 |
Do consider the biases which came from pre-training datasets that may be carried over into the results of this model.
DistilWav2Vec2 XLS-R Adult/Child Speech Classifier was trained and evaluated by Ananto Joyoadikusumo. All computation and development are done on Kaggle.