Compare commits

...

2 Commits

Author SHA1 Message Date
dignfei
d0657dff3d
Merge f6e396f1b0 into 07930b854a 2025-03-25 14:11:49 +08:00
dfei
f6e396f1b0 fix bug: The dataset_id is already part of the path here. 2025-01-29 03:15:50 +08:00

View File

@ -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):