Instructions to use TopSlayer/model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TopSlayer/model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="TopSlayer/model")# Load model directly from transformers import AutoProcessor, AutoModelForCTC processor = AutoProcessor.from_pretrained("TopSlayer/model") model = AutoModelForCTC.from_pretrained("TopSlayer/model") - Notebooks
- Google Colab
- Kaggle
| library_name: transformers | |
| license: apache-2.0 | |
| base_model: facebook/wav2vec2-large-xlsr-53 | |
| tags: | |
| - generated_from_trainer | |
| metrics: | |
| - wer | |
| model-index: | |
| - name: model | |
| results: [] | |
| <!-- This model card has been generated automatically according to the information the Trainer had access to. You | |
| should probably proofread and complete it, then remove this comment. --> | |
| # model | |
| This model is a fine-tuned version of [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) on the None dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 3.9186 | |
| - Wer: 1.0 | |
| - Cer: 1.0 | |
| ## 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: 5e-05 | |
| - train_batch_size: 8 | |
| - eval_batch_size: 8 | |
| - seed: 42 | |
| - gradient_accumulation_steps: 4 | |
| - total_train_batch_size: 32 | |
| - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments | |
| - lr_scheduler_type: linear | |
| - lr_scheduler_warmup_ratio: 0.1 | |
| - lr_scheduler_warmup_steps: 1000 | |
| - num_epochs: 30 | |
| - mixed_precision_training: Native AMP | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | Wer | Cer | | |
| |:-------------:|:------:|:----:|:---------------:|:---:|:---:| | |
| | 19.5696 | 0.9963 | 200 | 14.6766 | 1.0 | 1.0 | | |
| | 5.7001 | 1.9963 | 400 | 4.9265 | 1.0 | 1.0 | | |
| | 4.1247 | 2.9963 | 600 | 4.0528 | 1.0 | 1.0 | | |
| | 3.9875 | 3.9963 | 800 | 3.9186 | 1.0 | 1.0 | | |
| ### Framework versions | |
| - Transformers 4.51.3 | |
| - Pytorch 2.3.0+cu118 | |
| - Datasets 4.0.0 | |
| - Tokenizers 0.21.2 | |