Download PixelOne-Pro-4B/README.md from KangHui2200/PixelOne: direct link, hf CLI and curl.
- Browser
- Download file 5.53 kB
-
https://huggingface.co/KangHui2200/PixelOne/resolve/main/PixelOne-Pro-4B/README.md
- Command line
-
hf download hf://KangHui2200/PixelOne/PixelOne-Pro-4B/README.md
-
curl -L -o README.md https://huggingface.co/KangHui2200/PixelOne/resolve/main/PixelOne-Pro-4B/README.md
license: mit
language:
- en
tags:
- gui-grounding
- pixelone
- computer-use
- custom-code
- safetensors
PixelOne-Pro-4B
PixelOne-Pro-4B predicts an original-image click from a screenshot and an instruction in one visual encoding and one language-model forward. This is the final full-parameter 500K continuation from the PixelOne paper, with a trained visual encoder, native decision head and lightweight pixel head.
Use
This model is stored in the PixelOne-Pro-4B subfolder of KangHui2200/PixelOne. Both models use the shared inference-only runtime/ at the repository root. Only the selected model's required files are downloaded. Authenticate with Hugging Face if the repository is private.
The package is self-contained: all model weights and processor assets are included. No separate base-model weights, LoRA adapter or search teacher is needed at inference.
python -m pip install -U huggingface_hub
hf download KangHui2200/PixelOne --include 'runtime/*' --local-dir ./PixelOne
python -m pip install ./PixelOne/runtime
python -m pip install flash-linear-attention==0.4.2 causal-conv1d==1.7.0 --no-build-isolation
pixelone infer --model KangHui2200/PixelOne --subfolder PixelOne-Pro-4B \
--image screenshot.png --instruction "Click the search button" --device cuda:0
from PIL import Image
from pixelone import PixelOnePredictor
predictor = PixelOnePredictor.from_pretrained(
"KangHui2200/PixelOne", subfolder="PixelOne-Pro-4B", device="cuda:0",
)
with Image.open("screenshot.png") as screenshot:
result = predictor.predict(screenshot, "Click the search button")
print(result["point"])
Use the bundled PixelOnePredictor, not AutoModelForCausalLM.generate or a generic VideoJEV loader. The direct click head and its coarse-first decoder are essential parts of this checkpoint. config.json describes the native backbone; pixelone.json specifies the complete PixelOne inference contract and weight index. For offline use, download the shared runtime and this model directory, install the runtime, and pass the local model directory to the loader. Pin the runtime download and model loader to the same Hugging Face commit for reproducibility.
Input and runtime
- Output:
[x, y]in original screenshot pixels, with half-pixel centers. - Image policy: pad to stride 32 without resizing; exclude padding from pixel selection. Inputs beyond the context budget fail rather than silently downsample.
- Attention: bidirectional masks in existing full-attention layers; native linear-attention computation; no autoregressive KV cache.
- Reference software: Python 3.12, PyTorch 2.11.0, Transformers 5.6.2, Triton 3.7.0, FLA 0.4.2 and causal-conv1d 1.7.0.
- Weights: approximately 10.3 GB across 3 safetensors shards, with a 5 GB target shard size and the original BF16/FP32 partition. Activations require additional resolution-dependent memory. Do not cast the whole model to BF16/FP16.
- CUDA is required for the released mixed-precision weights.
kernel_backend="torch"is an explicit diagnostic alternative, not the reported native-kernel latency configuration.
Evaluation
| Benchmark | Correct / targets | Accuracy (%) |
|---|---|---|
| screenspot | 1149 / 1272 | 90.33 |
| screenspot-v2 | 1181 / 1272 | 92.85 |
| screenspot-pro | 1077 / 1581 | 68.12 |
| osworld-g | 363 / 510 | 71.18 |
| Equal-weight mean | — | 80.62 |
Scores use complete benchmark sets and original-image point-in-box correctness. evaluation.json retains the hit counts and unrounded accuracies. Weights come from update 1954; they were not reconstructed from adapters or quantized during packaging.
Training and limitations
The model inherits a 22K Top20+KD student, retains its learned pixel head, and continues on 500K targets. Full-parameter updates include the visual encoder. Spatial KD uses a frozen teacher's observed regions and is gated by teacher click correctness; every target still receives box supervision. The 200K PixelOne branch is separate and is not an intermediate stage of this Pro checkpoint.
This release includes weights, processor assets and inference code. Training, teacher search, data preparation and checkpoint export remain in the GitHub research repository. Upstream training screenshots, sampled target manifests, optimizer states and cached teacher traces are not included. Native-resolution grounding remains limited by context length and available device memory. Applications must validate predicted actions and enforce user permissions before execution.
Verification and release status
The weights were losslessly repacked into fewer files. Every tensor's name, shape, dtype and byte-level SHA256 match the original release, and the source evaluation matches the paper. File hashes and weight indexes were updated for the new shards. Tiny dense/MoE CPU tests compare the inference-only runtime against the previous release, including exact logits, padded batches, checkpoint loading and CLI predictions. CUDA was unavailable in the packaging environment, so full-scale GPU smoke tests and latency were not rerun.
The model repository retains its existing MIT license metadata. Upstream Qwen/VideoJEV licenses and notices are retained in UPSTREAM_LICENSE and UPSTREAM_NOTICE; the shared runtime includes architecture attribution and notices. Repository visibility is controlled by the owner and was not changed during upload.