From 9f4ec0749be7093691d9006c1c6c5805b2a707ae Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 21 Oct 2024 03:14:48 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- evals/evaluation/bigcode_evaluation_harness/api_evaluator.py | 1 + 1 file changed, 1 insertion(+) diff --git a/evals/evaluation/bigcode_evaluation_harness/api_evaluator.py b/evals/evaluation/bigcode_evaluation_harness/api_evaluator.py index 5cf2820e..729dcedc 100644 --- a/evals/evaluation/bigcode_evaluation_harness/api_evaluator.py +++ b/evals/evaluation/bigcode_evaluation_harness/api_evaluator.py @@ -79,6 +79,7 @@ def parallel_generations_by_api( if codegen_url := args.codegen_url: assert "/codegen" in codegen_url, "Only OPEA codegen compatible APIs are supported" import asyncio + from tqdm.asyncio import tqdm async def get_res(prompt, semaphore):