mirror of
https://github.com/0xSojalSec/airllm.git
synced 2026-03-07 22:33:47 +00:00
Merge branch 'main' of github.com:lyogavin/Anima into main
This commit is contained in:
@@ -54,7 +54,7 @@ input_tokens = model.tokenizer(input_text,
|
||||
|
||||
generation_output = model.generate(
|
||||
input_tokens['input_ids'].cuda(),
|
||||
max_new_tokens=2,
|
||||
max_new_tokens=20,
|
||||
use_cache=True,
|
||||
return_dict_in_generate=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user