Remove unused code

This commit is contained in:
oobabooga 2023-05-10 11:59:59 -03:00
parent ec14d9b725
commit 3316e33d14
3 changed files with 7 additions and 15 deletions

View file

@ -252,7 +252,7 @@ def load_model(model_name):
else:
tokenizer = AutoTokenizer.from_pretrained(Path(f"{shared.args.model_dir}/{model_name}/"), trust_remote_code=trust_remote_code)
logging.info(f"Loaded the model in {(time.time()-t0):.2f} seconds.")
logging.info(f"Loaded the model in {(time.time()-t0):.2f} seconds.\n")
return model, tokenizer