Run this model with HF Jobs
Run speechbrain/emotion-recognition-wav2vec2-IEMOCAP on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/speechbrain/emotion-recognition-wav2vec2-IEMOCAP. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/speechbrain/emotion-recognition-wav2vec2-IEMOCAP on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use speechbrain/emotion-recognition-wav2vec2-IEMOCAP with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- speechbrain
How to use speechbrain/emotion-recognition-wav2vec2-IEMOCAP with speechbrain:
# interface not specified in config.json
- Notebooks
- Google Colab
- Kaggle
add hyperparams.yaml
Browse files12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152# ############################################################################# Model: WAV2VEC base for Emotion Recognition# ############################################################################
# Feature parameterssample_rate: 16000wav2vec2_hub: facebook/wav2vec2-base
# Pretrain folder (HuggingFace)pretrained_path: speechbrain/emotion-recognition-wav2vec2
# parametersencoder_dim: 768out_n_neurons: 4
wav2vec2: !new:speechbrain.lobes.models.huggingface_wav2vec.HuggingFaceWav2Vec2 source: !ref <wav2vec2_hub> output_norm: True freeze: True pretrain: False save_path: wav2vec2_checkpoints
avg_pool: !new:speechbrain.nnet.pooling.StatisticsPooling return_std: False
output_mlp: !new:speechbrain.nnet.linear.Linear input_size: !ref <encoder_dim> n_neurons: !ref <out_n_neurons> bias: False
model: !new:torch.nn.ModuleList - [!ref <output_mlp>]
modules: wav2vec2: !ref <wav2vec2> output_mlp: !ref <output_mlp>
label_encoder: !new:speechbrain.dataio.encoder.CategoricalEncoder
pretrainer: !new:speechbrain.utils.parameter_transfer.Pretrainer loadables: wav2vec2: !ref <wav2vec2> model: !ref <model> label_encoder: !ref <label_encoder> paths: wav2vec2: !ref <pretrained_path>/wav2vec2.ckpt model: !ref <pretrained_path>/model.ckpt label_encoder: !ref <pretrained_path>/label_encoder.txt
hyperparams.yamlAdded+52