Remove `auto_map` from image and video processors
Browse filesModel repo does not contain custom code files `image_processing_minicpmv4_7.py and `video_processing_minicpmv4_7.py`.
Exporting the model with `AutoProcessor.from_pretrained(..., trust_remote_code=True)` results in error "OSError: model_snapshot_path does not appear to have a file named image_processing_minicpmv4_7.py."
Removing `auto_map` resolves this and allows to save model with `trust_remote_code` enabled.
Also, original `openbmb/MiniCPM-V-4.7-1B` and `MiniCPM-V-4.7-35B-A3B` models don't have this `auto_map` field, moreover their `processor_config.json` contains just empty JSON object `{ }`. Maybe tiny random model should be align with them.
12345634521 unmodified lines27282934353637303132{ "image_processor": { "auto_map": { "AutoImageProcessor": "image_processing_minicpmv4_7.MiniCPMV4_7ImageProcessor", "AutoVideoProcessor": "video_processing_minicpmv4_7.MiniCPMV4_7VideoProcessor" }, "do_convert_rgb": true, "do_normalize": true, "do_rescale": true,21 unmodified lines }, "processor_class": "MiniCPMV4_7Processor", "video_processor": { "auto_map": { "AutoImageProcessor": "image_processing_minicpmv4_7.MiniCPMV4_7ImageProcessor", "AutoVideoProcessor": "video_processing_minicpmv4_7.MiniCPMV4_7VideoProcessor" }, "do_convert_rgb": true, "do_normalize": true, "do_rescale": true,processor_config.json-8