Instructions to use drrobot9/wav2vec2-nigerian-language-identifier-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use drrobot9/wav2vec2-nigerian-language-identifier-v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="drrobot9/wav2vec2-nigerian-language-identifier-v2")# Load model directly from transformers import AutoProcessor, AutoModelForAudioClassification processor = AutoProcessor.from_pretrained("drrobot9/wav2vec2-nigerian-language-identifier-v2") model = AutoModelForAudioClassification.from_pretrained("drrobot9/wav2vec2-nigerian-language-identifier-v2") - Notebooks
- Google Colab
- Kaggle
wav2vec2-nigerian-lid-v2
This model is a fine-tuned version of facebook/wav2vec2-large-xlsr-53 on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.0075
- Accuracy: 0.9977
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.0002
- train_batch_size: 64
- eval_batch_size: 64
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 0.1
- num_epochs: 10
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.4538 | 1.0 | 245 | 0.1105 | 0.9693 |
| 0.0851 | 2.0 | 490 | 0.0244 | 0.9915 |
| 0.0489 | 3.0 | 735 | 0.0148 | 0.9937 |
| 0.0300 | 4.0 | 980 | 0.0142 | 0.9954 |
| 0.0125 | 5.0 | 1225 | 0.0068 | 0.9966 |
| 0.0075 | 6.0 | 1470 | 0.0060 | 0.9977 |
| 0.0184 | 7.0 | 1715 | 0.0045 | 0.9977 |
| 0.0004 | 8.0 | 1960 | 0.0067 | 0.9983 |
| 0.0048 | 9.0 | 2205 | 0.0059 | 0.9977 |
| 0.0012 | 10.0 | 2450 | 0.0075 | 0.9977 |
Framework versions
- Transformers 5.0.0
- Pytorch 2.10.0+cu128
- Datasets 4.0.0
- Tokenizers 0.22.2
- Downloads last month
- 1
Model tree for drrobot9/wav2vec2-nigerian-language-identifier-v2
Base model
facebook/wav2vec2-large-xlsr-53