caesar-abrham commited on
Commit
047d4ce
·
verified ·
1 Parent(s): 0e80266

Add Chaka-ASR model card, inference example, and upstream credits

Browse files
Files changed (2) hide show
  1. README.md +5 -5
  2. 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 | `abrilo/Chaka-ASR` |
29
- | Maintainer | [abrilo](https://huggingface.co/abrilo) |
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/abrilo/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 = {abrilo},
112
  title = {Chaka-ASR: Amharic Automatic Speech Recognition},
113
  year = {2026},
114
- url = {https://huggingface.co/abrilo/Chaka-ASR}
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("abrilo/Chaka-ASR", revision=args.revision)
23
- model = AutoModelForCTC.from_pretrained("abrilo/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)
 
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)