Instructions to use ScreamingTony/AffectF5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- F5-TTS
How to use ScreamingTony/AffectF5 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
Add frozen C7 configuration
Browse files- config.yaml +71 -0
config.yaml
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
base:
|
| 2 |
+
repo_id: SWivid/F5-TTS
|
| 3 |
+
subfolder: F5TTS_v1_Base
|
| 4 |
+
checkpoint: model_1250000.safetensors
|
| 5 |
+
vocab: vocab.txt
|
| 6 |
+
|
| 7 |
+
adapter:
|
| 8 |
+
repo_id: ScreamingTony/AffectF5
|
| 9 |
+
filename: affectf5_c7_adapter.safetensors
|
| 10 |
+
|
| 11 |
+
model:
|
| 12 |
+
dim: 1024
|
| 13 |
+
depth: 22
|
| 14 |
+
heads: 16
|
| 15 |
+
ff_mult: 2
|
| 16 |
+
text_dim: 512
|
| 17 |
+
text_mask_padding: true
|
| 18 |
+
qk_norm: null
|
| 19 |
+
conv_layers: 4
|
| 20 |
+
pe_attn_head: null
|
| 21 |
+
attn_backend: torch
|
| 22 |
+
attn_mask_enabled: false
|
| 23 |
+
checkpoint_activations: false
|
| 24 |
+
|
| 25 |
+
control:
|
| 26 |
+
control_dim: 64
|
| 27 |
+
num_emotions: 6
|
| 28 |
+
null_emotion_id: 0
|
| 29 |
+
neutral_emotion_id: 1
|
| 30 |
+
emotion_embedding_dim: 128
|
| 31 |
+
emotion_hidden_dim: 256
|
| 32 |
+
emotion_depth: 2
|
| 33 |
+
arousal_fourier_dim: 64
|
| 34 |
+
arousal_fourier_scale: 50.0
|
| 35 |
+
arousal_fourier_max_period: 1000.0
|
| 36 |
+
arousal_include_raw: true
|
| 37 |
+
arousal_hidden_dim: 256
|
| 38 |
+
arousal_depth: 2
|
| 39 |
+
control_dropout: 0.0
|
| 40 |
+
control_gate_init: 0.1
|
| 41 |
+
control_zero_init: true
|
| 42 |
+
injection:
|
| 43 |
+
mask: target_only
|
| 44 |
+
fusion: add
|
| 45 |
+
strategy: axis_split_film_residual
|
| 46 |
+
axis_split:
|
| 47 |
+
emotion:
|
| 48 |
+
film_layers: [11, 17]
|
| 49 |
+
hidden_dim: 256
|
| 50 |
+
arousal:
|
| 51 |
+
residual_layers: [14, 20]
|
| 52 |
+
hidden_dim: 256
|
| 53 |
+
output_gain: 1.0
|
| 54 |
+
time_gate_hidden_dim: 64
|
| 55 |
+
|
| 56 |
+
lora:
|
| 57 |
+
targets: [to_q, to_k, to_v, to_out.0, ff.0.0, ff.2]
|
| 58 |
+
rank: 16
|
| 59 |
+
alpha: 32.0
|
| 60 |
+
dropout: 0.05
|
| 61 |
+
|
| 62 |
+
inference:
|
| 63 |
+
nfe_steps: 32
|
| 64 |
+
global_guidance: 2.0
|
| 65 |
+
emotion_guidance: 0.0
|
| 66 |
+
arousal_guidance: 0.0
|
| 67 |
+
arousal_scale: 0.75
|
| 68 |
+
sway_sampling_coef: -1.0
|
| 69 |
+
sample_rate: 24000
|
| 70 |
+
hop_length: 256
|
| 71 |
+
|