Instructions to use Sjdan/m16_main with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Sjdan/m16_main with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="Sjdan/m16_main")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForCTC processor = AutoProcessor.from_pretrained("Sjdan/m16_main") model = AutoModelForCTC.from_pretrained("Sjdan/m16_main", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from Sjdan/m16_main: direct link, hf CLI and curl.
- Browser
- Download file 1.73 kB
-
https://huggingface.co/Sjdan/m16_main/resolve/main/README.md
- Command line
-
hf download hf://Sjdan/m16_main/README.md
-
curl -L -o README.md https://huggingface.co/Sjdan/m16_main/resolve/main/README.md
1.73 kB
| license: apache-2.0 | |
| tags: | |
| - generated_from_trainer | |
| model-index: | |
| - name: m16_main | |
| 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. --> | |
| # m16_main | |
| This model is a fine-tuned version of [facebook/wav2vec2-xls-r-300m](https://huggingface.co/facebook/wav2vec2-xls-r-300m) on the None dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 0.0731 | |
| - Wer: 1.6114 | |
| ## 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: 8 | |
| - eval_batch_size: 8 | |
| - seed: 42 | |
| - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 | |
| - lr_scheduler_type: linear | |
| - lr_scheduler_warmup_steps: 1000 | |
| - num_epochs: 7 | |
| - mixed_precision_training: Native AMP | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | Wer | | |
| |:-------------:|:-----:|:----:|:---------------:|:------:| | |
| | 9.4932 | 0.96 | 500 | 3.4413 | 1.0 | | |
| | 2.6724 | 1.92 | 1000 | 1.8081 | 2.5404 | | |
| | 1.1058 | 2.88 | 1500 | 0.3228 | 2.0631 | | |
| | 0.3056 | 3.84 | 2000 | 0.1657 | 1.8225 | | |
| | 0.1465 | 4.8 | 2500 | 0.1068 | 1.6588 | | |
| | 0.0925 | 5.76 | 3000 | 0.0892 | 1.6331 | | |
| | 0.0669 | 6.72 | 3500 | 0.0731 | 1.6114 | | |
| ### Framework versions | |
| - Transformers 4.17.0 | |
| - Pytorch 1.13.1+cu116 | |
| - Datasets 1.18.3 | |
| - Tokenizers 0.13.2 | |