An open API service indexing awesome lists of open source software.

https://github.com/sanket-poojary-03/fine-tuning-whisper

Fine tuning Whisper-Small LLM for Hinglish Audio dataset
https://github.com/sanket-poojary-03/fine-tuning-whisper

audio-dataset audio-to-text deep-learning fine-tuning huggingface-transformers python speech-recognition speech-to-text whisper whisper-ai

Last synced: 2 months ago
JSON representation

Fine tuning Whisper-Small LLM for Hinglish Audio dataset

Awesome Lists containing this project

README

          

# Fine tuning Open Source Whisper (Speech-to-Text) Model

For the **DARPG Hackathon 2024**, **The Problem Statement 3** involved evaluating and optimizing an Open Source speech-to-text model to accurately transcribe feedback calls related to citizen grievances into English text.

Since the textual output data was not provided, Whisper LLM was used to generate textual data for each audio dataset. This data was then stored in a `metadata.csv` file, and after preprocessing, it was used to fine-tune the Whisper small LLM.

Here’s a YouTube video explaining our project: [Watch our project explanation on YouTube](https://youtu.be/qPTS3mdLkAY?si=xgYwI-QeYI0aC2Km)

## Dataset Preparation

Prepare your Audio folder in the following format:
```
audio_dataset/
├── metadata.csv
└── data/
```
`metadata.csv` contains the names of the audio files `audio_path` and their corresponding texts `transcription`.
`data/` folder contains all the audio files.

## Hackathon Workflow

These are all the steps we followed during the hackathon.


Hackathon Workflow

## Deployment

We have deployed this model on **Hugging Face Spaces** for easy access and usage. You can try it out here:

🤗 [WHISPER-SPEECH-TO-TEXT-MODEL-FOR-DARPG](https://huggingface.co/spaces/sanket003/WHISPER-SPEECH-TO-TEXT-MODEL-FOR-DARPG)

## Using the Model Locally:

To use the model, run the `run_model.py` script, which contains a Gradio interface for easy interaction with the model.