Instructions to use Anujgr8/speecht5_code_switch_intra with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Anujgr8/speecht5_code_switch_intra with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="Anujgr8/speecht5_code_switch_intra")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForTextToSpectrogram processor = AutoProcessor.from_pretrained("Anujgr8/speecht5_code_switch_intra") model = AutoModelForTextToSpectrogram.from_pretrained("Anujgr8/speecht5_code_switch_intra", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from Anujgr8/speecht5_code_switch_intra: direct link, hf CLI and curl.
- Browser
- Download file 1.72 kB
-
https://huggingface.co/Anujgr8/speecht5_code_switch_intra/resolve/main/README.md
- Command line
-
hf download hf://Anujgr8/speecht5_code_switch_intra/README.md
-
curl -L -o README.md https://huggingface.co/Anujgr8/speecht5_code_switch_intra/resolve/main/README.md
1.72 kB
| library_name: transformers | |
| license: mit | |
| base_model: microsoft/speecht5_tts | |
| tags: | |
| - generated_from_trainer | |
| model-index: | |
| - name: speecht5_code_switch_intra | |
| 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. --> | |
| # speecht5_code_switch_intra | |
| This model is a fine-tuned version of [microsoft/speecht5_tts](https://huggingface.co/microsoft/speecht5_tts) on the None dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 0.7264 | |
| ## 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: 1e-05 | |
| - train_batch_size: 4 | |
| - eval_batch_size: 2 | |
| - seed: 42 | |
| - gradient_accumulation_steps: 8 | |
| - total_train_batch_size: 32 | |
| - optimizer: Use OptimizerNames.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_steps: 500 | |
| - training_steps: 4000 | |
| - mixed_precision_training: Native AMP | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | | |
| |:-------------:|:-------:|:----:|:---------------:| | |
| | 0.917 | 13.1564 | 1000 | 0.8404 | | |
| | 0.838 | 26.3127 | 2000 | 0.7603 | | |
| | 0.7823 | 39.4691 | 3000 | 0.7382 | | |
| | 0.7794 | 52.6254 | 4000 | 0.7264 | | |
| ### Framework versions | |
| - Transformers 4.51.3 | |
| - Pytorch 2.6.0+cu124 | |
| - Datasets 3.5.0 | |
| - Tokenizers 0.21.1 | |