Instructions for ESPNet Inference Environment Setup

Installation Steps

Execute the following commands to set up the inference environment:

1. Install Git LFS

apt update && apt install git-lfs

2. Clone the Model Repository

git clone https://huggingface.co/bharatgenai/Shrutam-HindiASR-1.0

3. Create and Activate Virtual Environment

python3 -m venv ASR_infer
source ./ASR_infer/bin/activate

4. Install Custom ESPNet Branch

pip install git+https://github.com/Adhikari-Ashutosh/espnet.git@lazy-infer

Running Inference

Navigate to the model directory and run inference:

cd Shrutam-HindiASR-1.0
python3 inference.py --audio <path-to-audio-file>

Example Usage

python3 inference.py --audio test.wav

Note: The custom ESPNet branch (lazy-infer) includes the necessary modifications for RNNTLoss compatibility.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support