Automatic Speech Recognition
Transformers
PyTorch
TensorBoard
Safetensors
Urdu
wav2vec2
hf-asr-leaderboard
robust-speech-event
Eval Results (legacy)
Instructions to use kingabzpro/wav2vec2-60-urdu with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kingabzpro/wav2vec2-60-urdu with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="kingabzpro/wav2vec2-60-urdu")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForCTC processor = AutoProcessor.from_pretrained("kingabzpro/wav2vec2-60-urdu") model = AutoModelForCTC.from_pretrained("kingabzpro/wav2vec2-60-urdu", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from kingabzpro/wav2vec2-60-urdu: direct link, hf CLI and curl.
- Browser
- Download file 1.95 kB
-
https://huggingface.co/kingabzpro/wav2vec2-60-urdu/resolve/4505ee448fb498d9d013bb2c5d5ca3bc3379b762/README.md
- Command line
-
hf download hf://kingabzpro/wav2vec2-60-urdu@4505ee448fb498d9d013bb2c5d5ca3bc3379b762/README.md
-
curl -L -o README.md https://huggingface.co/kingabzpro/wav2vec2-60-urdu/resolve/4505ee448fb498d9d013bb2c5d5ca3bc3379b762/README.md
1.95 kB
metadata
tags:
- generated_from_trainer
datasets:
- common_voice
model-index:
- name: wav2vec2-60-urdu
results: []
wav2vec2-60-urdu
This model is a fine-tuned version of Harveenchadha/vakyansh-wav2vec2-urdu-urm-60 on the common_voice dataset. It achieves the following results on the evaluation set:
- Loss: 8.8609
- Wer: 0.5948
- Cer: 0.3176
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 0.0001
- train_batch_size: 16
- eval_batch_size: 8
- seed: 42
- gradient_accumulation_steps: 2
- total_train_batch_size: 32
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 100
- num_epochs: 30
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Wer | Cer |
|---|---|---|---|---|---|
| 24.6193 | 4.17 | 50 | 8.8884 | 1.4349 | 0.6538 |
| 4.0847 | 8.33 | 100 | 8.9820 | 0.8175 | 0.4775 |
| 2.7909 | 12.5 | 150 | 10.4491 | 0.6559 | 0.4129 |
| 1.8326 | 16.67 | 200 | 8.7698 | 0.6105 | 0.3530 |
| 1.2727 | 20.83 | 250 | 8.7352 | 0.6061 | 0.3302 |
| 1.0649 | 25.0 | 300 | 8.7588 | 0.6079 | 0.3240 |
| 1.0751 | 29.17 | 350 | 8.8609 | 0.5948 | 0.3176 |
Framework versions
- Transformers 4.15.0
- Pytorch 1.10.0+cu111
- Datasets 1.17.0
- Tokenizers 0.10.3