Create preprocessor_config.json (#2)
Browse files- Create preprocessor_config.json (37b57a9af6317b9c2a89b55ea5faf9f9f46e1c88)
Co-authored-by: Alexey Borsky <Volotat@users.noreply.huggingface.co>
- preprocessor_config.json +35 -0
preprocessor_config.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"image_processor_type": "MiniCPMVImageProcessor",
|
| 3 |
+
"feature_extractor_type": "MiniCPMAAudioProcessor",
|
| 4 |
+
"auto_map": {
|
| 5 |
+
"AutoProcessor": "processing_minicpmo.MiniCPMOProcessor",
|
| 6 |
+
"AutoImageProcessor": "processing_minicpmo.MiniCPMVImageProcessor",
|
| 7 |
+
"AutoFeatureExtractor": "processing_minicpmo.MiniCPMAAudioProcessor"
|
| 8 |
+
},
|
| 9 |
+
"processor_class": "MiniCPMOProcessor",
|
| 10 |
+
"max_slice_nums": 9,
|
| 11 |
+
"scale_resolution": 448,
|
| 12 |
+
"patch_size": 14,
|
| 13 |
+
"use_image_id": true,
|
| 14 |
+
"image_feature_size": 64,
|
| 15 |
+
"im_start": "<image>",
|
| 16 |
+
"im_end": "</image>",
|
| 17 |
+
"slice_start": "<slice>",
|
| 18 |
+
"slice_end": "</slice>",
|
| 19 |
+
"unk": "<unk>",
|
| 20 |
+
"im_id_start": "<image_id>",
|
| 21 |
+
"im_id_end": "</image_id>",
|
| 22 |
+
"slice_mode": true,
|
| 23 |
+
"audio_pool_step": 5,
|
| 24 |
+
"norm_mean": [
|
| 25 |
+
0.5,
|
| 26 |
+
0.5,
|
| 27 |
+
0.5
|
| 28 |
+
],
|
| 29 |
+
"norm_std": [
|
| 30 |
+
0.5,
|
| 31 |
+
0.5,
|
| 32 |
+
0.5
|
| 33 |
+
],
|
| 34 |
+
"version": 4.5
|
| 35 |
+
}
|