fix typo for top_p

This commit is contained in:
Wix Woo 2025-03-01 20:15:36 +00:00
parent 69382e58f9
commit 3aa0cfc29d

View file

@ -35,7 +35,7 @@ class KTransformersInterface(TransformersInterface):
generation_config = GenerationConfig(
max_length=args.max_new_tokens,
temperature=args.temperature,
top_p=args.temperature,
top_p=args.top_p,
do_sample=True
)