Skip to content

Commit

Permalink
Defaults for llm features
Browse files Browse the repository at this point in the history
  • Loading branch information
ProbablyFaiz committed Sep 6, 2024
1 parent 6e45d05 commit 7cee793
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rl/llm/engines/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,11 +377,13 @@ def decorator(func):
@click.option(
"--json-output",
is_flag=True,
default=defaults.get("json_output", False),
help="Whether to output the response in JSON format.",
)
@click.option(
"--return-logprobs",
is_flag=True,
default=defaults.get("return_logprobs", False),
help="Whether to return logprobs in the response.",
)
def wrapper(*args, **kwargs):
Expand Down

0 comments on commit 7cee793

Please sign in to comment.