Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
parler-tts
Commits
0bab56b7
Commit
0bab56b7
authored
May 22, 2024
by
Yoach Lacombe
Browse files
fix name and add min new tokens
parent
a0bc9e78
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
training/run_parler_tts_training.py
training/run_parler_tts_training.py
+5
-1
No files found.
training/run_parler_tts_training.py
View file @
0bab56b7
...
...
@@ -126,7 +126,7 @@ def main():
"adam_beta2"
:
training_args
.
adam_beta2
,
"temperature"
:
model_args
.
temperature
,
},
init_kwargs
=
{
"wandb"
:
{
"name"
:
data_args
.
wandb_run_name
}}
if
data_args
.
wandb_run_name
else
None
,
init_kwargs
=
{
"wandb"
:
{
"name"
:
data_args
.
wandb_run_name
}}
if
data_args
.
wandb_run_name
else
{}
,
)
# Detecting last checkpoint and eventually continue from last checkpoint
...
...
@@ -750,6 +750,10 @@ def main():
"do_sample"
:
model_args
.
do_sample
,
"temperature"
:
model_args
.
temperature
,
"max_length"
:
model_args
.
max_length
,
# Because of the delayed pattern mask, generation might stop earlier because of unexpected behaviour
# on the first tokens of the codebooks that are delayed.
# This fix the issue.
"min_new_tokens"
:
num_codebooks
+
1
,
}
# Define gradient update step fn
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment