MiniCPM-V-4

Convert tools links:

For those who are interested in model conversion, you can try to export axmodel through the original repo : https://huggingface.co/openbmb/MiniCPM-V-4

How to Convert LLM from Huggingface to axmodel

Support Platform

How to use

Download all files from this repository to the device

root@ax650:~/wangjian/minicpm-v-4# tree -L 1
.
โ”œโ”€โ”€ embed_tokens.pth
โ”œโ”€โ”€ minicpm-v-4_axmodel
โ”œโ”€โ”€ minicpmv4_tokenizer
โ”œโ”€โ”€ resampler.axmodel
โ”œโ”€โ”€ run_axmodel.py
โ”œโ”€โ”€ show_demo.jpg
โ””โ”€โ”€ siglip.axmodel

install transformers

pip install transformers==4.51.0

Inference with AX650 Host on AX650 DEMO Board

run following cmd๏ผš

python3 run_axmodel.py -i show_demo.jpg -q "What is the landform in the picture?"

input image๏ผš demo.jpg

minicpm-v-4 output:

question1 = "What is the landform in the picture?"

answer1 = The landform in the picture is a karst topography, characterized by its unique and dramatic appearance with steep limestone cliffs rising from the water' s surface. This type of landscape is commonly found in regions with significant geological activity, such as China's Li River.
Downloads last month
7
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for AXERA-TECH/MiniCPM-V-4

Finetuned
(3)
this model

Collections including AXERA-TECH/MiniCPM-V-4