[Minor] Fix typo and remove unused code (#2305)

This commit is contained in:
Roy
2024-01-03 11:23:15 +08:00
committed by GitHub
parent 77af974b40
commit 9140561059
2 changed files with 1 additions and 22 deletions

View File

@@ -100,7 +100,7 @@ class SamplingParams:
temperature: float = 1.0,
top_p: float = 1.0,
top_k: int = -1,
min_p: int = 0.0,
min_p: float = 0.0,
use_beam_search: bool = False,
length_penalty: float = 1.0,
early_stopping: Union[bool, str] = False,