ehcalabres/wav2vec2-lg-xlsr-en-speech-emotion-recognition

Model

251

stars

10

commits

8

repos using this model

1

linked in READMEs

Oct 24, 2024

updated

audio-classification
endpoints_compatible
generated_from_trainer
pytorch
safetensors
tensorboard
transformers
wav2vec2
Browse cluster: Multilingual Legal NLP Models

README

Speech Emotion Recognition By Fine-Tuning Wav2Vec 2.0

The model is a fine-tuned version of jonatasgrosman/wav2vec2-large-xlsr-53-english 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 8 different emotions in English, which are:

emotions = ['angry', 'calm', 'disgust', 'fearful', 'happy', 'neutral', 'sad', 'surprised']

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: 0.0001
  • train_batch_size: 4
  • eval_batch_size: 4
  • seed: 42
  • gradient_accumulation_steps: 2
  • total_train_batch_size: 8
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • num_epochs: 3
  • mixed_precision_training: 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

@misc {enrique_hernández_calabrés_2024,
	author       = { {Enrique Hernández Calabrés} },
	title        = { wav2vec2-lg-xlsr-en-speech-emotion-recognition (Revision 17cf17c) },
	year         = 2024,
	url          = { https://huggingface.co/ehcalabres/wav2vec2-lg-xlsr-en-speech-emotion-recognition },
	doi          = { 10.57967/hf/2045 },
	publisher    = { Hugging Face }
}

Contact

Any doubt, contact me on Twitter.

Framework versions

  • Transformers 4.8.2
  • Pytorch 1.9.0+cu102
  • Datasets 1.9.0
  • Tokenizers 0.10.3

Contributors

ehcalabres

8 commits

SFconvertbot

1 commits

system

1 commits

ehcalabres/wav2vec2-lg-xlsr-en-speech-emotion-recognition

Model

251

stars

10

commits

8

repos using this model

1

linked in READMEs

Oct 24, 2024

updated

audio-classification
endpoints_compatible
generated_from_trainer
pytorch
safetensors
tensorboard
transformers
wav2vec2
Browse cluster: Multilingual Legal NLP Models

README

Speech Emotion Recognition By Fine-Tuning Wav2Vec 2.0

The model is a fine-tuned version of jonatasgrosman/wav2vec2-large-xlsr-53-english 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 8 different emotions in English, which are:

emotions = ['angry', 'calm', 'disgust', 'fearful', 'happy', 'neutral', 'sad', 'surprised']

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: 0.0001
  • train_batch_size: 4
  • eval_batch_size: 4
  • seed: 42
  • gradient_accumulation_steps: 2
  • total_train_batch_size: 8
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • num_epochs: 3
  • mixed_precision_training: 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

@misc {enrique_hernández_calabrés_2024,
	author       = { {Enrique Hernández Calabrés} },
	title        = { wav2vec2-lg-xlsr-en-speech-emotion-recognition (Revision 17cf17c) },
	year         = 2024,
	url          = { https://huggingface.co/ehcalabres/wav2vec2-lg-xlsr-en-speech-emotion-recognition },
	doi          = { 10.57967/hf/2045 },
	publisher    = { Hugging Face }
}

Contact

Any doubt, contact me on Twitter.

Framework versions

  • Transformers 4.8.2
  • Pytorch 1.9.0+cu102
  • Datasets 1.9.0
  • Tokenizers 0.10.3

Contributors

ehcalabres

8 commits

SFconvertbot

1 commits

system

1 commits