Instructions to use nullptr04/NightWatch-0.8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nullptr04/NightWatch-0.8B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="nullptr04/NightWatch-0.8B", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModel processor = AutoProcessor.from_pretrained("nullptr04/NightWatch-0.8B", trust_remote_code=True) model = AutoModel.from_pretrained("nullptr04/NightWatch-0.8B", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle

NightWatch-0.8B
NightWatch-0.8B is the watcher of NightWatch (Don't Sleep, Keep Watch: Proactive Perception for Computer-Use Agents). It watches the screen of a computer-use agent as a stream and answers a fixed bank of generic questions about the interface, for example whether a dialog has appeared, whether the screen is still loading, or whether the target of a pending click is still there. It returns a probability for every answer from one encoding, without generating text. Fixed rules in the NightWatch harness turn these probabilities into three interventions on an unmodified agent: interrupt its reasoning, void a stale action, and wake it as soon as the screen has settled.
| Base model | vllm-sr/d3-lite (Decision 3.0, 0.85B, built on Qwen3.5-0.8B) |
| Fine-tuning | LoRA (rank 16) on the language model, readout trained in full, vision tower frozen; temperature refit on validation |
| Training data | nullptr04/NightWatch-Data |
| Inputs | A text description of the agent's state and action, plus up to four screenshots and crops |
| License | Apache-2.0 (as the base model) |
Training data
The watcher is trained only on generated tasks and synthetic interfaces, never on benchmark tasks, files, or trajectories:
- Desktop: 360 tasks generated for the ten OSWorld applications, each starting from a freshly launched app with no benchmark files. They share no task ids with OSWorld, and no instruction is close to an OSWorld instruction (difflib ratio below 0.6). Only the OSWorld virtual machine is used as an environment. A larger decision model provides teacher labels, and gold labels come from the recorded frame stream.
- Settledness: hindsight labels from the same desktop recordings. A screen is labelled settled when it does not change again within one second.
- SynthWeb: procedurally generated web pages with exact ground truth for dialogs, toasts, errors, loading, layout shifts, delayed enabling and ambient motion.
Usage
With the NightWatch harness (recommended): set NIGHTWATCH_MODEL_REPO=nullptr04/NightWatch-0.8B, then
MODELS=nightwatch bash scripts/setup_env.sh models # downloads this repo to data/models/NightWatch-0.8B
bash scripts/serve_watcher.sh # the four watcher servers used by `nightwatch_full`
Directly, with the Decision 3.0 runtime shipped in this repo:
from transformers import AutoModel
model = AutoModel.from_pretrained("nullptr04/NightWatch-0.8B", trust_remote_code=True)
result = model.system_one(
state="A computer-use agent is operating a desktop. Image 1 is the screen it acted on; image 2 is the current screen.",
questions={"dialog": {"type": "noul",
"instructions": "Compared with image 1, does image 2 show a new pop-up window or dialog box?"}},
images=["before.png", "now.png"],
)
print(result["answers"])
Validation
Held-out split of the training data (not a benchmark), after the final fine-tuning stage:
| Question | n | AUROC | Brier |
|---|---|---|---|
| settled | 400 | 0.917 | 0.038 |
| dialog | 400 | 0.990 | 0.023 |
| target_present | 115 | 0.994 | 0.021 |
| target_changed | 115 | 0.995 | 0.013 |
training/ holds the full validation metrics and the training log.
License
Apache-2.0. Built on vllm-sr/d3-lite and Qwen/Qwen3.5-0.8B (both Apache-2.0); see NOTICE.
- Downloads last month
- 9