fix lora finetune max_epochs (#170)
This commit is contained in:
parent
02d5d641d1
commit
fe0860dbf0
2
finetune/lora/train.py
vendored
2
finetune/lora/train.py
vendored
@ -184,7 +184,7 @@ if __name__ == "__main__":
|
||||
args.num_sanity_val_steps = 0
|
||||
args.check_val_every_n_epoch = int(1e20)
|
||||
args.log_every_n_steps = int(1e20)
|
||||
args.max_epochs = -1 # continue forever
|
||||
args.max_epochs = args.epoch_count # continue forever
|
||||
args.betas = (args.beta1, args.beta2)
|
||||
args.real_bsz = int(args.num_nodes) * int(args.devices) * args.micro_bsz
|
||||
os.environ["RWKV_T_MAX"] = str(args.ctx_len)
|
||||
|
Loading…
Reference in New Issue
Block a user