Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 24, 2024
1 parent fdfec14 commit 3092b29
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion evals/benchmark/stresscli/locust/tokenresponse.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ def respStatics(environment, req, resp):
num_token_input_prompt = -1

num_token_output = len(
tokenizer.encode(resp["response_string"].lstrip().encode("utf-8").decode("unicode_escape"), add_special_tokens=False)
tokenizer.encode(
resp["response_string"].lstrip().encode("utf-8").decode("unicode_escape"), add_special_tokens=False
)
)

return {
Expand Down

0 comments on commit 3092b29

Please sign in to comment.