NightWatch-Data / README.md
nullptr04's picture
Card: NightWatch banner
776de9b verified
|
Raw History Blame Contribute Delete
2.97 kB
---
license: apache-2.0
task_categories:
- image-classification
- visual-question-answering
tags:
- computer-use
- gui-agent
- decision-model
pretty_name: NightWatch training data
---
<p align="center"><img src="assets/nightwatch-banner.png" width="520" alt="NightWatch"></p>
# NightWatch training data
Training data of [NightWatch-0.8B](https://huggingface.co/nullptr04/NightWatch-0.8B), the watcher of **NightWatch**
(*Don't Sleep, Keep Watch: Proactive Perception for Computer-Use Agents*). Each example is one decision point of a
computer-use agent: a text state (task, checkpoint, pending action), up to four images (screenshots and a crop), the
questions of the NightWatch question bank asked at that checkpoint, and a probability label per answer.
**No benchmark data.** The desktop part comes from 360 tasks generated for this purpose. They share no task ids with
OSWorld, and no instruction has a difflib ratio of 0.6 or more to any OSWorld instruction (the closest is 0.58). Each
task starts from a freshly launched application and uses no OSWorld files, pages, or profiles. Only the OSWorld
virtual machine is used as the environment. The task evaluator is `infeasible`: only the screens the agent passes
through are used, never task success.
## Contents
| Folder | Examples | Source | Labels |
|---|---|---|---|
| `tasks/` | 360 tasks | generated instructions for the ten OSWorld applications (`train_tasks.json` lists them) | – |
| `desktop/` | 16,205 | agent runs on `tasks/`, three checkpoints (during reasoning, before dispatch, after execution) | teacher decision model, gold labels from the frame stream where they are unambiguous |
| `desktop/examples_nosettled.jsonl` | 16,205 | the same examples without the `settled` question | as above |
| `settledness/` | 7,316 | the same desktop recordings | hindsight: settled when the screen does not change again within 1 s |
| `synthweb/` | 50,040 | procedurally generated web pages (dialogs, toasts, errors, loading, layout shifts, delayed enabling, ambient motion) | exact ground truth |
Splits are in the `split` field of every example (`train` / `val`, plus `holdout` / `test` in SynthWeb).
## Training recipe of NightWatch-0.8B
1. From vllm-sr/d3-lite: LoRA SFT on `desktop/` plus up to 15,000 `synthweb/` examples (soft cross-entropy + Brier).
2. Then: LoRA SFT on `settledness/` plus 4,000 examples of `desktop/examples_nosettled.jsonl`; temperature refit on
the validation split.
The training code is in the NightWatch repository (`training/`).
## Layout
Images are packed in tar shards. Extract every shard inside its folder to restore the paths the examples use:
```bash
for d in desktop settledness synthweb; do (cd $d && for t in images-*.tar; do tar xf "$t"; done); done
```
Example fields: `id`, `split`, `task` (desktop), `domain`, `checkpoint`, `state`, `images` (paths relative to the
folder), `questions`, `labels` / `soft` (answer probabilities), `label_source`, `meta`.