Skip to content

Commit

Permalink
[BUG]GaokaoBench dataset fix (#1583)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaiziXiao authored Sep 30, 2024
1 parent 7528b8a commit 763d775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opencompass/datasets/GaokaoBench.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class GaokaoBenchDataset(BaseDataset):

@staticmethod
def load(path: str, name: str):
data = get_data_path(path, local_mode=True)
path = get_data_path(path, local_mode=True)
if environ.get('DATASET_SOURCE') == 'ModelScope':
from modelscope import MsDataset
return MsDataset.load(path, subset_name=name, split='test')
Expand Down

0 comments on commit 763d775

Please sign in to comment.