Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- am
|
| 4 |
+
tags:
|
| 5 |
+
- speech
|
| 6 |
+
- audio
|
| 7 |
+
- audio-classification
|
| 8 |
+
- hubert
|
| 9 |
+
pipeline_tag: audio-classification
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
model_name_or_path = "quaja/hubert-base-amharic-speech-emotion-recognition"
|
| 13 |
+
config = AutoConfig.from_pretrained(model_name_or_path)
|
| 14 |
+
feature_extractor = Wav2Vec2FeatureExtractor.from_pretrained(model_name_or_path)
|
| 15 |
+
sampling_rate = feature_extractor.sampling_rate
|
| 16 |
+
model = HubertForSpeechClassification.from_pretrained(model_name_or_path)
|