Downloads · 30 days
17
10% of all-time downloads
erkhem-gantulga/whisper-medium-mn
whisper-medium-mn is a automatic speech recognition model from erkhem-gantulga. Use it when you need speech turned into text. It is set up for transformers. The card lists the license as apache-2.0.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
17
10% of all-time downloads
All-time downloads
173
Public
Parameters
764M
15.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors3.1 GB · 100%
From the Hugging Face model README
This model is a fine-tuned version of openai/whisper-medium on the Common Voice 17.0 and Google Fleurs datasets. It achieves the following results on the evaluation set:
More information needed
More information needed
Datasets used for training:
For training, combined Common Voice 17.0 and Google Fleurs datasets:
from datasets import load_dataset, DatasetDict, concatenate_datasets
from datasets import Audio
common_voice = DatasetDict()
common_voice["train"] = load_dataset("mozilla-foundation/common_voice_17_0", "mn", split="train+validation+validated", use_auth_token=True)
common_voice["test"] = load_dataset("mozilla-foundation/common_voice_17_0", "mn", split="test", use_auth_token=True)
common_voice = common_voice.cast_column("audio", Audio(sampling_rate=16000))
common_voice = common_voice.remove_columns(
["accent", "age", "client_id", "down_votes", "gender", "locale", "path", "segment", "up_votes", "variant"]
)
google_fleurs = DatasetDict()
google_fleurs["train"] = load_dataset("google/fleurs", "mn_mn", split="train+validation", use_auth_token=True)
google_fleurs["test"] = load_dataset("google/fleurs", "mn_mn", split="test", use_auth_token=True)
google_fleurs = google_fleurs.remove_columns(
["id", "num_samples", "path", "raw_transcription", "gender", "lang_id", "language", "lang_group_id"]
)
google_fleurs = google_fleurs.rename_column("transcription", "sentence")
dataset = DatasetDict()
dataset["train"] = concatenate_datasets([common_voice["train"], google_fleurs["train"]])
dataset["test"] = concatenate_datasets([common_voice["test"], google_fleurs["test"]])
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Wer |
|---|---|---|---|---|
| 0.2986 | 0.4912 | 500 | 0.3557 | 40.1515 |
| 0.2012 | 0.9823 | 1000 | 0.2310 | 28.3512 |
| 0.099 | 1.4735 | 1500 | 0.1864 | 23.4453 |
| 0.0733 | 1.9646 | 2000 | 0.1405 | 18.3024 |
| 0.0231 | 2.4558 | 2500 | 0.1308 | 16.5645 |
| 0.0191 | 2.9470 | 3000 | 0.1155 | 14.5569 |
| 0.0059 | 3.4381 | 3500 | 0.1122 | 13.4728 |
| 0.006 | 3.9293 | 4000 | 0.1083 | 12.9580 |