Edit model card

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
0
Inference Examples
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.

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

Finetuned
(1909)
this model

Dataset used to train injilashah/whisper-small-finetuned-kashmir-words.2