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
File size: 1,131 Bytes
31b34c0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | {
"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"
}
|