This commit is contained in:
dignfei 2025-03-25 14:11:49 +08:00 committed by GitHub
commit d0657dff3d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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