ksingla025's picture
Update README.md
1b3153e verified
metadata
language:
  - en
license: cc-by-4.0
library_name: nemo
datasets:
  - fisher_corpus
  - Switchboard-1
thumbnail: null
tags:
  - automatic-speech-recognition
  - speech
  - audio
  - CTC
  - Conformer
  - Transformer
  - NeMo
  - pytorch
model-index:
  - name: 1step_en_conformer_ctc_digits
    results: []

ASR+NL Model Overview

Recoganize begin and end of digit sequences and also transcribe

NVIDIA NeMo: Training

To train, fine-tune or play with the model you will need to install NVIDIA NeMo. We recommend you install it after you've installed latest Pytorch version.

pip install nemo_toolkit['all']

How to Use this Model

import nemo.collections.asr as nemo_asr

# Step 1: Load the ASR model from Hugging Face
model_name = 'WhissleAI/speech-tagger_en_digits'
asr_model = nemo_asr.models.EncDecCTCModel.from_pretrained(model_name)

# Step 2: Provide the path to your audio file
audio_file_path = '/path/to/your/audio_file.wav'

# Step 3: Transcribe the audio
transcription = asr_model.transcribe(paths2audio_files=[audio_file_path])
print(f'Transcription: {transcription[0]}')