You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Direct Use

from transformers import WhisperForConditionalGeneration, WhisperProcessor from transformers import pipeline

model = WhisperForConditionalGeneration.from_pretrained("injilashah/whisper-small-finetuned-kashmir-words.2") processor = WhisperProcessor.from_pretrained("injilashah/whisper-small-finetuned-kashmir-words.2")

import gradio as gr

pipe = pipeline(model="from transformers import pipeline import gradio as gr

pipe = pipeline(model="sanchit-gandhi/whisper-small-hi")

def transcribe(audio): text = pipe(audio)["text"] return text

iface = gr.Interface( fn=transcribe, inputs=gr.Audio(source="microphone"), outputs="text", title="ASR", description="Realtime demo for ENGLISH speech recognition using fine-tuned Whisper small model.", )

iface.launch()

Training Hyperparameters

per_device_train_batch_size=2, # increase
gradient_accumulation_steps=1,  # increased by 2x for every 2x decrease in batch size
learning_rate=1e-5,
#max_steps=50,
#evaluation_strategy="steps",
num_train_epochs=7,
  • Training regime: <!--fp16 mixed precision
Downloads last month
11
Safetensors
Model size
242M params
Tensor type
F32
·
Inference Providers NEW
This model is not currently available via any of the supported Inference Providers.

Model tree for injilashah/whisper-small-finetuned-kashmir-words.2

Finetuned
(2312)
this model