thennal/indic_tts_ml
Viewer • Updated • 8.6k • 362 • 6
How to use taphuynh/whisper-turbo-ml-en-codeswitch-fullft-2607.29.1-fp16-ct2 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="taphuynh/whisper-turbo-ml-en-codeswitch-fullft-2607.29.1-fp16-ct2") # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("taphuynh/whisper-turbo-ml-en-codeswitch-fullft-2607.29.1-fp16-ct2", device_map="auto")CTranslate2 conversion. This repo is
taphuynh/whisper-turbo-ml-en-codeswitch-fullft-2607.29.1-fp16converted to CTranslate2 (float16) for use with faster-whisper.from faster_whisper import WhisperModel model = WhisperModel("taphuynh/whisper-turbo-ml-en-codeswitch-fullft-2607.29.1-fp16-ct2", compute_type="float16")Converted with
ct2-transformers-converter. Original model card below.
Fine-tuned from openai/whisper-large-v3-turbo with
arca-tuner-lite (prune_finetune_ml_en_codeswitch).
openai/whisper-large-v3-turbowhisper-turbo, malayalam-english, code-switch, pruned, vocab-prune, full-ftml-en-cs-fullftMetrics on the held-out eval split, on the best checkpoint (the one this repo
contains — training used early stopping / load_best_model_at_end):
| Metric | Value |
|---|---|
| WER | 15.4686 |
| CER | 13.5835 |
| loss | 0.0292 |
| wer_ml | 10.6873 |
| cer_ml | 9.3094 |
| n_ml | 604.0000 |
| wer_en | 12.7083 |
| cer_en | 9.6942 |
| n_en | 157.0000 |
| wer_mixed | 19.8012 |
| cer_mixed | 17.2802 |
| n_mixed | 439.0000 |
| script_drop_rate | 2.1667 |
| hyp_ml_word_share | 90.8188 |
| cs_score | 12.6363 |
| epoch | 0.3637 |
from transformers import pipeline
asr = pipeline("automatic-speech-recognition", model="taphuynh/whisper-turbo-ml-en-codeswitch-fullft-2607.29.1")
print(asr("audio.wav")["text"])
taphuynh/arcaai-medical-malayalam-englishthennal/indic_tts_mlthennal/ulca_mlthennal/GMaSCvrclc/imasc_slrsmcproject/MSCtaphuynh/MayoClinic_00001| Hyperparameter | Value |
|---|---|
| learning rate | 1e-05 |
| effective batch size | 8 (8 × 1 grad-accum) |
| max steps | 34000 |
| warmup steps | 1000 |
| lr scheduler | cosine |
| precision | bf16 |
| early stopping patience | 6 |
| metric for best model | cs_score |
| seed | 42 |
The exact resolved configuration and environment are in run_card.json in this
repo.
transformers.Base model
openai/whisper-large-v3