Kleber's picture
Update README.md
420e58e verified
metadata
language:
  - rw

How to Get Started with the Model

Use the code below to get started with the model.

from nemo.collections.asr.models.ctc_bpe_models import EncDecCTCModelBPE

asr_model = EncDecCTCModelBPE.from_pretrained("DigitalUmuganda/afrivoice_kinyarwanda_health_domain_stt")

transcription = asr_model.transcribe(paths2audio_files: List[str], batch_size: int=4, logprobs: bool=False, return_hypotheses: bool=False, num_workers: int=0)