mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-08-04 12:42:51 +08:00
parent
4735cb96c1
commit
c14bf033a3
@ -261,7 +261,7 @@ def preprocess_dataset(
|
|||||||
if data_args.cache_path is not None and not os.path.exists(data_args.cache_path):
|
if data_args.cache_path is not None and not os.path.exists(data_args.cache_path):
|
||||||
if training_args.should_save:
|
if training_args.should_save:
|
||||||
dataset.save_to_disk(data_args.cache_path)
|
dataset.save_to_disk(data_args.cache_path)
|
||||||
raise SystemExit("Dataset saved, rerun this script with the same `--cache_path`.")
|
logger.info("Dataset cache saved at {}.".format(data_args.cache_path))
|
||||||
|
|
||||||
if training_args.should_log:
|
if training_args.should_log:
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user