Refine the code of Universal Assisted Generation (#34823)
* removed the useless attritbutes * add configs for window size * fixed the wrong kwargs * added docstring
This commit is contained in:
@@ -3812,7 +3812,7 @@ class GenerationIntegrationTests(unittest.TestCase, GenerationIntegrationTestsMi
|
||||
do_sample=False,
|
||||
max_new_tokens=max_new_tokens_item,
|
||||
assistant_model=draft_model,
|
||||
target_tokenizer=target_tokenizer,
|
||||
tokenizer=target_tokenizer,
|
||||
assistant_tokenizer=assistant_tokenizer,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user