File size: 449 Bytes
2fc97bc
8958077
 
 
 
 
bb4c459
8958077
bb4c459
da03f50
 
1c84924
 
 
87f3bb4
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
language:
- am
tags:
- speech
- audio
- audio-classification
- hubert
pipeline_tag: audio-classification
---

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)
sampling_rate = feature_extractor.sampling_rate
model = HubertForSpeechClassification.from_pretrained(model_name_or_path)