CoolFace
Modelpublic

alianurrahman/wav2vec2-base-indonesian-speech-emotion-recognition

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
3likes93downloads
Model Card

Indonesian Speech Emotion Recognition By Fine-Tuning Wav2Vec 2.0

The model is a fine-tuned version of facebook/wav2vec2-base for a Speech Emotion Recognition (SER) task.

The dataset used to fine-tune the original pre-trained model is the RAVDESS dataset. This dataset provides 1440 samples of recordings from actors performing on 5 different emotions in Bahasa Indonesia, which are:

python
emotions = ['angry', 'disgust', 'fear', 'happy', 'sad']

It achieves the following results on the evaluation set:

  • —Loss: 0.5023
  • —Accuracy: 0.8223

Model description

More information needed

Intended uses & limitations

More information needed

Training and evaluation data

More information needed

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • —learning_rate: 3e-5
  • —trainbatchsize: 32
  • —evalbatchsize: 32
  • —seed: 42
  • —gradientaccumulationsteps: 2
  • —totaltrainbatch_size: 10
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —num_epochs: 10
  • —mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossAccuracy
2.07520.21302.05050.1359
2.01190.42601.93400.2474
1.80730.63901.51690.3902
1.54180.841201.23730.5610
1.14321.051501.15790.5610
0.96451.261800.96100.6167
0.88111.472100.80630.7178
0.87561.682400.73790.7352
0.82081.892700.68390.7596
0.71182.13000.66640.7735
0.42612.313300.60580.8014
0.43942.523600.57540.8223
0.45812.723900.47190.8467
0.39672.934200.50230.8223

Citation

bibtex
@misc {alianur_rahman_2024,
	author       = { {Alianur Rahman} },
	title        = { wav2vec2-base-indonesian-speech-emotion-recognition (Revision 1fcfcf1) },
	year         = 2024,
	url          = { https://huggingface.co/alianurrahman/wav2vec2-base-indonesian-speech-emotion-recognition }
}

Contact

Any doubt, contact me on Twitter.

Framework versions

  • —Transformers 4.45.1
  • —Pytorch 2.2.2
  • —Datasets 3.0.1
  • —Tokenizers 0.20.0