Spaces:
Running on Zero

readpoint / README.md
multimodalart's picture
multimodalart HF Staff
Upload folder using huggingface_hub
0a59602 verified
|
Raw History Blame Contribute Delete
2.66 kB
metadata
title: ReadPoint
emoji: 🎯
colorFrom: gray
colorTo: green
sdk: gradio
sdk_version: 6.33.0
app_file: app.py
short_description: Fast self-checking pointing decision VLMs
python_version: '3.12'
startup_duration_timeout: 30m

ReadPoint β€” fast self-checking pointing decision models

Point a small vision-language model at a target β€” one forward pass reads the probability of every point (000–999 per axis), plus an optional bounding box and a self-check confidence. No token-by-token writing, nothing sampled: the exact distributions come out of a single pass over a packed tree of all possible digit prefixes.

Adapters by NAVER Cloud AI, from Small Vision-Language Models Are Fast Self-Checking Pointing Decision Models (project page):

How it works

A pointing answer is three digits per coordinate, and every digit prefix the model could write is known in advance. ReadPoint packs the image, the request "Point to <target>.", the tail of each question (x, y β€” and in full mode also the box edges x1/y1/x2/y2 and the self-check) and 10+100 digit-prefix nodes per axis into ONE sequence. Full-attention layers use a tree mask so each node sees only its own path, and the Gated-DeltaNet layers continue every branch from its parent's recurrent state inside the same layer. Reading the logits at the leaves yields the exact distribution over 000–999 for each axis β€” the point is the argmax, the box the argmax of its four edges, and the self-check is P("Yes") on the check question.

The demo draws the point (and box) on the image, renders the joint probability map P(x)Β·P(y) on the model's own 1000Γ—1000 grid, and reports the self-check P(yes): the model's own judgement of whether it can point precisely at this image resolution.

Notes

  • Inference follows the authors' minimal reader (fast_read.py, shipped in the model repos) 1:1, with a ZeroGPU adaptation: the model loads and merges on CPU at startup, then is moved with .to("cuda") so the runtime streams it into VRAM on the first call.
  • The adapters and fast_read.py are released under CC BY-NC 4.0 (research / non-commercial use only) β€” see the model card.
  • Example images are from linoyts/repo-to-space-example-inputs (CC0 1.0).