Image-Text-to-Text
Transformers
GGUF
multilingual
minicpm-v
vision
ocr
multi-image
video
custom_code
conversational
Instructions to use bartowski/MiniCPM-V-2_6-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bartowski/MiniCPM-V-2_6-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="bartowski/MiniCPM-V-2_6-GGUF", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("bartowski/MiniCPM-V-2_6-GGUF", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use bartowski/MiniCPM-V-2_6-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf bartowski/MiniCPM-V-2_6-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf bartowski/MiniCPM-V-2_6-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf bartowski/MiniCPM-V-2_6-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf bartowski/MiniCPM-V-2_6-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf bartowski/MiniCPM-V-2_6-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf bartowski/MiniCPM-V-2_6-GGUF:Q4_K_M
Use Docker
docker model run hf.co/bartowski/MiniCPM-V-2_6-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use bartowski/MiniCPM-V-2_6-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "bartowski/MiniCPM-V-2_6-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "bartowski/MiniCPM-V-2_6-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/bartowski/MiniCPM-V-2_6-GGUF:Q4_K_M
- SGLang
How to use bartowski/MiniCPM-V-2_6-GGUF with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "bartowski/MiniCPM-V-2_6-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "bartowski/MiniCPM-V-2_6-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "bartowski/MiniCPM-V-2_6-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "bartowski/MiniCPM-V-2_6-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Ollama
How to use bartowski/MiniCPM-V-2_6-GGUF with Ollama:
ollama run hf.co/bartowski/MiniCPM-V-2_6-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use bartowski/MiniCPM-V-2_6-GGUF with Docker Model Runner:
docker model run hf.co/bartowski/MiniCPM-V-2_6-GGUF:Q4_K_M
- Lemonade
How to use bartowski/MiniCPM-V-2_6-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull bartowski/MiniCPM-V-2_6-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.MiniCPM-V-2_6-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Commit History
-
Update metadata with huggingface_hub
Verified signature93155ad -
Upload README.md with huggingface_hub
Verified signature611d8f9 -
Upload mmproj-MiniCPM-V-2_6-f16.gguf with huggingface_hub
Verified signaturee88151e -
Upload MiniCPM-V-2_6.imatrix with huggingface_hub
Verified signaturef7a45eb -
Upload MiniCPM-V-2_6-f16.gguf with huggingface_hub
Verified signature912130c -
Upload MiniCPM-V-2_6-IQ2_M.gguf with huggingface_hub
Verified signature12510ee -
Upload MiniCPM-V-2_6-Q2_K.gguf with huggingface_hub
Verified signature4c54908 -
Upload MiniCPM-V-2_6-Q2_K_L.gguf with huggingface_hub
Verified signature8086b7b -
Upload MiniCPM-V-2_6-IQ3_XS.gguf with huggingface_hub
Verified signaturedc52715 -
Upload MiniCPM-V-2_6-Q3_K_S.gguf with huggingface_hub
Verified signature75aa498 -
Upload MiniCPM-V-2_6-IQ3_M.gguf with huggingface_hub
Verified signature231be61 -
Upload MiniCPM-V-2_6-Q3_K_M.gguf with huggingface_hub
Verified signature02e6a76 -
Upload MiniCPM-V-2_6-Q3_K_L.gguf with huggingface_hub
Verified signature2d69960 -
Upload MiniCPM-V-2_6-Q3_K_XL.gguf with huggingface_hub
Verified signature51e5ebc -
Upload MiniCPM-V-2_6-IQ4_XS.gguf with huggingface_hub
Verified signaturebcbbfdb -
Upload MiniCPM-V-2_6-Q4_K_S.gguf with huggingface_hub
Verified signaturef1b2e5d -
Upload MiniCPM-V-2_6-Q4_K_M.gguf with huggingface_hub
Verified signature805f8f6 -
Upload MiniCPM-V-2_6-Q4_K_L.gguf with huggingface_hub
Verified signature592bca2 -
Upload MiniCPM-V-2_6-Q5_K_S.gguf with huggingface_hub
Verified signaturef47f4f0 -
Upload MiniCPM-V-2_6-Q5_K_M.gguf with huggingface_hub
Verified signaturec694264 -
Upload MiniCPM-V-2_6-Q5_K_L.gguf with huggingface_hub
Verified signatured51ce65 -
Upload MiniCPM-V-2_6-Q6_K.gguf with huggingface_hub
Verified signaturebbbadac -
Upload MiniCPM-V-2_6-Q6_K_L.gguf with huggingface_hub
Verified signature83b827c -
Upload MiniCPM-V-2_6-Q8_0.gguf with huggingface_hub
Verified signature4742742 -
Update README.md
Verified signatureb840fa7
-
Upload mmproj-model-f16.gguf with huggingface_hub
Verified signaturea77f016 -
Update README.md
Verified signaturefbfbba3 -
Update README.md
Verified signaturecc940c4 -
Update metadata with huggingface_hub
Verified signature0b32579 -
Upload README.md with huggingface_hub
Verified signature9a23687 -
Upload MiniCPM-V-2_6-f16.gguf with huggingface_hub
Verified signaturebdfb6ac -
Upload MiniCPM-V-2_6-Q2_K.gguf with huggingface_hub
Verified signature2caa2a5 -
Upload MiniCPM-V-2_6-Q2_K_L.gguf with huggingface_hub
Verified signature36c2c33 -
Upload MiniCPM-V-2_6-IQ3_M.gguf with huggingface_hub
Verified signature2ba2efe -
Upload MiniCPM-V-2_6-Q3_K_M.gguf with huggingface_hub
Verified signature1056cb8 -
Upload MiniCPM-V-2_6-Q3_K_L.gguf with huggingface_hub
Verified signature4deac8a -
Upload MiniCPM-V-2_6-Q3_K_XL.gguf with huggingface_hub
Verified signature4a6f489 -
Upload MiniCPM-V-2_6-IQ4_XS.gguf with huggingface_hub
Verified signature03b8cd4 -
Upload MiniCPM-V-2_6-Q4_K_S.gguf with huggingface_hub
Verified signature4ab68e4 -
Upload MiniCPM-V-2_6-Q4_K_M.gguf with huggingface_hub
Verified signature596dc03 -
Upload MiniCPM-V-2_6-Q4_K_L.gguf with huggingface_hub
Verified signature8628a2e -
Upload MiniCPM-V-2_6-Q5_K_S.gguf with huggingface_hub
Verified signature634ee38 -
Upload MiniCPM-V-2_6-Q5_K_M.gguf with huggingface_hub
Verified signature3f06713 -
Upload MiniCPM-V-2_6-Q5_K_L.gguf with huggingface_hub
Verified signature8d9aa49 -
Upload MiniCPM-V-2_6-Q6_K.gguf with huggingface_hub
Verified signatured71b811 -
Upload MiniCPM-V-2_6-Q6_K_L.gguf with huggingface_hub
Verified signaturee559ba4 -
Upload MiniCPM-V-2_6-Q8_0.gguf with huggingface_hub
Verified signature7ff70d7 -
initial commit
Verified signature2d89895