Unverified Commit d0c1aebe authored by Joao Gante's avatar Joao Gante Committed by GitHub
Browse files

Bark: flexible generation config overload (#25414)

parent 944ddce8
......@@ -224,7 +224,7 @@ class BarkFineGenerationConfig(GenerationConfig):
self.max_fine_input_length = max_fine_input_length
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
temperature.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment