Downloads · 30 days
14
1% of all-time downloads
fitlemon/whisper-small-uz-en-ru-lang-id
whisper-small-uz-en-ru-lang-id is a audio classification model from fitlemon. Use it for the audio classification task on the model card, and read the license before you ship it in a product. 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
14
1% of all-time downloads
All-time downloads
1.4K
Public
Parameters
88.4M
1.1 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors353 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of openai/whisper-small on the "mozilla-foundation/common_voice_16_1"(uz/en/ru) dataset. It achieves the following results on the validation set during training:
Accuracy on the test (evaluation) dataset: 92.4%.
More information needed
More information needed
# datasets for each language from the set {uz: Uzbek, en: English, ru: Russian}
common_voice_train_uz = load_dataset("mozilla-foundation/common_voice_16_1", "uz", split='train', trust_remote_code=True, token=env('HUGGING_TOKEN'), streaming=True)
common_voice_train_ru = load_dataset("mozilla-foundation/common_voice_16_1", "ru", split='train', trust_remote_code=True, token=env('HUGGING_TOKEN'), streaming=True)
common_voice_train_en = load_dataset("mozilla-foundation/common_voice_16_1", "en", split='train', trust_remote_code=True, token=env('HUGGING_TOKEN'), streaming=True)
common_voice_valid_uz = load_dataset("mozilla-foundation/common_voice_16_1", "uz", split='validation', trust_remote_code=True, token=env('HUGGING_TOKEN'), streaming=True)
common_voice_valid_ru = load_dataset("mozilla-foundation/common_voice_16_1", "ru", split='validation', trust_remote_code=True, token=env('HUGGING_TOKEN'), streaming=True)
common_voice_valid_en = load_dataset("mozilla-foundation/common_voice_16_1", "en", split='validation', trust_remote_code=True, token=env('HUGGING_TOKEN'), streaming=True)
# code to shuffle and to take limited size of data. Rows per set: Train-24000, Validation-3000.
...
# concatenate 3 datasets
common_voice['train'] = concatenate_datasets([common_voice_train_uz, common_voice_train_ru, common_voice_train_en])
Used Trainer from transformers. Training and evaluation process are described in the Jupyter notebook, storing in the following github repository:
https://github.com/fitlemon/whisper-small-uz-en-ru-lang-id
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|---|---|---|---|---|---|
| 0.0252 | 1 | 3000 | 0.3089 | 0.953 | 0.9525 |
| 0.0357 | 2 | 6000 | 0.1732 | 0.964 | 0.9637 |
| 0.0 | 3 | 9000 | 0.2065 | 0.9747 | 0.9746 |