Hello Mat

 找回密码
 立即注册
查看: 65|回复: 0

图片语义分析

[复制链接]

1365

主题

1601

帖子

10

金钱

管理员

Rank: 9Rank: 9Rank: 9

积分
22857
发表于 4 天前 | 显示全部楼层 |阅读模式
图片语义分析:
模型下载:openbmb/MiniCPM-V-4.6-gguf at main  https://hf-mirror.com/openbmb/MiniCPM-V-4.6-gguf/tree/main
MiniCPM-V:https://github.com/OpenBMB/MiniCPM-V
llama下载链接:https://github.com/ggml-org/llama.cpp
https://github.com/OpenSQZ/MiniC ... v4_6_llamacpp_zh.md
  1. # Thinking 模型 - 不限制思考输出
  2. ./llama-mtmd-cli \
  3.     -m  /path/to/MiniCPM-V-4.6-Thinking/MiniCPM-V-4.6-Thinking-Q4_K_M.gguf \
  4.     --mmproj /path/to/MiniCPM-V-4.6-Thinking/mmproj-MiniCPM-V-4.6-Thinking-F16.gguf \
  5.     -c 8192 --temp 0.7 --top-p 0.8 --top-k 100 --repeat-penalty 1.05 \
  6.     --image xx.jpg --jinja --reasoning-budget -1 -p "图中有什么?"

  7. # Thinking 模型 - 跳过开头的 <think> 块(直接出答案)
  8. ./llama-mtmd-cli \
  9.     -m  /path/to/MiniCPM-V-4.6-Thinking/MiniCPM-V-4.6-Thinking-Q4_K_M.gguf \
  10.     --mmproj /path/to/MiniCPM-V-4.6-Thinking/mmproj-MiniCPM-V-4.6-Thinking-F16.gguf \
  11.     -c 8192 --temp 0.7 --top-p 0.8 --top-k 100 --repeat-penalty 1.05 \
  12.     --image xx.jpg --jinja --reasoning-budget 0 -p "图中有什么?"
复制代码



算法QQ  3283892722
群智能算法链接http://halcom.cn/forum.php?mod=forumdisplay&fid=73
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Python|Opencv|MATLAB|Halcom.cn ( 蜀ICP备16027072号 )

GMT+8, 2026-6-9 20:29 , Processed in 0.157257 second(s), 22 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表