YAML Metadata
Warning:
empty or missing yaml metadata in repo card
(https://huggingface.co/docs/hub/model-cards#model-card-metadata)
Fine-Tuned Wav2Vec2 Model for Emotion Detection
This model is fine-tuned from facebook/wav2vec2-base
for an emotion classification task with 8 output labels.
How to Use
python
from transformers import Wav2Vec2Processor
import torch
from model import FineTunedWav2Vec2Model
# Load processor and model
processor = Wav2Vec2Processor.from_pretrained("facebook/wav2vec2-base")
model = FineTunedWav2Vec2Model.from_pretrained("path_to_model")
# Perform inference
input_values = processor("audio_file_path", return_tensors="pt", sampling_rate=16000).input_values
logits = model(input_values)
predictions = torch.argmax(logits, dim=-1)
- Downloads last month
- 7
Inference Providers
NEW
This model isn't deployed by any Inference Provider.
๐
Ask for provider support
HF Inference deployability: The model has no library tag.