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

Is there any examples to guide in llama3.2 vision lora or sft? #6442

Closed
1 task done
moonlightian opened this issue Dec 25, 2024 · 1 comment
Closed
1 task done

Is there any examples to guide in llama3.2 vision lora or sft? #6442

moonlightian opened this issue Dec 25, 2024 · 1 comment
Labels
solved This problem has been already solved

Comments

@moonlightian
Copy link

Reminder

  • I have read the README and searched the existing issues.

System Info

None

Reproduction

None

Expected behavior

No response

Others

No response

@github-actions github-actions bot added the pending This problem is yet to be addressed label Dec 25, 2024
@hiyouga
Copy link
Owner

hiyouga commented Dec 25, 2024

### model
model_name_or_path: meta-llama/Llama-3.2-11B-Vision-Instruct
trust_remote_code: true

### method
stage: sft
do_train: true
finetuning_type: lora
lora_target: all

### dataset
dataset: mllm_demo
template: mllama
cutoff_len: 2048
max_samples: 1000
overwrite_cache: true
preprocessing_num_workers: 16

### output
output_dir: saves/llama_vision/lora/sft
logging_steps: 10
save_steps: 500
plot_loss: true
overwrite_output_dir: true

### train
per_device_train_batch_size: 1
gradient_accumulation_steps: 8
learning_rate: 1.0e-4
num_train_epochs: 3.0
lr_scheduler_type: cosine
warmup_ratio: 0.1
bf16: true
ddp_timeout: 180000000

### eval
val_size: 0.1
per_device_eval_batch_size: 1
eval_strategy: steps
eval_steps: 500

@hiyouga hiyouga closed this as completed Dec 25, 2024
@hiyouga hiyouga added solved This problem has been already solved and removed pending This problem is yet to be addressed labels Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
solved This problem has been already solved
Projects
None yet
Development

No branches or pull requests

2 participants