Skip to content

Commit

Permalink
<Replace this line with a title. Use 1 line only, 67 chars or less>
Browse files Browse the repository at this point in the history
Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:
  • Loading branch information
drisspg committed Aug 14, 2023
1 parent b1bdcdd commit b7e5878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helm/proxy/clients/http_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def make_request(self, request: Request) -> RequestResult:

raw_request = {
"prompt": request.prompt,
"temperature": request.temperature,
"temperature": 1e-7 if request.temperature == 0 else request.temperature,
"num_return_sequences": request.num_completions,
"max_new_tokens": request.max_tokens,
"top_p": request.top_p,
Expand Down

0 comments on commit b7e5878

Please sign in to comment.