jets-jvs-2 / conf /decode.yaml
ayousanz's picture
Upload folder using huggingface_hub
b38d0e7 verified
# This configuration is the basic decoding setting for Tacotron 2.
# It can be also applied to Transformer. If you met some problems
# such as deletions or repetitions, it is worthwhile to try
# `use_att_constraint: true` to make the generation more stable.
# Note that attention constraint is not supported in Transformer.
##########################################################
# DECODING SETTING #
##########################################################
threshold: 0.5 # threshold to stop the generation
maxlenratio: 10.0 # maximum length of generated samples = input length * maxlenratio
minlenratio: 0.0 # minimum length of generated samples = input length * minlenratio
use_att_constraint: true # whether to use attention constraint, which is introduced in deep voice 3
backward_window: 1 # backward window size in the attention constraint
forward_window: 3 # forward window size in the attention constraint
use_teacher_forcing: false # whether to use teacher forcing