Instructions to use 7ocho/WMedium with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use 7ocho/WMedium with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="7ocho/WMedium")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("7ocho/WMedium") model = AutoModelForSpeechSeq2Seq.from_pretrained("7ocho/WMedium", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from 7ocho/WMedium: direct link, hf CLI and curl.
- Browser
- Download file 1.72 kB
-
https://huggingface.co/7ocho/WMedium/resolve/main/README.md
- Command line
-
hf download hf://7ocho/WMedium/README.md
-
curl -L -H "Authorization: Bearer $HF_TOKEN" -o README.md https://huggingface.co/7ocho/WMedium/resolve/main/README.md
1.72 kB
| library_name: transformers | |
| license: apache-2.0 | |
| base_model: openai/whisper-medium | |
| tags: | |
| - generated_from_trainer | |
| metrics: | |
| - wer | |
| model-index: | |
| - name: WMedium | |
| 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. --> | |
| # WMedium | |
| This model is a fine-tuned version of [openai/whisper-medium](https://huggingface.co/openai/whisper-medium) on an unknown dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 0.1309 | |
| - Wer: 108.5552 | |
| ## 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: 8e-06 | |
| - train_batch_size: 8 | |
| - eval_batch_size: 24 | |
| - seed: 42 | |
| - gradient_accumulation_steps: 4 | |
| - total_train_batch_size: 32 | |
| - 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: 300 | |
| - training_steps: 3000 | |
| - mixed_precision_training: Native AMP | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | Wer | | |
| |:-------------:|:------:|:----:|:---------------:|:--------:| | |
| | 0.6435 | 0.4757 | 1000 | 0.1702 | 99.3189 | | |
| | 0.5022 | 0.9514 | 2000 | 0.1412 | 105.6347 | | |
| | 0.3771 | 1.4267 | 3000 | 0.1309 | 108.5552 | | |
| ### Framework versions | |
| - Transformers 5.2.0 | |
| - Pytorch 2.10.0+cu128 | |
| - Datasets 3.6.0 | |
| - Tokenizers 0.22.2 | |