mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-09-01 12:49:50 +08:00
fix spelling errors
This commit is contained in:
@@ -164,7 +164,7 @@ def load_dataset(args, tokenizer: PreTrainedTokenizer):
|
||||
else:
|
||||
data_path = Path(args.data)
|
||||
if data_path.exists():
|
||||
train, valid, test = load_local_dataset(args.data, tokenizer)
|
||||
train, valid, test = load_local_dataset(data_path, tokenizer)
|
||||
else:
|
||||
print(f"Loading Hugging Face dataset {args.data}.")
|
||||
train, valid, test = load_hf_dataset(args.data, tokenizer)
|
||||
|
Reference in New Issue
Block a user