Update README.md
#1
by
dhayac
- opened
README.md
CHANGED
|
@@ -1,3 +1,44 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
datasets:
|
| 4 |
+
- ai4bharat/IndicVoices-ST
|
| 5 |
+
language:
|
| 6 |
+
- hi
|
| 7 |
+
metrics:
|
| 8 |
+
- wer
|
| 9 |
+
base_model:
|
| 10 |
+
- nvidia/stt_en_fastconformer_hybrid_large_streaming_multi
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# Model Card for Aibharath-FastConformer-Hindi-ASR
|
| 14 |
+
|
| 15 |
+
This model is a fine-tuned version of **STT En FastConformer Hybrid Large Streaming** from NVIDIA's NeMo framework, specifically optimized for **Hindi automatic speech recognition (ASR)**. The model has been fine-tuned on the **Aibharath Hindi dataset** to enhance transcription accuracy for Hindi speech, including real-time streaming applications.
|
| 16 |
+
|
| 17 |
+
## Model Details
|
| 18 |
+
|
| 19 |
+
### Model Description
|
| 20 |
+
|
| 21 |
+
- **Model type:** Hybrid ASR model (CTC + Attention)
|
| 22 |
+
- **Model Sample Rate:** 16000 hz
|
| 23 |
+
- **Language(s) (NLP):** Hindi (`hi`)
|
| 24 |
+
- **License:** Apache-2.0
|
| 25 |
+
- **Finetuned from model [optional]:** `nvidia/stt_en_fastconformer_hybrid_large_streaming_multi`
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
|
| 29 |
+
## **How to Get Started with the Model**
|
| 30 |
+
|
| 31 |
+
You can load and use the model with the following code:
|
| 32 |
+
|
| 33 |
+
```python
|
| 34 |
+
import nemo.collections.asr as nemo_asr
|
| 35 |
+
asr_model = nemo_asr.models.EncDecHybridRNNTCTCBPEModel.from_pretrained(model_name="salesken/Hindi-FastConformer-Streaming-ASR")
|
| 36 |
+
|
| 37 |
+
# Optional: change the default latency. Default latency is 1040ms. Supported latencies: {0: 0ms, 1: 80ms, 16: 480ms, 33: 1040ms}.
|
| 38 |
+
# Note: These are the worst latency and average latency would be half of these numbers.
|
| 39 |
+
asr_model.encoder.set_default_att_context_size([70,13])
|
| 40 |
+
|
| 41 |
+
#Optional: change the default decoder. Default decoder is Transducer (RNNT). Supported decoders: {ctc, rnnt}.
|
| 42 |
+
asr_model.change_decoding_strategy(decoder_type='rnnt')
|
| 43 |
+
|
| 44 |
+
asr_model.transcribe(['2086-149220-0033.wav'])
|