CSTR-Edinburgh/vctk
Updated โข 1.41k โข 52
How to use HamzaSidhu786/speech-accent-detection with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="HamzaSidhu786/speech-accent-detection") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("HamzaSidhu786/speech-accent-detection")
model = AutoModelForAudioClassification.from_pretrained("HamzaSidhu786/speech-accent-detection")This model is a fine-tuned version of facebook/wav2vec2-base on the VCTK dataset. It achieves the following results on the evaluation set:
I used the wav2vec2 model's weights and fine-tune over my dataset.
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.8005 | 1.0 | 2205 | 0.6526 | 0.8270 |
| 0.0508 | 2.0 | 4410 | 0.3466 | 0.9374 |
| 0.3054 | 3.0 | 6615 | 0.2946 | 0.9524 |
| 0.0882 | 4.0 | 8820 | 0.1832 | 0.9737 |
| 0.0006 | 5.0 | 11025 | 0.1539 | 0.9757 |
| 0.0003 | 6.0 | 13230 | 0.0677 | 0.9896 |
| 0.3011 | 7.0 | 15435 | 0.1219 | 0.9859 |
| 0.0001 | 8.0 | 17640 | 0.0695 | 0.9916 |
| 0.0001 | 9.0 | 19845 | 0.0397 | 0.9955 |
| 0.0 | 10.0 | 22050 | 0.0441 | 0.9955 |
Base model
facebook/wav2vec2-base