Instructions to use multilingual-tts/F5-TTS-OpenBible-Ewe with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- F5-TTS
How to use multilingual-tts/F5-TTS-OpenBible-Ewe 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
Upload folder using huggingface_hub
Browse files- F5TTS_v1_Base_Open_Bible_Ewe.yaml +55 -0
- model_last.pt +3 -0
- vocab.txt +125 -0
F5TTS_v1_Base_Open_Bible_Ewe.yaml
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: ckpts/${model.name}_${model.mel_spec.mel_spec_type}_${model.tokenizer}_${datasets.name}/${now:%Y-%m-%d}/${now:%H-%M-%S}
|
| 4 |
+
|
| 5 |
+
datasets:
|
| 6 |
+
name: open-bible-ewe # dataset name
|
| 7 |
+
batch_size_per_gpu: 28000 # 8 GPUs, 8 * 38400 = 307200
|
| 8 |
+
batch_size_type: frame # frame | sample
|
| 9 |
+
max_samples: 32 # max sequences per batch if use frame-wise batch_size. we set 32 for small models, 64 for base models
|
| 10 |
+
num_workers: 4
|
| 11 |
+
|
| 12 |
+
optim:
|
| 13 |
+
epochs: 627
|
| 14 |
+
learning_rate: 7.5e-5
|
| 15 |
+
num_warmup_updates: 20000 # warmup updates
|
| 16 |
+
grad_accumulation_steps: 1 # note: updates = steps / grad_accumulation_steps
|
| 17 |
+
max_grad_norm: 1.0 # gradient clipping
|
| 18 |
+
bnb_optimizer: False # use bnb 8bit AdamW optimizer or not
|
| 19 |
+
|
| 20 |
+
model:
|
| 21 |
+
name: F5TTS_v1_Base # model name
|
| 22 |
+
tokenizer: custom # tokenizer type
|
| 23 |
+
tokenizer_path: data/open-bible-ewe_custom/vocab.txt # if 'custom' tokenizer, define the path want to use (should be vocab.txt)
|
| 24 |
+
backbone: DiT
|
| 25 |
+
arch:
|
| 26 |
+
dim: 1024
|
| 27 |
+
depth: 22
|
| 28 |
+
heads: 16
|
| 29 |
+
ff_mult: 2
|
| 30 |
+
text_dim: 512
|
| 31 |
+
text_mask_padding: True
|
| 32 |
+
qk_norm: null # null | rms_norm
|
| 33 |
+
conv_layers: 4
|
| 34 |
+
pe_attn_head: null
|
| 35 |
+
attn_backend: torch # torch | flash_attn
|
| 36 |
+
attn_mask_enabled: False
|
| 37 |
+
checkpoint_activations: False # recompute activations and save memory for extra compute
|
| 38 |
+
mel_spec:
|
| 39 |
+
target_sample_rate: 24000
|
| 40 |
+
n_mel_channels: 100
|
| 41 |
+
hop_length: 256
|
| 42 |
+
win_length: 1024
|
| 43 |
+
n_fft: 1024
|
| 44 |
+
mel_spec_type: vocos # vocos | bigvgan
|
| 45 |
+
vocoder:
|
| 46 |
+
is_local: False # use local offline ckpt or not
|
| 47 |
+
local_path: null # local vocoder path
|
| 48 |
+
|
| 49 |
+
ckpts:
|
| 50 |
+
logger: wandb #| tensorboard | null
|
| 51 |
+
log_samples: True # infer random sample per save checkpoint. wip, normal to fail with extra long samples
|
| 52 |
+
save_per_updates: 10000 # save checkpoint per updates
|
| 53 |
+
keep_last_n_checkpoints: 5 # -1 to keep all, 0 to not save intermediate, > 0 to keep last N checkpoints
|
| 54 |
+
last_per_updates: 5000 # save last checkpoint per updates
|
| 55 |
+
save_dir: ckpts/${model.name}_${model.mel_spec.mel_spec_type}_${model.tokenizer}_${datasets.name}
|
model_last.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f9551dee25e23db90561f8513632b57a82915412fb519e4d1adc680f0dae4b5c
|
| 3 |
+
size 5374368419
|
vocab.txt
ADDED
|
@@ -0,0 +1,125 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1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