vall-e/data/config.yaml

126 lines
2.3 KiB
YAML
Raw Normal View History

2023-08-02 21:53:35 +00:00
dataset:
training: []
validation: []
noise: []
2023-08-02 21:53:35 +00:00
speaker_name_getter: "lambda p: f'{p.parts[-3]}_{p.parts[-2]}'"
use_hdf5: True
use_metadata: True
hdf5_flag: r
2023-08-02 21:53:35 +00:00
validate: True
workers: 2
2023-08-02 21:53:35 +00:00
cache: True
phones_range: [4, 256]
duration_range: [1.0, 16.0]
min_utterances: 32
2023-08-02 21:53:35 +00:00
random_utterance: 1.0
max_prompts: 6
prompt_duration: 6.0
2023-08-02 21:53:35 +00:00
sample_type: speaker
tasks_list: [ "tts" ] # , [ "tts", "tts-c", "ns", "sr", "tse", "cse", "nse", "tts"]
2023-08-02 21:53:35 +00:00
models:
_prom_levels: 8
_max_levels: 8
2023-08-02 21:53:35 +00:00
_models:
- name: "ar+nar"
size: "double"
resp_levels: 8
prom_levels: 8
2023-08-19 02:11:19 +00:00
tasks: 8
arch_type: "retnet"
training: True
version: 2
2023-08-02 21:53:35 +00:00
2023-08-02 21:53:35 +00:00
hyperparameters:
batch_size: 8
gradient_accumulation_steps: 16
2023-08-02 21:53:35 +00:00
gradient_clipping: 100
# prodigyopt is nicer, but requires even more VRAM
#optimizer: Prodigy
#learning_rate: 1.0 # e-4
optimizer: AdamW
learning_rate: 1.0e-4
torch_optimizer: True
2023-08-02 21:53:35 +00:00
scheduler_type: ""
#scheduler_type: OneCycle
#scheduler_params:
# cycle_first_step_size: 10_000
# cycle_first_stair_count: 10_000
# cycle_second_step_size: 15_000
# cycle_second_stair_count: 15_000
# decay_step_size: 5_000
# cycle_min_lr: 2.5e-4 # 1.0e-5
# cycle_max_lr: 2.5e-4 # 1.0e-4
# decay_lr_rate: 0.0
# cycle_min_mom: 0.90
# cycle_max_mom: 0.99
# decay_mom_rate: 0.0
evaluation:
batch_size: 16
frequency: 250
size: 16
2023-08-02 21:53:35 +00:00
steps: 450
ar_temperature: 0.95
nar_temperature: 0.25
load_disabled_engines: True
2023-08-02 21:53:35 +00:00
trainer:
iterations: 1_000_000
2023-08-02 21:53:35 +00:00
save_tag: step
save_on_oom: True
save_on_quit: True
save_frequency: 100
export_on_save: True
keep_last_checkpoints: 4
2023-08-02 21:53:35 +00:00
aggressive_optimizations: False
load_disabled_engines: False
2023-08-02 21:53:35 +00:00
#load_state_dict: True
#strict_loading: False
#load_tag: "9500"
#load_states: False
2023-08-02 21:53:35 +00:00
#restart_step_count: True
gc_mode: None # "global_step"
weight_dtype: bfloat16
amp: False
2023-08-02 21:53:35 +00:00
2023-08-04 01:26:36 +00:00
backend: deepspeed
deepspeed:
zero_optimization_level: 0
2023-08-04 01:26:36 +00:00
use_compression_training: True
2023-08-02 22:01:49 +00:00
activation_checkpointing: True
2023-08-04 01:26:36 +00:00
inference:
use_vocos: True
normalize: False
2023-08-04 01:26:36 +00:00
bitsandbytes:
enabled: False
injects: False
linear: False
embedding: False