baraujo22 commited on
Commit
d06df67
·
verified ·
1 Parent(s): 7338b94

Update processor_config.json

Browse files

Adds `num_additional_image_tokens` so that the model can run with the latest transformers version. Same modification as in https://huggingface.co/unsloth/llava-1.5-7b-hf-bnb-4bit/discussions/1.
Some context for this change can be read in https://github.com/huggingface/transformers/pull/35779

Files changed (1) hide show
  1. processor_config.json +2 -1
processor_config.json CHANGED
@@ -2,5 +2,6 @@
2
  "image_token": "<image>",
3
  "patch_size": 14,
4
  "processor_class": "LlavaNextProcessor",
5
- "vision_feature_select_strategy": "default"
 
6
  }
 
2
  "image_token": "<image>",
3
  "patch_size": 14,
4
  "processor_class": "LlavaNextProcessor",
5
+ "vision_feature_select_strategy": "default",
6
+ "num_additional_image_tokens": 1
7
  }