MarkTechPost AI生成式AI

使用穩健數據載入與自動評判,以Moonshot PerceptionBench評估多模態視覺模型

2026年8月3日 22:26

重點摘要

本教學設計了一個端到端評估流程,用於Moonshot PerceptionBench,這是一個衡量多模態視覺模型細粒度感知能力的基準,涵蓋OCR、計數、定位、上下文推理等任務。流程包含穩健的數據載入、多種後端模型支援(如盲測基準、OpenAI相容API及本地Hugging Face模型),以及基於規則或LLM輔助的自動評判機制,最終產出可重現的預測與報告。

站內 AI 整理稿

In this tutorial, we design an end-to-end evaluation workflow for PerceptionBench. This multimodal benchmark measures fine-grained visual perception capabilities across tasks such as OCR, counting, localization, contextual reasoning, comparison, depth understanding, and hallucination detection. We begin by configuring a Colab-compatible environment, installing the required libraries, and loading a balanced subset of the dataset through a robust multi-stage streaming and download strategy. We then decode base64-encoded images, parse interleaved image placeholders, normalize each example into a consistent record format, and analyze the dataset’s capability distribution, image requirements, answer types, and source benchmarks. From there, we construct a unified evaluation harness that supports a blind-prior baseline, OpenAI-compatible multimodal APIs, and local Hugging Face vision-language models. We also implement rule-based and optional LLM-assisted judging, calculate bootstrap confidence intervals, examine performance across difficulty slices, compare capability profiles with the included leaderboard, and export reproducible prediction and reporting artifacts. Copy CodeCopiedUse a different Browserimport os, sys, io, re, json, time, math, base64, random, hashlib, subprocess, warnings from collections import Counter, defaultdict from concurrent. futures import ThreadPoolExecutor, as_completed warnings. filterwarnings("ignore") CFG = dict( REPO = "moonshotai/PerceptionBench", SPLIT = "train", N_PER_CATEGORY = 12, MAX_SCAN = 1200, SEED = 0, LOAD_MODE = "stream", BACKEND = "blind", API_BASE = os.

Related

相關文章

鈦媒體生成式AI

千問辦公,阿里準備用來打誰?

阿里巴巴推出企業級AI辦公產品「千問辦公」,整合旗下三款Agent並以新旗艦模型Qwen3.8為底座,定位企業級AI生產力平臺,而非鎖定C端市場。產品正式公測後市場反應正面,阿里港股漲幅超過7%,市值回升至約2.4兆港元。外界認為這意在與騰訊WorkBuddy等對手區隔,阿里選擇在企業級市場長期布局,但能否勝出仍待考驗。

剛剛
鈦媒體生成式AI

Claude焚書又"越獄" ,邊界在哪?

Claude焚書又"越獄" ,邊界在哪?AI唱反調2026.08.04 10:27 · 來自北京全文2534字00:00 / 07:49AI數據飢渴蔓延到物理世界。文 | AI唱反調7月底,Anthropic兩件事同時暴露。法庭解封了"巴拿馬計劃"的內部文件,披露這家公司通過二手書商大宗採購,用液壓機切除書脊,把預估50萬到200萬冊實體書送進碎紙機。

剛剛
鈦媒體生成式AI

無人再議AI六小龍

無人再議AI六小龍正見TrueView2026.08.04 09:57 · 來自北京全文4657字00:00 / 14:44上市並非終局,只是獲得了更大的燃料池。文 | 正見TrueView技術敘事是AI創業的第一針強心劑,但資本的潮水退去後,所有估值神話最終都要落回商業賬本之上。

剛剛
鈦媒體生成式AI

對話UnityCEO:AI正在改變遊戲引擎的底層邏輯

Unity執行長張俊波表示,AI雖無法一句話生成優質遊戲,但正改寫遊戲引擎的底層邏輯,並將數據格式調整為對AI更友善。Unity中國推出嵌入引擎工作流的AI助手「團結Codely」,協助程式生成與工程輔助,但他強調AI寫出的程式仍需人力把關,開發門檻降低不代表成功率上升。

剛剛

AI批量轟炸蘋果bug賞金計劃,審核團隊已下線

蘋果近日針對其漏洞獎勵計畫(Bug Bounty Program)祭出重大調整,在內部安全入口網站上對漏洞提交設置數量上限,並要求提交者遵守30天的「冷靜期」。這項改變背後,是AI工具大幅降低漏洞挖掘門檻所導致的審核危機:大量由AI生成的錯誤報告與幻覺內容,讓蘋果安全團隊徹底分身乏術。 蘋果的漏洞獎勵計畫自2016年推出,原意是鼓勵安全研究人員主動回報蘋果軟體、硬體及服務中的安全漏洞,經人工審查確認後發放現金獎勵。隨著時間推移,獎金不斷提高,2025年10月,蘋果更宣布將最高獎勵提升至500萬美元(約合新台幣1.

剛剛