winglian Nanobit commited on
Commit
759e867
1 Parent(s): 0c6f928

Update scripts/finetune.py

Browse files

Co-authored-by: NanoCode012 <kevinvong@rocketmail.com>

Files changed (1) hide show
  1. scripts/finetune.py +0 -1
scripts/finetune.py CHANGED
@@ -261,7 +261,6 @@ def train(
261
  model.save_pretrained(cfg.output_dir)
262
  return
263
 
264
- model.train()
265
 
266
  trainer = setup_trainer(cfg, train_dataset, eval_dataset, model, tokenizer)
267
 
 
261
  model.save_pretrained(cfg.output_dir)
262
  return
263
 
 
264
 
265
  trainer = setup_trainer(cfg, train_dataset, eval_dataset, model, tokenizer)
266