File size: 448 Bytes
ba3e34b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
---
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) |