Skip to content

Commit

Permalink
fix mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
wjm202 committed Jul 28, 2023
1 parent 4806eec commit 2e66373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddlevlp/examples/blip2/run_pretrain_stage2.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def main():
logger.info("training_args.use_hybrid_parallel:{}".format(
training_args.use_hybrid_parallel))
# create trainer
load_pretrained_model(model, LLM_LIST[model_args.llm_name])
load_pretrained_model(model.language_model, LLM_LIST[model_args.llm_name])
load_pretrained_model(model, training_args.pretrained_model_path)
trainer = Trainer(
model=model,
Expand Down

0 comments on commit 2e66373

Please sign in to comment.