Automatic Speech Recognition
Transformers
Safetensors
Amharic
wav2vec2-bert
amharic
speech-recognition
ctc
leyu
Instructions to use caesar-abrham/Chaka-ASR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use caesar-abrham/Chaka-ASR with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="caesar-abrham/Chaka-ASR")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForCTC processor = AutoProcessor.from_pretrained("caesar-abrham/Chaka-ASR") model = AutoModelForCTC.from_pretrained("caesar-abrham/Chaka-ASR", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add Chaka-ASR model card, inference example, and upstream credits
Browse files- README.md +5 -5
- examples/transcribe.py +2 -2
README.md
CHANGED
|
@@ -25,8 +25,8 @@ It is intended for transcription, voice interfaces, and speech applications in E
|
|
| 25 |
|
| 26 |
| Property | Details |
|
| 27 |
|---|---|
|
| 28 |
-
| Model ID | `
|
| 29 |
-
| Maintainer | [
|
| 30 |
| Language | Amharic |
|
| 31 |
| Task | Automatic speech recognition |
|
| 32 |
| Architecture | Wav2Vec2-BERT with a CTC output head |
|
|
@@ -102,15 +102,15 @@ A release license for Chaka-ASR has not yet been declared in this repository. Th
|
|
| 102 |
|
| 103 |
## Feedback
|
| 104 |
|
| 105 |
-
Report transcription issues and technical questions in the [Community tab](https://huggingface.co/
|
| 106 |
|
| 107 |
## Citation
|
| 108 |
|
| 109 |
```bibtex
|
| 110 |
@misc{chaka_asr_2026,
|
| 111 |
-
author = {
|
| 112 |
title = {Chaka-ASR: Amharic Automatic Speech Recognition},
|
| 113 |
year = {2026},
|
| 114 |
-
url = {https://huggingface.co/
|
| 115 |
}
|
| 116 |
```
|
|
|
|
| 25 |
|
| 26 |
| Property | Details |
|
| 27 |
|---|---|
|
| 28 |
+
| Model ID | `caesar-abrham/Chaka-ASR` |
|
| 29 |
+
| Maintainer | [caesar-abrham](https://huggingface.co/caesar-abrham) |
|
| 30 |
| Language | Amharic |
|
| 31 |
| Task | Automatic speech recognition |
|
| 32 |
| Architecture | Wav2Vec2-BERT with a CTC output head |
|
|
|
|
| 102 |
|
| 103 |
## Feedback
|
| 104 |
|
| 105 |
+
Report transcription issues and technical questions in the [Community tab](https://huggingface.co/caesar-abrham/Chaka-ASR/discussions). Include the model revision and runtime versions. Share recordings only when you have permission and remove personal or confidential information.
|
| 106 |
|
| 107 |
## Citation
|
| 108 |
|
| 109 |
```bibtex
|
| 110 |
@misc{chaka_asr_2026,
|
| 111 |
+
author = {caesar-abrham},
|
| 112 |
title = {Chaka-ASR: Amharic Automatic Speech Recognition},
|
| 113 |
year = {2026},
|
| 114 |
+
url = {https://huggingface.co/caesar-abrham/Chaka-ASR}
|
| 115 |
}
|
| 116 |
```
|
examples/transcribe.py
CHANGED
|
@@ -19,8 +19,8 @@ def main():
|
|
| 19 |
raise ValueError("Audio recording is empty")
|
| 20 |
if not np.isfinite(audio).all():
|
| 21 |
raise ValueError("Audio contains non-finite samples")
|
| 22 |
-
processor = AutoProcessor.from_pretrained("
|
| 23 |
-
model = AutoModelForCTC.from_pretrained("
|
| 24 |
target_rate = processor.feature_extractor.sampling_rate
|
| 25 |
if sample_rate != target_rate:
|
| 26 |
divisor = gcd(sample_rate, target_rate)
|
|
|
|
| 19 |
raise ValueError("Audio recording is empty")
|
| 20 |
if not np.isfinite(audio).all():
|
| 21 |
raise ValueError("Audio contains non-finite samples")
|
| 22 |
+
processor = AutoProcessor.from_pretrained("caesar-abrham/Chaka-ASR", revision=args.revision)
|
| 23 |
+
model = AutoModelForCTC.from_pretrained("caesar-abrham/Chaka-ASR", revision=args.revision)
|
| 24 |
target_rate = processor.feature_extractor.sampling_rate
|
| 25 |
if sample_rate != target_rate:
|
| 26 |
divisor = gcd(sample_rate, target_rate)
|