File size: 674 Bytes
7e2301f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # 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}
|