From f6e396f1b0e324271adcf3f2e7dabba0c98decbf Mon Sep 17 00:00:00 2001 From: dfei <913015993@qq.com> Date: Wed, 29 Jan 2025 03:15:50 +0800 Subject: [PATCH] fix bug: The dataset_id is already part of the path here. --- opencompass/utils/datasets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opencompass/utils/datasets.py b/opencompass/utils/datasets.py index dc1e237d..925d71c9 100644 --- a/opencompass/utils/datasets.py +++ b/opencompass/utils/datasets.py @@ -45,7 +45,7 @@ def get_data_path(dataset_id: str, local_mode: bool = False): return hf_id else: # for the local path - local_path = DATASETS_MAPPING[dataset_id]['local'] + local_path = dataset_id local_path = os.path.join(cache_dir, local_path) if not os.path.exists(local_path):