Correct PixelOne repository links and connect the data release
Browse files- PixelOne-Pro-35B-A3B/README.md +6 -6
- PixelOne-Pro-4B/README.md +6 -6
- README.md +9 -9
- runtime/README.md +5 -5
- runtime/pyproject.toml +1 -1
- runtime_manifest.json +2 -2
PixelOne-Pro-35B-A3B/README.md
CHANGED
|
@@ -16,16 +16,16 @@ PixelOne-Pro-35B-A3B predicts an original-image click from a screenshot and an i
|
|
| 16 |
|
| 17 |
## Use
|
| 18 |
|
| 19 |
-
This model is stored in the `PixelOne-Pro-35B-A3B` subfolder of [KangHui2200/
|
| 20 |
|
| 21 |
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.
|
| 22 |
|
| 23 |
```bash
|
| 24 |
python -m pip install -U huggingface_hub
|
| 25 |
-
hf download KangHui2200/
|
| 26 |
-
python -m pip install ./
|
| 27 |
python -m pip install flash-linear-attention==0.4.2 causal-conv1d==1.7.0 --no-build-isolation
|
| 28 |
-
pixelone infer --model KangHui2200/
|
| 29 |
--image screenshot.png --instruction "Click the search button" --device cuda:0
|
| 30 |
```
|
| 31 |
|
|
@@ -34,7 +34,7 @@ from PIL import Image
|
|
| 34 |
from pixelone import PixelOnePredictor
|
| 35 |
|
| 36 |
predictor = PixelOnePredictor.from_pretrained(
|
| 37 |
-
"KangHui2200/
|
| 38 |
)
|
| 39 |
with Image.open("screenshot.png") as screenshot:
|
| 40 |
result = predictor.predict(screenshot, "Click the search button")
|
|
@@ -68,7 +68,7 @@ Scores use complete benchmark sets and original-image point-in-box correctness.
|
|
| 68 |
|
| 69 |
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.
|
| 70 |
|
| 71 |
-
This release includes weights, processor assets and inference code. Training, teacher search, data preparation and checkpoint export remain in the [GitHub research repository](https://github.com/tiankanghui/
|
| 72 |
|
| 73 |
## Verification and release status
|
| 74 |
|
|
|
|
| 16 |
|
| 17 |
## Use
|
| 18 |
|
| 19 |
+
This model is stored in the `PixelOne-Pro-35B-A3B` subfolder of [KangHui2200/PixelOne](https://huggingface.co/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.
|
| 20 |
|
| 21 |
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.
|
| 22 |
|
| 23 |
```bash
|
| 24 |
python -m pip install -U huggingface_hub
|
| 25 |
+
hf download KangHui2200/PixelOne --include 'runtime/*' --local-dir ./PixelOne
|
| 26 |
+
python -m pip install ./PixelOne/runtime
|
| 27 |
python -m pip install flash-linear-attention==0.4.2 causal-conv1d==1.7.0 --no-build-isolation
|
| 28 |
+
pixelone infer --model KangHui2200/PixelOne --subfolder PixelOne-Pro-35B-A3B \
|
| 29 |
--image screenshot.png --instruction "Click the search button" --device cuda:0
|
| 30 |
```
|
| 31 |
|
|
|
|
| 34 |
from pixelone import PixelOnePredictor
|
| 35 |
|
| 36 |
predictor = PixelOnePredictor.from_pretrained(
|
| 37 |
+
"KangHui2200/PixelOne", subfolder="PixelOne-Pro-35B-A3B", device="cuda:0",
|
| 38 |
)
|
| 39 |
with Image.open("screenshot.png") as screenshot:
|
| 40 |
result = predictor.predict(screenshot, "Click the search button")
|
|
|
|
| 68 |
|
| 69 |
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.
|
| 70 |
|
| 71 |
+
This release includes weights, processor assets and inference code. Training, teacher search, data preparation and checkpoint export remain in the [GitHub research repository](https://github.com/tiankanghui/PixelOne). 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.
|
| 72 |
|
| 73 |
## Verification and release status
|
| 74 |
|
PixelOne-Pro-4B/README.md
CHANGED
|
@@ -16,16 +16,16 @@ PixelOne-Pro-4B predicts an original-image click from a screenshot and an instru
|
|
| 16 |
|
| 17 |
## Use
|
| 18 |
|
| 19 |
-
This model is stored in the `PixelOne-Pro-4B` subfolder of [KangHui2200/
|
| 20 |
|
| 21 |
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.
|
| 22 |
|
| 23 |
```bash
|
| 24 |
python -m pip install -U huggingface_hub
|
| 25 |
-
hf download KangHui2200/
|
| 26 |
-
python -m pip install ./
|
| 27 |
python -m pip install flash-linear-attention==0.4.2 causal-conv1d==1.7.0 --no-build-isolation
|
| 28 |
-
pixelone infer --model KangHui2200/
|
| 29 |
--image screenshot.png --instruction "Click the search button" --device cuda:0
|
| 30 |
```
|
| 31 |
|
|
@@ -34,7 +34,7 @@ from PIL import Image
|
|
| 34 |
from pixelone import PixelOnePredictor
|
| 35 |
|
| 36 |
predictor = PixelOnePredictor.from_pretrained(
|
| 37 |
-
"KangHui2200/
|
| 38 |
)
|
| 39 |
with Image.open("screenshot.png") as screenshot:
|
| 40 |
result = predictor.predict(screenshot, "Click the search button")
|
|
@@ -68,7 +68,7 @@ Scores use complete benchmark sets and original-image point-in-box correctness.
|
|
| 68 |
|
| 69 |
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.
|
| 70 |
|
| 71 |
-
This release includes weights, processor assets and inference code. Training, teacher search, data preparation and checkpoint export remain in the [GitHub research repository](https://github.com/tiankanghui/
|
| 72 |
|
| 73 |
## Verification and release status
|
| 74 |
|
|
|
|
| 16 |
|
| 17 |
## Use
|
| 18 |
|
| 19 |
+
This model is stored in the `PixelOne-Pro-4B` subfolder of [KangHui2200/PixelOne](https://huggingface.co/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.
|
| 20 |
|
| 21 |
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.
|
| 22 |
|
| 23 |
```bash
|
| 24 |
python -m pip install -U huggingface_hub
|
| 25 |
+
hf download KangHui2200/PixelOne --include 'runtime/*' --local-dir ./PixelOne
|
| 26 |
+
python -m pip install ./PixelOne/runtime
|
| 27 |
python -m pip install flash-linear-attention==0.4.2 causal-conv1d==1.7.0 --no-build-isolation
|
| 28 |
+
pixelone infer --model KangHui2200/PixelOne --subfolder PixelOne-Pro-4B \
|
| 29 |
--image screenshot.png --instruction "Click the search button" --device cuda:0
|
| 30 |
```
|
| 31 |
|
|
|
|
| 34 |
from pixelone import PixelOnePredictor
|
| 35 |
|
| 36 |
predictor = PixelOnePredictor.from_pretrained(
|
| 37 |
+
"KangHui2200/PixelOne", subfolder="PixelOne-Pro-4B", device="cuda:0",
|
| 38 |
)
|
| 39 |
with Image.open("screenshot.png") as screenshot:
|
| 40 |
result = predictor.predict(screenshot, "Click the search button")
|
|
|
|
| 68 |
|
| 69 |
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.
|
| 70 |
|
| 71 |
+
This release includes weights, processor assets and inference code. Training, teacher search, data preparation and checkpoint export remain in the [GitHub research repository](https://github.com/tiankanghui/PixelOne). 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.
|
| 72 |
|
| 73 |
## Verification and release status
|
| 74 |
|
README.md
CHANGED
|
@@ -24,8 +24,8 @@ This repository contains **two complete checkpoints and one shared inference-onl
|
|
| 24 |
|
| 25 |
| Model | Mean accuracy | Mean latency | Weight size | Shards |
|
| 26 |
| --- | ---: | ---: | ---: | ---: |
|
| 27 |
-
| [PixelOne-Pro-4B](https://huggingface.co/KangHui2200/
|
| 28 |
-
| [PixelOne-Pro-35B-A3B](https://huggingface.co/KangHui2200/
|
| 29 |
|
| 30 |
Accuracy and latency average four benchmarks equally. Latency is from the paper's H200 measurements at batch size 1. The figure's inset bars use a truncated 50–80% accuracy scale. GPU memory must also accommodate resolution-dependent activations; weight size is not total memory usage.
|
| 31 |
|
|
@@ -37,9 +37,9 @@ Download and install the shared runtime once for either model:
|
|
| 37 |
|
| 38 |
```bash
|
| 39 |
python -m pip install -U huggingface_hub
|
| 40 |
-
hf download KangHui2200/
|
| 41 |
-
--include 'runtime/*' --local-dir ./
|
| 42 |
-
python -m pip install ./
|
| 43 |
python -m pip install flash-linear-attention==0.4.2 causal-conv1d==1.7.0 --no-build-isolation
|
| 44 |
```
|
| 45 |
|
|
@@ -47,7 +47,7 @@ Then predict a click. The loader downloads only the chosen model's manifest and
|
|
| 47 |
|
| 48 |
```bash
|
| 49 |
pixelone infer \
|
| 50 |
-
--model KangHui2200/
|
| 51 |
--subfolder PixelOne-Pro-4B \
|
| 52 |
--image screenshot.png \
|
| 53 |
--instruction "Click the search button" \
|
|
@@ -61,7 +61,7 @@ from PIL import Image
|
|
| 61 |
from pixelone import PixelOnePredictor
|
| 62 |
|
| 63 |
predictor = PixelOnePredictor.from_pretrained(
|
| 64 |
-
"KangHui2200/
|
| 65 |
subfolder="PixelOne-Pro-4B",
|
| 66 |
device="cuda:0",
|
| 67 |
)
|
|
@@ -76,7 +76,7 @@ The output is `[x, y]` in original screenshot pixels. Pin both `hf download --re
|
|
| 76 |
|
| 77 |
Each model directory contains full safetensors weights, the trained decision/pixel heads, tokenizer and processor assets, `pixelone.json`, a weight index and evaluation counts. The root `runtime/` contains only the prediction API, `pixelone infer` CLI and required model implementation. No separate base-model weights, LoRA adapter or search teacher are required at inference.
|
| 78 |
|
| 79 |
-
Training, teacher search, dataset preparation and checkpoint export are maintained in the [GitHub research repository](https://github.com/tiankanghui/
|
| 80 |
|
| 81 |
Use `PixelOnePredictor`, **not** `AutoModelForCausalLM.generate`. The root is a collection, and each package uses a custom direct readout. Retain the loader's BF16/FP32 partition; do not cast the entire model to FP16 or BF16. Only existing full-attention layers use bidirectional masks, while linear-attention layers retain their native computation and KV caching remains disabled.
|
| 82 |
|
|
@@ -97,6 +97,6 @@ The previous shard files were permanently retired from Hub history. Older pinned
|
|
| 97 |
|
| 98 |
The repository retains its existing **MIT** license metadata. Upstream VideoJEV/Qwen licenses and notices remain included in each model directory as `UPSTREAM_LICENSE` and `UPSTREAM_NOTICE`; the runtime retains architecture attribution in `runtime/THIRD_PARTY_NOTICES.md` and `runtime/third_party/`. See the individual model cards for details.
|
| 99 |
|
| 100 |
-
[Research code](https://github.com/tiankanghui/
|
| 101 |
|
| 102 |
PixelOne predicts coordinates only. Applications should validate actions and enforce user permissions before executing clicks.
|
|
|
|
| 24 |
|
| 25 |
| Model | Mean accuracy | Mean latency | Weight size | Shards |
|
| 26 |
| --- | ---: | ---: | ---: | ---: |
|
| 27 |
+
| [PixelOne-Pro-4B](https://huggingface.co/KangHui2200/PixelOne/tree/main/PixelOne-Pro-4B) | 80.62% | 0.323 s | 10.3 GB | 3 |
|
| 28 |
+
| [PixelOne-Pro-35B-A3B](https://huggingface.co/KangHui2200/PixelOne/tree/main/PixelOne-Pro-35B-A3B) | 83.77% | 0.431 s | 68.7 GB | 16 |
|
| 29 |
|
| 30 |
Accuracy and latency average four benchmarks equally. Latency is from the paper's H200 measurements at batch size 1. The figure's inset bars use a truncated 50–80% accuracy scale. GPU memory must also accommodate resolution-dependent activations; weight size is not total memory usage.
|
| 31 |
|
|
|
|
| 37 |
|
| 38 |
```bash
|
| 39 |
python -m pip install -U huggingface_hub
|
| 40 |
+
hf download KangHui2200/PixelOne \
|
| 41 |
+
--include 'runtime/*' --local-dir ./PixelOne
|
| 42 |
+
python -m pip install ./PixelOne/runtime
|
| 43 |
python -m pip install flash-linear-attention==0.4.2 causal-conv1d==1.7.0 --no-build-isolation
|
| 44 |
```
|
| 45 |
|
|
|
|
| 47 |
|
| 48 |
```bash
|
| 49 |
pixelone infer \
|
| 50 |
+
--model KangHui2200/PixelOne \
|
| 51 |
--subfolder PixelOne-Pro-4B \
|
| 52 |
--image screenshot.png \
|
| 53 |
--instruction "Click the search button" \
|
|
|
|
| 61 |
from pixelone import PixelOnePredictor
|
| 62 |
|
| 63 |
predictor = PixelOnePredictor.from_pretrained(
|
| 64 |
+
"KangHui2200/PixelOne",
|
| 65 |
subfolder="PixelOne-Pro-4B",
|
| 66 |
device="cuda:0",
|
| 67 |
)
|
|
|
|
| 76 |
|
| 77 |
Each model directory contains full safetensors weights, the trained decision/pixel heads, tokenizer and processor assets, `pixelone.json`, a weight index and evaluation counts. The root `runtime/` contains only the prediction API, `pixelone infer` CLI and required model implementation. No separate base-model weights, LoRA adapter or search teacher are required at inference.
|
| 78 |
|
| 79 |
+
Training, teacher search, dataset preparation and checkpoint export are maintained in the [GitHub research repository](https://github.com/tiankanghui/PixelOne). They are not duplicated here. Optimizer states, training screenshots, teacher caches and credentials are not included. The inference-only runtime and full research package share a package name; install only one in a dedicated environment.
|
| 80 |
|
| 81 |
Use `PixelOnePredictor`, **not** `AutoModelForCausalLM.generate`. The root is a collection, and each package uses a custom direct readout. Retain the loader's BF16/FP32 partition; do not cast the entire model to FP16 or BF16. Only existing full-attention layers use bidirectional masks, while linear-attention layers retain their native computation and KV caching remains disabled.
|
| 82 |
|
|
|
|
| 97 |
|
| 98 |
The repository retains its existing **MIT** license metadata. Upstream VideoJEV/Qwen licenses and notices remain included in each model directory as `UPSTREAM_LICENSE` and `UPSTREAM_NOTICE`; the runtime retains architecture attribution in `runtime/THIRD_PARTY_NOTICES.md` and `runtime/third_party/`. See the individual model cards for details.
|
| 99 |
|
| 100 |
+
[Research code](https://github.com/tiankanghui/PixelOne) · [Paper PDF](https://github.com/tiankanghui/PixelOne/blob/main/docs/PixelOne.pdf) · [Training data](https://huggingface.co/datasets/KangHui2200/PixelOne-Data)
|
| 101 |
|
| 102 |
PixelOne predicts coordinates only. Applications should validate actions and enforce user permissions before executing clicks.
|
runtime/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
# PixelOne inference runtime
|
| 2 |
|
| 3 |
-
One inference-only package supports both **PixelOne-Pro-4B** and **PixelOne-Pro-35B-A3B**. Training, teacher search, dataset preparation and checkpoint export live in the [GitHub research repository](https://github.com/tiankanghui/
|
| 4 |
|
| 5 |
## Install
|
| 6 |
|
|
@@ -8,8 +8,8 @@ Use Python 3.12 with CUDA-enabled PyTorch 2.11. The released mixed-precision wei
|
|
| 8 |
|
| 9 |
```bash
|
| 10 |
python -m pip install -U huggingface_hub
|
| 11 |
-
hf download KangHui2200/
|
| 12 |
-
python -m pip install ./
|
| 13 |
python -m pip install flash-linear-attention==0.4.2 causal-conv1d==1.7.0 --no-build-isolation
|
| 14 |
```
|
| 15 |
|
|
@@ -18,7 +18,7 @@ The inference-only distribution and the full GitHub package use the same `pixelo
|
|
| 18 |
## Predict
|
| 19 |
|
| 20 |
```bash
|
| 21 |
-
pixelone infer --model KangHui2200/
|
| 22 |
--image screenshot.png --instruction "Click the search button" --device cuda:0
|
| 23 |
```
|
| 24 |
|
|
@@ -27,7 +27,7 @@ from PIL import Image
|
|
| 27 |
from pixelone import PixelOnePredictor
|
| 28 |
|
| 29 |
predictor = PixelOnePredictor.from_pretrained(
|
| 30 |
-
"KangHui2200/
|
| 31 |
)
|
| 32 |
with Image.open("screenshot.png") as screenshot:
|
| 33 |
result = predictor.predict(screenshot, "Click the search button")
|
|
|
|
| 1 |
# PixelOne inference runtime
|
| 2 |
|
| 3 |
+
One inference-only package supports both **PixelOne-Pro-4B** and **PixelOne-Pro-35B-A3B**. Training, teacher search, dataset preparation and checkpoint export live in the [GitHub research repository](https://github.com/tiankanghui/PixelOne), not in this runtime.
|
| 4 |
|
| 5 |
## Install
|
| 6 |
|
|
|
|
| 8 |
|
| 9 |
```bash
|
| 10 |
python -m pip install -U huggingface_hub
|
| 11 |
+
hf download KangHui2200/PixelOne --include 'runtime/*' --local-dir ./PixelOne
|
| 12 |
+
python -m pip install ./PixelOne/runtime
|
| 13 |
python -m pip install flash-linear-attention==0.4.2 causal-conv1d==1.7.0 --no-build-isolation
|
| 14 |
```
|
| 15 |
|
|
|
|
| 18 |
## Predict
|
| 19 |
|
| 20 |
```bash
|
| 21 |
+
pixelone infer --model KangHui2200/PixelOne --subfolder PixelOne-Pro-4B \
|
| 22 |
--image screenshot.png --instruction "Click the search button" --device cuda:0
|
| 23 |
```
|
| 24 |
|
|
|
|
| 27 |
from pixelone import PixelOnePredictor
|
| 28 |
|
| 29 |
predictor = PixelOnePredictor.from_pretrained(
|
| 30 |
+
"KangHui2200/PixelOne", subfolder="PixelOne-Pro-4B", device="cuda:0",
|
| 31 |
)
|
| 32 |
with Image.open("screenshot.png") as screenshot:
|
| 33 |
result = predictor.predict(screenshot, "Click the search button")
|
runtime/pyproject.toml
CHANGED
|
@@ -21,7 +21,7 @@ native = ["flash-linear-attention==0.4.2", "causal-conv1d==1.7.0"]
|
|
| 21 |
pixelone = "pixelone.cli:main"
|
| 22 |
|
| 23 |
[project.urls]
|
| 24 |
-
Repository = "https://github.com/tiankanghui/
|
| 25 |
|
| 26 |
[tool.setuptools.packages.find]
|
| 27 |
where = ["src"]
|
|
|
|
| 21 |
pixelone = "pixelone.cli:main"
|
| 22 |
|
| 23 |
[project.urls]
|
| 24 |
+
Repository = "https://github.com/tiankanghui/PixelOne"
|
| 25 |
|
| 26 |
[tool.setuptools.packages.find]
|
| 27 |
where = ["src"]
|
runtime_manifest.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
-
"README.md": "
|
| 3 |
"THIRD_PARTY_NOTICES.md": "f19c26a79949f729ecb81773520f87eea1d3c37b3e2200f8d6c502502d330870",
|
| 4 |
-
"pyproject.toml": "
|
| 5 |
"src/pixelone/__init__.py": "fbd113aba5dd529bb7a4dfa5b0a8f53756539a33e24246b84ca216c0a355e829",
|
| 6 |
"src/pixelone/attention.py": "f997d784887a2f850cf7c3dfaf431859b3974edf98c17ff62999e2f13c7ded0e",
|
| 7 |
"src/pixelone/batching.py": "8b642656b02c94c6c708637cf0034258d8cab4bc84978e1eafadc8fd3765be0f",
|
|
|
|
| 1 |
{
|
| 2 |
+
"README.md": "b681ecf4411f838ab89751b94e23df4718a5fdd83dbf7839c785c4b50514a58e",
|
| 3 |
"THIRD_PARTY_NOTICES.md": "f19c26a79949f729ecb81773520f87eea1d3c37b3e2200f8d6c502502d330870",
|
| 4 |
+
"pyproject.toml": "fc5463882a5b26132a1a2521ef4fcb57d480427e197e30c0de516414d6f4ef5f",
|
| 5 |
"src/pixelone/__init__.py": "fbd113aba5dd529bb7a4dfa5b0a8f53756539a33e24246b84ca216c0a355e829",
|
| 6 |
"src/pixelone/attention.py": "f997d784887a2f850cf7c3dfaf431859b3974edf98c17ff62999e2f13c7ded0e",
|
| 7 |
"src/pixelone/batching.py": "8b642656b02c94c6c708637cf0034258d8cab4bc84978e1eafadc8fd3765be0f",
|