mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-12-24 13:28:13 +08:00
[Feature] Support logprobs_mode (#4567)
This commit is contained in:
@@ -614,6 +614,12 @@ def parse_args():
|
||||
action="store_true",
|
||||
help="Enable output of token-level log probabilities.",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--logprobs_mode",
|
||||
type=str,
|
||||
default="raw_logprobs",
|
||||
help="Indicates the content returned in the logprobs.",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--reasoning_parser",
|
||||
type=str,
|
||||
|
||||
Reference in New Issue
Block a user