Update README.md
Browse files
README.md
CHANGED
|
@@ -1,85 +1,88 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: mit
|
| 3 |
-
base_model:
|
| 4 |
-
- openai/whisper-medium
|
| 5 |
-
language: en
|
| 6 |
-
tags:
|
| 7 |
-
- automatic-speech-recognition
|
| 8 |
-
- whisper
|
| 9 |
-
- fine-tuning
|
| 10 |
-
- speech
|
| 11 |
-
model-index:
|
| 12 |
-
- name: whisper-medium-
|
| 13 |
-
results:
|
| 14 |
-
- task:
|
| 15 |
-
type: automatic-speech-recognition
|
| 16 |
-
dataset:
|
| 17 |
-
name: Custom Audio Dataset
|
| 18 |
-
type: audio
|
| 19 |
-
metrics:
|
| 20 |
-
- name: Word Error Rate
|
| 21 |
-
type: wer
|
| 22 |
-
value:
|
| 23 |
-
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
- **
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
}
|
|
|
|
|
|
|
|
|
|
| 85 |
```
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
base_model:
|
| 4 |
+
- openai/whisper-medium
|
| 5 |
+
language: en
|
| 6 |
+
tags:
|
| 7 |
+
- automatic-speech-recognition
|
| 8 |
+
- whisper
|
| 9 |
+
- fine-tuning
|
| 10 |
+
- speech
|
| 11 |
+
model-index:
|
| 12 |
+
- name: Pengwin30/whisper-medium-fine-tuned
|
| 13 |
+
results:
|
| 14 |
+
- task:
|
| 15 |
+
type: automatic-speech-recognition
|
| 16 |
+
dataset:
|
| 17 |
+
name: Custom Audio Dataset
|
| 18 |
+
type: audio
|
| 19 |
+
metrics:
|
| 20 |
+
- name: Word Error Rate
|
| 21 |
+
type: wer
|
| 22 |
+
value: 2.07%
|
| 23 |
+
- name: Word Error Rate With Limited Vocabulary
|
| 24 |
+
type: wer
|
| 25 |
+
value: 3.23%
|
| 26 |
+
---
|
| 27 |
+
|
| 28 |
+
# Whisper Medium Fine-Tuned on Custom English Dataset
|
| 29 |
+
|
| 30 |
+
This model is a fine-tuned version of OpenAI's [`whisper-medium`](https://huggingface.co/openai/whisper-medium), optimized for transcribing English speech from a custom dataset.
|
| 31 |
+
|
| 32 |
+
## π οΈ Model Details
|
| 33 |
+
|
| 34 |
+
- **Base Model:** openai/whisper-medium
|
| 35 |
+
- **Fine-tuned by:** Winardi (Research by Ms. Tong Rong)
|
| 36 |
+
- **Language:** English (monolingual)
|
| 37 |
+
- **Framework:** PyTorch, Hugging Face Transformers
|
| 38 |
+
|
| 39 |
+
## π Training Data
|
| 40 |
+
|
| 41 |
+
The model was fine-tuned on a proprietary/custom audio dataset using `metadata(clean1).csv`. Corrupted or low-quality audio files were excluded. The data was split as follows:
|
| 42 |
+
|
| 43 |
+
- **Training:** 80%
|
| 44 |
+
- **Validation:** 10%
|
| 45 |
+
- **Testing:** 10% (used only for evaluation, not during training)
|
| 46 |
+
|
| 47 |
+
## π― Intended Use
|
| 48 |
+
|
| 49 |
+
This model is intended for **automatic speech recognition (ASR)** in English, especially for environments similar to the training dataset (e.g., single-speaker, clean audio).
|
| 50 |
+
|
| 51 |
+
## π Performance
|
| 52 |
+
|
| 53 |
+
- **Metric:** Word Error Rate (WER)
|
| 54 |
+
- **WER:** `2.07%`
|
| 55 |
+
- **WER with Limited Vocalubary:** `3.23%`
|
| 56 |
+
|
| 57 |
+
## π« Limitations
|
| 58 |
+
|
| 59 |
+
- Not robust to heavy background noise or overlapping speech
|
| 60 |
+
- May not perform well on dialects or accents not represented in training data
|
| 61 |
+
- Only supports English input
|
| 62 |
+
|
| 63 |
+
## π¬ How to Use
|
| 64 |
+
|
| 65 |
+
```python
|
| 66 |
+
from transformers import pipeline
|
| 67 |
+
|
| 68 |
+
asr = pipeline("automatic-speech-recognition", model="Pengwin30/whisper-medium-fine-tuned")
|
| 69 |
+
result = asr("path/to/audio.wav")
|
| 70 |
+
print(result["text"])
|
| 71 |
+
```
|
| 72 |
+
|
| 73 |
+
## π License
|
| 74 |
+
|
| 75 |
+
This model is licensed under the **MIT License**.
|
| 76 |
+
|
| 77 |
+
## π Citation
|
| 78 |
+
|
| 79 |
+
If you use this model in your work, please cite:
|
| 80 |
+
|
| 81 |
+
```
|
| 82 |
+
@misc{Pengwin30/whisper-medium-fine-tuned,
|
| 83 |
+
author = {Tong Rong, Winardi},
|
| 84 |
+
title = {Whisper Medium Fine-Tuned on Custom Dataset},
|
| 85 |
+
year = {2025},
|
| 86 |
+
url = {https://huggingface.co/Pengwin30/whisper-medium-fine-tuned}
|
| 87 |
+
}
|
| 88 |
```
|