Image-Text-to-Text
PEFT
Safetensors
lora
llama-factory
coral-reef
biodiversity
fine-grained-classification
reefnet
conversational
Instructions to use ReefNet/reefnet-minicpm-v-4.5-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ReefNet/reefnet-minicpm-v-4.5-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("openbmb/MiniCPM-V-4_5") model = PeftModel.from_pretrained(base_model, "ReefNet/reefnet-minicpm-v-4.5-lora") - Notebooks
- Google Colab
- Kaggle
Download processor_config.json from ReefNet/reefnet-minicpm-v-4.5-lora: direct link, hf CLI and curl.
- Browser
- Download file 1.13 kB
-
https://huggingface.co/ReefNet/reefnet-minicpm-v-4.5-lora/resolve/main/processor_config.json
- Command line
-
hf download hf://ReefNet/reefnet-minicpm-v-4.5-lora/processor_config.json
-
curl -L -o processor_config.json https://huggingface.co/ReefNet/reefnet-minicpm-v-4.5-lora/resolve/main/processor_config.json
1.13 kB
| { | |
| "auto_map": { | |
| "AutoProcessor": "processing_minicpmv.MiniCPMVProcessor" | |
| }, | |
| "image_processor": { | |
| "auto_map": { | |
| "AutoImageProcessor": "image_processing_minicpmv.MiniCPMVImageProcessor", | |
| "AutoProcessor": "processing_minicpmv.MiniCPMVProcessor" | |
| }, | |
| "im_end": "</image>", | |
| "im_end_token": "</image>", | |
| "im_id_end": "</image_id>", | |
| "im_id_start": "<image_id>", | |
| "im_start": "<image>", | |
| "im_start_token": "<image>", | |
| "image_feature_size": 64, | |
| "image_processor_type": "MiniCPMVImageProcessor", | |
| "max_slice_nums": 9, | |
| "mean": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "norm_mean": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "norm_std": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "patch_size": 14, | |
| "scale_resolution": 448, | |
| "slice_end": "</slice>", | |
| "slice_end_token": "</slice>", | |
| "slice_mode": true, | |
| "slice_start": "<slice>", | |
| "slice_start_token": "<slice>", | |
| "std": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "unk": "<unk>", | |
| "unk_token": "<unk>", | |
| "use_image_id": true, | |
| "version": 2.6 | |
| }, | |
| "processor_class": "MiniCPMVProcessor" | |
| } | |