mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-06-24 09:21:18 +08:00
Bug fix in lora.py (#468)
This commit is contained in:
parent
20b39c7fee
commit
15ecf692b9
@ -141,7 +141,7 @@ def load(args):
|
||||
def load_and_check(name):
|
||||
dataset_path = Path(args.data) / f"{name}.jsonl"
|
||||
try:
|
||||
train = Dataset(dataset_path)
|
||||
return Dataset(dataset_path)
|
||||
except Exception as e:
|
||||
print(f"Unable to build dataset {dataset_path} ({e})")
|
||||
raise
|
||||
|
Loading…
Reference in New Issue
Block a user