Image-Text-to-Text
Transformers
Safetensors
qwen3_5
computer-use-agent
gui-agent
reward-model
llm-as-a-judge
reinforcement-learning
conversational
Instructions to use ZJUSCL/SeekJudge-9B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ZJUSCL/SeekJudge-9B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="ZJUSCL/SeekJudge-9B") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("ZJUSCL/SeekJudge-9B") model = AutoModelForMultimodalLM.from_pretrained("ZJUSCL/SeekJudge-9B", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ZJUSCL/SeekJudge-9B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ZJUSCL/SeekJudge-9B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ZJUSCL/SeekJudge-9B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/ZJUSCL/SeekJudge-9B
- SGLang
How to use ZJUSCL/SeekJudge-9B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "ZJUSCL/SeekJudge-9B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ZJUSCL/SeekJudge-9B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "ZJUSCL/SeekJudge-9B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ZJUSCL/SeekJudge-9B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use ZJUSCL/SeekJudge-9B with Docker Model Runner:
docker model run hf.co/ZJUSCL/SeekJudge-9B
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: Qwen/Qwen3.5-9B
|
| 4 |
+
library_name: transformers
|
| 5 |
+
pipeline_tag: image-text-to-text
|
| 6 |
+
tags:
|
| 7 |
+
- computer-use-agent
|
| 8 |
+
- gui-agent
|
| 9 |
+
- reward-model
|
| 10 |
+
- llm-as-a-judge
|
| 11 |
+
- reinforcement-learning
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# SeekJudge-9B
|
| 15 |
+
|
| 16 |
+
SeekJudge-9B is the trained judge model of **SeekJudge**, a reward framework for
|
| 17 |
+
reinforcement learning in computer-use agents. Given a task goal and a recorded
|
| 18 |
+
trajectory (screenshots plus actions), it decides whether the goal was achieved
|
| 19 |
+
and emits per-step quality labels in the `<answer_overall>` / `<answer_step>`
|
| 20 |
+
format.
|
| 21 |
+
|
| 22 |
+
The model is a judge, not an agent. It does not produce GUI actions.
|
| 23 |
+
|
| 24 |
+
## Code and resources
|
| 25 |
+
|
| 26 |
+
| | |
|
| 27 |
+
|---|---|
|
| 28 |
+
| Code | [github.com/ZJUSCL/SeekJudge](https://github.com/ZJUSCL/SeekJudge) |
|
| 29 |
+
| Benchmark | [ZJUSCL/CUAStepBench](https://huggingface.co/datasets/ZJUSCL/CUAStepBench) |
|
| 30 |
+
| Leaderboard | [github.com/ZJUSCL/CUAStepBench](https://github.com/ZJUSCL/CUAStepBench) |
|
| 31 |
+
|
| 32 |
+
The repository README covers serving the model, running it as a batch judge
|
| 33 |
+
over trajectory datasets, and hosting it as an HTTP reward server for online RL
|
| 34 |
+
training. This checkpoint requires `seek.trained: True` in the SeekJudge
|
| 35 |
+
configuration, which selects the parser for the trained output format.
|
| 36 |
+
|
| 37 |
+
## Model size
|
| 38 |
+
|
| 39 |
+
| | |
|
| 40 |
+
|---|---|
|
| 41 |
+
| Total parameters | 9.41 B (9,409.81 M) |
|
| 42 |
+
| Trainable during SFT | 8.95 B (8,953.80 M, 95.15 %) |
|
| 43 |
+
| Frozen | vision encoder and aligner (456 M) |
|
| 44 |
+
| Precision | bfloat16 |
|
| 45 |
+
| Checkpoint on disk | 18.8 GB (17.5 GiB), 4 safetensors shards |
|
| 46 |
+
| Context length | 262,144 (trained at 32,000) |
|
| 47 |
+
|
| 48 |
+
Architecture follows the Qwen3.5 multimodal stack: 32 language layers mixing
|
| 49 |
+
linear attention with full attention every 4th layer, hidden size 4096, 16
|
| 50 |
+
attention heads with 4 KV heads, plus a 27-layer SigLIP-style vision tower
|
| 51 |
+
(hidden size 1152, patch size 16) projecting to 4096.
|
| 52 |
+
|
| 53 |
+
## Training cost
|
| 54 |
+
|
| 55 |
+
| | |
|
| 56 |
+
|---|---|
|
| 57 |
+
| Hardware | 8 x NVIDIA RTX A6000 (48 GB), single node |
|
| 58 |
+
| Wall-clock time | 41.4 h (149,071 s) |
|
| 59 |
+
| GPU-hours | 331 A6000-hours |
|
| 60 |
+
| Throughput | 52.5 s per optimizer step, 0.61 samples/s |
|
| 61 |
+
| Peak memory | 25.4 GiB per GPU |
|
| 62 |
+
|
| 63 |
+
Peak memory stays low because DeepSpeed ZeRO-3 offloads both optimizer states
|
| 64 |
+
and parameters to CPU, which trades memory for the step time above.
|
| 65 |
+
|
| 66 |
+
## Training configuration
|
| 67 |
+
|
| 68 |
+
Full-parameter supervised fine-tuning of the language model on top of
|
| 69 |
+
[Qwen/Qwen3.5-9B](https://huggingface.co/Qwen/Qwen3.5-9B), with the vision
|
| 70 |
+
encoder and the aligner frozen. Run with
|
| 71 |
+
[ms-swift](https://github.com/modelscope/ms-swift) 4.1.0.dev0 on transformers
|
| 72 |
+
5.3.0.
|
| 73 |
+
|
| 74 |
+
| Parameter | Value |
|
| 75 |
+
|---|---|
|
| 76 |
+
| Tuning type | full (`freeze_vit=True`, `freeze_aligner=True`, `freeze_llm=False`) |
|
| 77 |
+
| Epochs | 2 |
|
| 78 |
+
| Optimizer steps | 2,840 (1,420 per epoch) |
|
| 79 |
+
| Global batch size | 32 sequences (1 per device x 4 accumulation x 8 GPUs) |
|
| 80 |
+
| Learning rate | 1e-5, cosine schedule, warmup ratio 0.05 |
|
| 81 |
+
| Optimizer | `adamw_torch_fused`, betas (0.9, 0.95), weight decay 0.01 |
|
| 82 |
+
| Gradient clipping | 1.0 |
|
| 83 |
+
| Max sequence length | 32,000 |
|
| 84 |
+
| Precision | bfloat16 |
|
| 85 |
+
| Attention | FlashAttention |
|
| 86 |
+
| Memory | DeepSpeed ZeRO-3, CPU offload of optimizer and parameters, gradient checkpointing |
|
| 87 |
+
| Packing / padding-free | off |
|
| 88 |
+
| Template | `qwen3_5`, non-thinking prefix enabled |
|
| 89 |
+
| Seed | 42 |
|
| 90 |
+
|
| 91 |
+
### Data volume
|
| 92 |
+
|
| 93 |
+
| | |
|
| 94 |
+
|---|---|
|
| 95 |
+
| Samples | 45,416 |
|
| 96 |
+
| Tokens per sample | 3,335 mean, 2,971 std, 597 min, 31,769 max |
|
| 97 |
+
| Tokens per epoch | approximately 151 M |
|
| 98 |
+
| Tokens seen | approximately 303 M over 2 epochs |
|
| 99 |
+
|
| 100 |
+
The mixture combines trajectory-level judging targets, per-step analysis
|
| 101 |
+
targets, and tool-query targets, so that one model serves every stage of the
|
| 102 |
+
SeekJudge pipeline.
|
| 103 |
+
|
| 104 |
+
### Final training metrics
|
| 105 |
+
|
| 106 |
+
Training loss 0.246 and token accuracy 0.918 at step 2,840; mean loss over the
|
| 107 |
+
whole run 0.380.
|
| 108 |
+
|
| 109 |
+
## License
|
| 110 |
+
|
| 111 |
+
Apache-2.0, inherited from the Qwen3.5-9B base model. The SeekJudge codebase is
|
| 112 |
+
MIT-licensed.
|