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 Nov 7, 2024
1 parent d2d56e8 commit f988a83
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions evals/benchmark/stresscli/locust/chatqnafixed.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,7 @@ def getReqData():
global max_new_tokens
if opea_eval_prompts == "none":
opea_eval_prompts = "In a world where technology has advanced beyond our wildest dreams, humanity stands on the brink of a new era. The year is 2050, and artificial intelligence has become an integral part of everyday life. Autonomous vehicles zip through streets, drones deliver packages with pinpoint accuracy, and smart homes anticipate every need of their inhabitants. But with these advancements come new challenges and ethical dilemmas. As society grapples with implications of AI, questions about privacy, security, and the nature of consciousness itself come to the forefront. Please answer me the question what is artificial intelligence in detail."
return {
"messages": opea_eval_prompts,
"max_tokens": max_new_tokens,
"top_k": 1,
"temperature": 0
}
return {"messages": opea_eval_prompts, "max_tokens": max_new_tokens, "top_k": 1, "temperature": 0}


def respStatics(environment, reqData, respData):
Expand Down

0 comments on commit f988a83

Please sign in to comment.