Skip to main content

Vision-language understanding plugin for InferenceBench Suite (multimodal accuracy on bundled image+question fixtures)

Project description

inferencebench-vision

Vision-language understanding plugin for the InferenceBench Suite.

Scores vision-language model answers against bundled image+question fixtures using deterministic exact-match, substring-match, or LLM-as-judge strategies. Mirrors the llm.quality plugin contract but exercises the multimodal chat-completions request shape that every modern VLM endpoint (vLLM, SGLang, OpenAI, Anthropic) accepts.

Suite ID: vision.understanding

Multimodal request shape

Each fixture row pairs an image with a natural-language question. The plugin constructs an OpenAI-compatible chat-completions request with image content inline as a base64 data URL:

{
  "messages": [{
    "role": "user",
    "content": [
      {"type": "text", "text": "How many bars are in this chart?"},
      {"type": "image_url", "image_url": {"url": "data:image/png;base64,..."}}
    ]
  }]
}

vLLM, SGLang, the OpenAI Chat Completions API and Anthropic's messages API all accept this exact shape, so a single plugin works against any of them.

Bundled benchmarks

  • vision.understanding.ocr-mini — 5 short OCR-style read-text-from-image tasks against synthetic PNGs, substring-match scoring.
  • vision.understanding.chart-qa-mini — 5 ChartQA-style numeric-extraction tasks against synthetic bar charts, exact-match scoring.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

inferencebench_vision-0.0.2.tar.gz (26.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

inferencebench_vision-0.0.2-py3-none-any.whl (25.6 kB view details)

Uploaded Python 3

File details

Details for the file inferencebench_vision-0.0.2.tar.gz.

File metadata

  • Download URL: inferencebench_vision-0.0.2.tar.gz
  • Upload date:
  • Size: 26.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for inferencebench_vision-0.0.2.tar.gz
Algorithm Hash digest
SHA256 19bc38770452ea29a4e70cd80b05cc467d5503273318609330f31c9d731e3367
MD5 9a0869d717fda1744545009cf2da6bcf
BLAKE2b-256 930ce6c7aa9bcc93e6d9dc23a75e7af5cd3e361f49a37b65e2eacd180efffe4e

See more details on using hashes here.

File details

Details for the file inferencebench_vision-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: inferencebench_vision-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 25.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for inferencebench_vision-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d5daa20632898d105aa17b3c23c7568f523b8c9889b062bc54d79070826c8ed8
MD5 a1185a655f46f33024bb8f70c97bc0b4
BLAKE2b-256 d5c013e9e53b644c1faa8ba28b6079ed2828ad8b92061727da62996de01144bc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page