Skip to content

Commit 0eaadb2

Browse files
authored
Update dataset.py
1 parent fe1241b commit 0eaadb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hinteval/cores/dataset/dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,6 +718,6 @@ def download_and_load_dataset(cls, name, force_download=False):
718718

719719
name = name.lower()
720720
_path = os.path.join(os.environ['HINTEVAL_CACHE_DIR'], 'datasets', f'{name}.pickle')
721-
if not os.path.exists(_path):
721+
if not os.path.exists(_path) or force_download:
722722
DatasetDownloader.download(name, force_download)
723723
return cls.load(_path)

0 commit comments

Comments
 (0)