MCPcopy
hub / github.com/InternLM/lmdeploy / temperature

Method temperature

lmdeploy/cli/utils.py:343–344  ·  view source on GitHub ↗
(parser, default: float = 0.8)

Source from the content-addressed store, hash-verified

341
342 @staticmethod
343 def temperature(parser, default: float = 0.8):
344 return parser.add_argument('-temp', '--temperature', type=float, default=default, help='Sampling temperature')
345
346 @staticmethod
347 def repetition_penalty(parser):

Callers 3

parse_argsFunction · 0.80
parse_argsFunction · 0.80
parse_argsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected