From dc082de4c2aa9d9b48f373ce85c0ce924885bccd Mon Sep 17 00:00:00 2001 From: Rita Aleksziev Date: Mon, 2 Dec 2024 14:54:40 +0100 Subject: [PATCH] minor bugfix in folder creation --- evals/llm_as_a_judge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evals/llm_as_a_judge.py b/evals/llm_as_a_judge.py index 0398f9422..e4bb7998c 100644 --- a/evals/llm_as_a_judge.py +++ b/evals/llm_as_a_judge.py @@ -78,7 +78,7 @@ async def eval_on_hotpotQA(answer_provider, num_samples, eval_metric): base_config = get_base_config() data_root_dir = base_config.data_root_directory if not Path(data_root_dir).exists(): - data_root_dir.mkdir() + Path(data_root_dir).mkdir() filepath = data_root_dir / Path("hotpot_dev_fullwiki_v1.json") if not filepath.exists(): url = 'http://curtis.ml.cmu.edu/datasets/hotpot/hotpot_dev_fullwiki_v1.json'