We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fd759d commit eb18292Copy full SHA for eb18292
lightllm/server/sampling_params.py
@@ -11,13 +11,13 @@
11
12
class SamplingParams:
13
14
- _do_sample: bool = (False,)
15
- _presence_penalty: float = (0.0,)
16
- _frequency_penalty: float = (0.0,)
17
- _repetition_penalty: float = (1.0,)
18
- _temperature: float = (1.0,)
19
- _top_p: float = (1.0,)
20
- _top_k: int = (-1,) # -1 is for all
+ _do_sample: bool = False
+ _presence_penalty: float = 0.0
+ _frequency_penalty: float = 0.0
+ _repetition_penalty: float = 1.0
+ _temperature: float = 1.0
+ _top_p: float = 1.0
+ _top_k: int = -1 # -1 is for all
21
22
def __init__(
23
self,
0 commit comments