We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d88bada commit b35ba1dCopy full SHA for b35ba1d
swift/llm/dataset/loader.py
@@ -243,7 +243,7 @@ def _load_repo_dataset(
243
# The dataset downloaded from modelscope will have an additional dataset_infos.json file.
244
dataset_infos_path = os.path.join(dataset_id, 'dataset_infos.json')
245
if os.path.isfile(dataset_infos_path):
246
- os.rename(dataset_infos_path, f'{dataset_infos_path}.bak')
+ os.rename(dataset_infos_path, f'{dataset_infos_path}_bak')
247
elif dataset_id.startswith('/'):
248
raise ValueError(f'The local path does not exist, dataset_id: `{dataset_id}`. '
249
f'os.path.exists(dataset_id): {os.path.exists(dataset_id)}')
0 commit comments