Downloads · 30 days
3
1% of all-time downloads
e-zorzi/Qwen2.5-VL-7B-Instruct-sft-lora-choice-v2
Qwen2.5-VL-7B-Instruct-sft-lora-choice-v2 is a machine learning model from e-zorzi. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Finetuned using axolotl, with the following configuration
Downloads · 30 days
3
1% of all-time downloads
All-time downloads
226
Public
Parameters
8.3B
16.6 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors16.6 GB · 100%
From the Hugging Face model README
Finetuned using axolotl, with the following configuration
base_model: Qwen/Qwen2.5-VL-7B-Instruct
processor_type: AutoProcessor
# these 3 lines are needed for now to handle vision chat templates w images
skip_prepare_dataset: true
remove_unused_columns: false
sample_packing: false
chat_template: qwen2_vl
datasets:
- path: e-zorzi/reasoning_distractors_choice_chat
type: chat_template
split: train
revision: small
test_datasets:
- path: e-zorzi/reasoning_distractors_choice_chat
type: chat_template
split: val_seen[:10%]
revision: small
- path: e-zorzi/reasoning_distractors_choice_chat
type: chat_template
split: val_unseen[:10%]
revision: small
output_dir: ../ut-persistent/outputs/qwen2_5_VL_7B_lora
load_in_8bit: True
adapter: lora
lora_model_dir:
sequence_len: 2048 #8192
pad_to_sequence_len: false
lora_r: 128
lora_alpha: 16
lora_dropout: 0.05
lora_target_modules: 'model.language_model.layers.[\d]+.(mlp|cross_attn|self_attn).(up|down|gate|q|k|v|o)_proj'
wandb_project: axolotl_finetunes
wandb_entity: edo_vi
wandb_watch:
wandb_name:
wandb_log_model:
gradient_accumulation_steps: 2
micro_batch_size: 32
num_epochs: 15
optimizer: adamw_bnb_8bit
lr_scheduler: cosine
learning_rate: 0.001
bf16: true
fp16:
tf32: true
gradient_checkpointing: true
logging_steps: 1
flash_attention: true
eager_attention:
warmup_ratio: 0.0067
evals_per_epoch: 3
saves_per_epoch: 1
save_strategy: epoch
weight_decay: 0.0
# save_first_step: true # uncomment this to validate checkpoint saving works with your config
base_model: Qwen/Qwen2.5-VL-7B-Instruct
processor_type: AutoProcessor
# these 3 lines are needed for now to handle vision chat templates w images
skip_prepare_dataset: true
remove_unused_columns: false
sample_packing: false
chat_template: qwen2_vl
datasets:
- path: e-zorzi/reasoning_distractors_choice_chat
type: chat_template
split: train
revision: small
test_datasets:
- path: e-zorzi/reasoning_distractors_choice_chat
type: chat_template
split: val_seen[:10%]
revision: small
- path: e-zorzi/reasoning_distractors_choice_chat
type: chat_template
split: val_unseen[:10%]
revision: small
load_in_8bit: True
adapter: lora
lora_model_dir:
sequence_len: 2048 #8192
pad_to_sequence_len: false
lora_r: 128
lora_alpha: 16
lora_dropout: 0.05
lora_target_modules: 'model.language_model.layers.[\d]+.(mlp|cross_attn|self_attn).(up|down|gate|q|k|v|o)_proj'
gradient_accumulation_steps: 2
micro_batch_size: 32
num_epochs: 15
optimizer: adamw_bnb_8bit
lr_scheduler: cosine
learning_rate: 0.001
bf16: true
fp16:
tf32: true
gradient_checkpointing: true
logging_steps: 1
flash_attention: true
eager_attention:
warmup_ratio: 0.0067
evals_per_epoch: 3
saves_per_epoch: 1
save_strategy: epoch
weight_decay: 0.0
# save_first_step: true # uncomment this to validate checkpoint saving works with your config
This modelcard aims to be a base template for new models. It has been generated using this raw template.
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
Use the code below to get started with the model.
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
BibTeX:
[More Information Needed]
APA:
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]