File size: 361 Bytes
2fc97bc
 
1c84924
 
da03f50
 
1c84924
 
 
 
1
2
3
4
5
6
7
8
9
10
---
pipeline_tag: audio-classification
metrics:
- accuracy
---

model_name_or_path = "quaja/hubert-base-amharic-speech-emotion-recognition"
config = AutoConfig.from_pretrained(model_name_or_path)
feature_extractor = Wav2Vec2FeatureExtractor.from_pretrained(model_name_or_path)
model = HubertForSpeechClassification.from_pretrained(model_name_or_path).to(device)