Instructions to use Vishva007/MiniCPM-V-4.7-1B-Signature-Adapter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Vishva007/MiniCPM-V-4.7-1B-Signature-Adapter with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Vishva007/MiniCPM-V-4.7-1B-Signature-Adapter", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Desktop
Download processor_config.json from Vishva007/MiniCPM-V-4.7-1B-Signature-Adapter: direct link, hf CLI and curl.
- Browser
- Download file 1.25 kB
-
https://huggingface.co/Vishva007/MiniCPM-V-4.7-1B-Signature-Adapter/resolve/main/processor_config.json
- Command line
-
hf download hf://Vishva007/MiniCPM-V-4.7-1B-Signature-Adapter/processor_config.json
-
curl -L -o processor_config.json https://huggingface.co/Vishva007/MiniCPM-V-4.7-1B-Signature-Adapter/resolve/main/processor_config.json
1.25 kB
| { | |
| "image_processor": { | |
| "do_convert_rgb": true, | |
| "do_normalize": true, | |
| "do_rescale": true, | |
| "do_resize": true, | |
| "downsample_mode": "16x", | |
| "image_mean": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "image_processor_type": "MiniCPMV4_6ImageProcessor", | |
| "image_std": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "max_slice_nums": 9, | |
| "mrope_mode": "canvas", | |
| "patch_size": 14, | |
| "resample": 3, | |
| "rescale_factor": 0.00392156862745098, | |
| "scale_resolution": 448, | |
| "slice_mode": true, | |
| "use_image_id": true | |
| }, | |
| "processor_class": "MiniCPMV4_7Processor", | |
| "video_processor": { | |
| "do_convert_rgb": true, | |
| "do_normalize": true, | |
| "do_rescale": true, | |
| "do_resize": true, | |
| "do_sample_frames": true, | |
| "downsample_mode": "16x", | |
| "image_mean": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "image_std": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "max_num_frames": 128, | |
| "max_slice_nums": 9, | |
| "mrope_mode": "canvas", | |
| "patch_size": 14, | |
| "resample": 3, | |
| "rescale_factor": 0.00392156862745098, | |
| "return_metadata": false, | |
| "scale_resolution": 448, | |
| "slice_mode": true, | |
| "stack_frames": 1, | |
| "use_image_id": true, | |
| "video_processor_type": "MiniCPMV4_6VideoProcessor" | |
| } | |
| } | |