Instructions to use ampixa/tiny-swar with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- F5-TTS
How to use ampixa/tiny-swar with F5-TTS:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Download config.json from ampixa/tiny-swar: direct link, hf CLI and curl.
- Browser
- Download file 853 Bytes
-
https://huggingface.co/ampixa/tiny-swar/resolve/main/config.json
- Command line
-
hf download hf://ampixa/tiny-swar/config.json
-
curl -L -o config.json https://huggingface.co/ampixa/tiny-swar/resolve/main/config.json
853 Bytes
| { | |
| "model": "F5TTS_Base", | |
| "arch": { | |
| "dim": 1024, | |
| "depth": 16, | |
| "heads": 16, | |
| "ff_mult": 2, | |
| "text_dim": 512, | |
| "text_mask_padding": false, | |
| "conv_layers": 4, | |
| "pe_attn_head": 1 | |
| }, | |
| "kept_swar_blocks": [ | |
| 0, | |
| 1, | |
| 3, | |
| 4, | |
| 6, | |
| 7, | |
| 9, | |
| 10, | |
| 12, | |
| 13, | |
| 15, | |
| 16, | |
| 18, | |
| 19, | |
| 20, | |
| 21 | |
| ], | |
| "dropped_swar_blocks": [ | |
| 2, | |
| 5, | |
| 8, | |
| 11, | |
| 14, | |
| 17 | |
| ], | |
| "stored_dtype": "float16", | |
| "mel": { | |
| "n_fft": 1024, | |
| "hop_length": 256, | |
| "win_length": 1024, | |
| "n_mel_channels": 100, | |
| "target_sample_rate": 24000, | |
| "mel_spec_type": "vocos" | |
| }, | |
| "vocoder": "charactr/vocos-mel-24khz", | |
| "sample_rate": 24000, | |
| "base_model": "Aarjan/swar (podvoices_ema.pt)", | |
| "train_step": 10000, | |
| "transformer_params": 248936580, | |
| "recommended_inference": { | |
| "nfe_step": 16, | |
| "cfg_strength": 2.0, | |
| "sway_sampling_coef": -1, | |
| "min_generated_seconds": 2.0 | |
| } | |
| } |