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.1.0.tar.gz (26.5 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.1.0-py3-none-any.whl (25.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: inferencebench_vision-0.1.0.tar.gz
  • Upload date:
  • Size: 26.5 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.1.0.tar.gz
Algorithm Hash digest
SHA256 ae837e73b89fd381eb533bd822b3aa9b7828c139976b6157338b6e3b5724e315
MD5 bbca27a27c429b0dac3090f53ad98f39
BLAKE2b-256 762e2ed9c252c9b9b7a4c953813366c874c0da376fc8a0791ef65707c1be1609

See more details on using hashes here.

File details

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

File metadata

  • Download URL: inferencebench_vision-0.1.0-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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e6690cc4edc33ab3b7f09aa33150bbee00e7bc40b4ee65070761ef812f29b05b
MD5 57c40462f7b919944f4256d64b097bd4
BLAKE2b-256 904f7fc4c4783c9f7a367378f1b1b82792c47c8dff8d93b4bec084b312af0950

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