Upload preprocessor_config.json with huggingface_hub
Browse files- preprocessor_config.json +32 -0
preprocessor_config.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"auto_map": {
|
| 3 |
+
"AutoImageProcessor": "image_preprocessing_molmo.MolmoImageProcessor",
|
| 4 |
+
"AutoProcessor": "preprocessing_molmo.MolmoProcessor"
|
| 5 |
+
},
|
| 6 |
+
"base_image_input_size": [
|
| 7 |
+
336,
|
| 8 |
+
336
|
| 9 |
+
],
|
| 10 |
+
"do_normalize": true,
|
| 11 |
+
"image_mean": [
|
| 12 |
+
0.48145466,
|
| 13 |
+
0.4578275,
|
| 14 |
+
0.40821073
|
| 15 |
+
],
|
| 16 |
+
"image_padding_mask": true,
|
| 17 |
+
"image_patch_size": 14,
|
| 18 |
+
"image_processor_type": "MolmoImageProcessor",
|
| 19 |
+
"image_std": [
|
| 20 |
+
0.26862954,
|
| 21 |
+
0.26130258,
|
| 22 |
+
0.27577711
|
| 23 |
+
],
|
| 24 |
+
"image_token_length_h": 12,
|
| 25 |
+
"image_token_length_w": 12,
|
| 26 |
+
"max_crops": 12,
|
| 27 |
+
"overlap_margins": [
|
| 28 |
+
4,
|
| 29 |
+
4
|
| 30 |
+
],
|
| 31 |
+
"processor_class": "MolmoProcessor"
|
| 32 |
+
}
|