mirror of
https://github.com/open-compass/opencompass.git
synced 2025-05-30 16:03:24 +08:00
fix bug: The dataset_id is already part of the path here.
This commit is contained in:
parent
862bf78464
commit
f6e396f1b0
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user