Commit
·
b680c8a
1
Parent(s):
1d49599
Update README.md
Browse files
README.md
CHANGED
|
@@ -33,14 +33,14 @@ model-index:
|
|
| 33 |
# Model Description
|
| 34 |
This model is a fine-tuned version of OpenAI's Whisper medium model, specifically optimized for the Hindi language. The fine-tuning process has led to an improvement in accuracy by 2.5% compared to the original Whisper model.
|
| 35 |
|
| 36 |
-
Performance
|
| 37 |
After fine-tuning, the model shows a 2.5% increase in transcription accuracy for Hindi language audio compared to the base Whisper medium model.
|
| 38 |
|
| 39 |
-
How to Use
|
| 40 |
You can use this model directly with a simple API call in Hugging Face. Here is a Python code snippet for using the model:
|
| 41 |
|
| 42 |
-
python
|
| 43 |
-
Copy code
|
| 44 |
from transformers import AutoModelForCTC, Wav2Vec2Processor
|
| 45 |
|
| 46 |
model = AutoModelForCTC.from_pretrained("your-username/your-model-name")
|
|
@@ -53,11 +53,10 @@ input_audio = processor(path_to_audio_file, return_tensors="pt", padding=True)
|
|
| 53 |
transcription = model.generate(**input_audio)
|
| 54 |
print("Transcription:", transcription)
|
| 55 |
|
| 56 |
-
Citation
|
| 57 |
If you use this model in your research, please cite it as follows:
|
| 58 |
|
| 59 |
bibtex
|
| 60 |
-
Copy code
|
| 61 |
@misc{your-model,
|
| 62 |
author = {Your Name},
|
| 63 |
title = {Fine-tuned Whisper Medium for Hindi Language},
|
|
|
|
| 33 |
# Model Description
|
| 34 |
This model is a fine-tuned version of OpenAI's Whisper medium model, specifically optimized for the Hindi language. The fine-tuning process has led to an improvement in accuracy by 2.5% compared to the original Whisper model.
|
| 35 |
|
| 36 |
+
# Performance
|
| 37 |
After fine-tuning, the model shows a 2.5% increase in transcription accuracy for Hindi language audio compared to the base Whisper medium model.
|
| 38 |
|
| 39 |
+
# How to Use
|
| 40 |
You can use this model directly with a simple API call in Hugging Face. Here is a Python code snippet for using the model:
|
| 41 |
|
| 42 |
+
# python
|
| 43 |
+
# Copy code
|
| 44 |
from transformers import AutoModelForCTC, Wav2Vec2Processor
|
| 45 |
|
| 46 |
model = AutoModelForCTC.from_pretrained("your-username/your-model-name")
|
|
|
|
| 53 |
transcription = model.generate(**input_audio)
|
| 54 |
print("Transcription:", transcription)
|
| 55 |
|
| 56 |
+
# Citation
|
| 57 |
If you use this model in your research, please cite it as follows:
|
| 58 |
|
| 59 |
bibtex
|
|
|
|
| 60 |
@misc{your-model,
|
| 61 |
author = {Your Name},
|
| 62 |
title = {Fine-tuned Whisper Medium for Hindi Language},
|