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
transformers
Commits
d0c1aebe
Unverified
Commit
d0c1aebe
authored
Aug 09, 2023
by
Joao Gante
Committed by
GitHub
Aug 09, 2023
Browse files
Bark: flexible generation config overload (#25414)
parent
944ddce8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/models/bark/generation_configuration_bark.py
...transformers/models/bark/generation_configuration_bark.py
+1
-1
No files found.
src/transformers/models/bark/generation_configuration_bark.py
View file @
d0c1aebe
...
@@ -224,7 +224,7 @@ class BarkFineGenerationConfig(GenerationConfig):
...
@@ -224,7 +224,7 @@ class BarkFineGenerationConfig(GenerationConfig):
self
.
max_fine_input_length
=
max_fine_input_length
self
.
max_fine_input_length
=
max_fine_input_length
self
.
n_fine_codebooks
=
n_fine_codebooks
self
.
n_fine_codebooks
=
n_fine_codebooks
def
validate
(
self
):
def
validate
(
self
,
**
kwargs
):
"""
"""
Overrides GenerationConfig.validate because BarkFineGenerationConfig don't use any parameters outside
Overrides GenerationConfig.validate because BarkFineGenerationConfig don't use any parameters outside
temperature.
temperature.
...
...
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