davedgd commited on
Commit
9d13754
·
verified ·
1 Parent(s): 31216e6

Update preprocessor_config.json

Browse files

Minor updates to preprocessor_config.json, which fixes a compatibility issue with up-to-date versions of transformers (e.g., 4.51.3). These changes mirror other unsloth versions (e.g., https://huggingface.co/unsloth/Qwen2.5-VL-72B-Instruct-bnb-4bit/blob/main/preprocessor_config.json).

Files changed (1) hide show
  1. preprocessor_config.json +3 -3
preprocessor_config.json CHANGED
@@ -8,7 +8,7 @@
8
  0.4578275,
9
  0.40821073
10
  ],
11
- "image_processor_type": "Qwen2_5_VLImageProcessor",
12
  "image_std": [
13
  0.26862954,
14
  0.26130258,
@@ -22,8 +22,8 @@
22
  "resample": 3,
23
  "rescale_factor": 0.00392156862745098,
24
  "size": {
25
- "max_pixels": 12845056,
26
- "min_pixels": 3136
27
  },
28
  "temporal_patch_size": 2
29
  }
 
8
  0.4578275,
9
  0.40821073
10
  ],
11
+ "image_processor_type": "Qwen2VLImageProcessor",
12
  "image_std": [
13
  0.26862954,
14
  0.26130258,
 
22
  "resample": 3,
23
  "rescale_factor": 0.00392156862745098,
24
  "size": {
25
+ "longest_edge": 12845056,
26
+ "shortest_edge": 3136
27
  },
28
  "temporal_patch_size": 2
29
  }