Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds VLM Training support to SFTTrainer + VSFT script #1518

Merged
merged 23 commits into from
Apr 11, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
adds peft launch args
  • Loading branch information
edbeeching committed Apr 11, 2024
commit 35dd6a3f3814db25e072a918aa60ba25bd73341d
5 changes: 3 additions & 2 deletions examples/scripts/vsft_llava.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,10 @@
--torch_dtype=float16 \
--fp16=True \
--dataset_name=HuggingFaceH4/llava-instruct-mix-vsft \
--use_peft \
--use_peft=True \
--lora_r=64 \
--lora_alpha=16
--lora_alpha=16 \
--lora_target_modules=all-linear"

# evaluation:

Expand Down