Skip to content

Commit

Permalink
Update Phi-3 train.py to fix model import
Browse files Browse the repository at this point in the history
  • Loading branch information
hanoonaR committed Apr 30, 2024
1 parent 31c9582 commit c95a8e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Phi-3-V/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,7 @@ def train(attn_implementation=None):
**bnb_model_from_pretrained_args
)
else:
model = LlavaLlamaForCausalLM.from_pretrained(
model = LlavaPhiForCausalLM.from_pretrained(
model_args.model_name_or_path,
cache_dir=training_args.cache_dir,
attn_implementation=attn_implementation,
Expand Down

0 comments on commit c95a8e1

Please sign in to comment.