more fixes to try to get mm working

This commit is contained in:
Wing Lian
2023-10-23 23:15:33 -04:00
parent b885169229
commit fdc3e4d505
3 changed files with 9 additions and 4 deletions

View File

@@ -2,9 +2,10 @@ base_model: mistralai/Mistral-7B-v0.1
model_type: MistralForCausalLM
tokenizer_type: LlamaTokenizer
is_mistral_derived_model: true
multimodal: true
vision_tower: openai/clip-vit-large-patch14
# multimodal pretrain
multimodal: true
mm_vision_tower: openai/clip-vit-large-patch14
tune_mm_mlp_adapter: true
mm_vision_select_layer: -2
mm_projector_type: mlp2x_gelu
@@ -21,7 +22,7 @@ val_set_size: 0.01
output_dir: ./out
sequence_len: 2048
sample_packing: true
sample_packing: false
pad_to_sequence_len: true
wandb_project: