Download code/configs/photon_s.yaml from hello-test1/PhotonTTS: direct link, hf CLI and curl.
- Browser
- Download file 674 Bytes
-
https://huggingface.co/hello-test1/PhotonTTS/resolve/main/code/configs/photon_s.yaml
- Command line
-
hf download hf://hello-test1/PhotonTTS/code/configs/photon_s.yaml
-
curl -L -o photon_s.yaml https://huggingface.co/hello-test1/PhotonTTS/resolve/main/code/configs/photon_s.yaml
674 Bytes
| # Photon-S: edge tier (~120M backbone trained from scratch, ~25M head, 1-step after distillation). | |
| # TODO(stage 7): switch to a ~16k multilingual SentencePiece vocab; bytes for now. | |
| name: photon-s | |
| tokenizer: bytes | |
| patch: 2 | |
| backbone: | |
| pretrained: null | |
| hidden_size: 768 | |
| num_layers: 12 | |
| num_heads: 12 | |
| num_kv_heads: 4 | |
| intermediate_size: 2048 | |
| attn_implementation: sdpa | |
| head: {dim: 320, layers: 4, heads: 5, n_ctx_patches: 2, noise_samples: 4, p_uncond: 0.1, ctx_noise: 0.1} | |
| speaker: {n_tokens: 16, dim: 384, layers: 4, heads: 6, p_drop: 0.1, n_emotions: 0} | |
| clock: {enabled: true, frame_dim: 64, p_drop: 0.3} | |
| loss: {stop_weight: 0.5, ctc_weight: 0.1, ctc_upsample: 4} | |