image imagewidth (px) 600 4.58k | label class label 16
classes |
|---|---|
0architecture | |
0architecture | |
0architecture | |
0architecture | |
0architecture | |
1city | |
1city | |
1city | |
2classroom | |
2classroom | |
2classroom | |
3education | |
3education | |
3education | |
3education | |
3education | |
4energy | |
4energy | |
4energy | |
4energy | |
5event | |
5event | |
5event | |
6food | |
6food | |
6food | |
6food | |
7industrial | |
7industrial | |
7industrial | |
8landscape | |
8landscape | |
8landscape | |
8landscape | |
9medical | |
9medical | |
10nature | |
10nature | |
11office | |
11office | |
11office | |
12portrait | |
12portrait | |
12portrait | |
12portrait | |
13product | |
13product | |
13product | |
14space | |
14space | |
14space | |
14space | |
14space | |
14space | |
14space | |
14space | |
15wildlife | |
15wildlife | |
15wildlife | |
15wildlife |
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
assets/synth/ — real-content asset bundle for synth tasks
Real images / audio / video / document templates that synth task pre_config_steps materialize into the container. Hosted on HuggingFace and downloaded at install time (see Lifecycle below); referenced from train.synth.jsonl by stable relative path.
Sibling directories under assets/ may be added later for other bundles (e.g., assets/eval-reuse/ for OSWorld eval-asset copies, assets/shared/ for cross-bundle resources). Each bundle owns its own README.md + MANIFEST.csv.
Lifecycle
The bundle is hosted on HuggingFace — dataset cua-lite/lite.osworld-assets — and is no longer committed to git (only this README.md, MANIFEST.csv, and download.sh remain in-repo).
- Runtime / codegen:
install.shdownloads the bundle (at a pinned revision) into<env>/.cache/assets/synth/. Both the runtime staging path (src/utils/dispatch.py) and the codegen path (src/gen/train/synth/) resolve it throughasset_root()(src/utils/assets.py), which prefers the.cache/download and falls back to an in-repodata/assets/synth/copy if one is present (dev). The host pushes files into the container directly (host_push) — nofile:///HTTP fetch at task time. - Publishing a new/updated bundle: rebuild locally from source URLs with
download.sh(writes into this dir), then upload to the HF dataset and bumpASSETS_REVinscripts/install.shto the new revision.
The path layout below (photos/…, html/…, …) is stable and identical in the HF repo and the local cache.
Layout
assets/synth/
├── README.md (this file)
├── MANIFEST.csv (every asset listed: path / license / source / intended use)
├── photos/
│ ├── landscape/ outdoor scenery, mountains, beaches
│ ├── portrait/ single-subject people photos
│ ├── architecture/ buildings, floor plans
│ ├── food/ dishes, ingredients
│ ├── product/ consumer products on neutral bg
│ └── nature/ flora, fauna, wildlife
├── graphics/
│ ├── logo/ small brand-style marks (transparent PNG)
│ ├── diagram/ flowcharts, architecture diagrams
│ ├── chart/ pre-rendered bar/line/pie chart images
│ └── icon/ small UI icons
├── scans/
│ ├── document/ scanned letters, contracts, articles
│ ├── receipt/ scanned receipts (vendor / amount visible)
│ └── form/ scanned blank forms
├── video/
│ ├── solid_color/ ffmpeg-buildable; in-repo redundant — put only special cases
│ ├── nature/ short real video clips ≤30s
│ └── interview/ talking-head clips ≤30s
├── audio/
│ ├── voice/ real spoken-word clips ≤30s
│ ├── music/ short music clips ≤30s
│ └── sine/ ffmpeg-buildable test tones (in-repo if used as fixture)
├── html/ mock-website source HTML
│ ├── form/ mock forms (booking / search / etc.)
│ ├── article/ mock article pages (recipe / news / etc.)
│ └── dashboard/ mock dashboard HTML w/ widgets
└── docs/ pre-built docx/pptx/xlsx templates (rare; mostly programmatic)
├── template_invoice/
├── template_resume/
└── template_letter/
Naming convention
Filename describes WHAT THE FILE SHOWS, not the upstream catalog ID. A NASA URL like https://images-assets.nasa.gov/image/S69-31739/S69-31739~orig.jpg should NOT become s69_31739.jpg in this repo — that name is opaque to anyone who doesn't know NASA's catalog. Instead use astronaut-apollo11-crew.jpg (because the photo shows Armstrong, Collins, Aldrin).
Rules:
- kebab-case lowercase —
earth-blue-marble-apollo17.jpg, notEarthBlueMarble_AS17.jpg - Content-descriptive — say what the image / video / icon depicts. The reader should know what they'll see without opening the file.
- Drop redundant type-prefix when subdir already implies it:
graphics/icon/folder.svg✓ (notfolder-icon.svg—icon/already says it's an icon)graphics/logo/abstract.svg✓ (notabstract-logo-1.svg—logo/already says it's a logo)
- Disambiguation:
- Use historical year only when needed to disambiguate (
apollo11vsapollo17Earth photos) - Use numeric suffix
-01,-02only for true series of same-genre images (floor-plan-studio-01.png,floor-plan-studio-02.png)
- Use historical year only when needed to disambiguate (
- 4-6 words max — long names get truncated in plan-table cells
- NEVER use catalog IDs like
pia00342,s69_31739,as17-148-22727as the primary name. They go in the MANIFESTsource_urlcolumn for reproducibility, not in the filename.
Examples — good vs bad:
| Bad (catalog ID) | Good (content-descriptive) |
|---|---|
s69_31739.jpg |
astronaut-apollo11-crew.jpg |
pia17944.jpg |
mars-curiosity-panorama.jpg |
as17-blue-marble.jpg |
earth-blue-marble-apollo17.jpg |
pia02570.jpg |
europa-ice-surface.jpg |
circle-logo-1.svg |
circle.svg (in graphics/logo/) |
folder-icon.svg |
folder.svg (in graphics/icon/) |
Stable names survive HF migration — the in-repo path layout is preserved, only the URL prefix changes (per Lifecycle section above).
MANIFEST.csv format
One row per asset. Columns:
| asset_path | license | source | intended_use |
|---|---|---|---|
photos/architecture/floor-plan-studio-01.png |
CC0 | freefloorplans.net | impress real-estate property tour template |
photos/food/pasta-01.jpg |
Unsplash Lite | unsplash.com/photo/abc123 | impress recipe deck (slide 2 image) |
License values:
CC0— public domain dedication, no attribution requiredCC-BY-4.0— attribution required (note inintended_use)unsplash— Unsplash License (free for commercial + noncommercial)AI-gen— generated via Stable Diffusion / DALL-E (own copyright)OSWorld-eval— copied from OSWorld eval assets; verify license per file
Files MUST have a manifest entry; un-manifested files will be flagged in V1 and removed.
How to source new assets
Priority order:
- Public-domain (CC0) — Wikimedia Commons (verify per-image; many are CC-BY rather than CC0), Unsplash, OpenClipArt, FreeFloorPlans, NASA Image Library, government open-data portals. Always preferred when truly CC0.
- CC-BY-4.0 / Unsplash License — fine for our use; record attribution in MANIFEST
sourcecolumn. - AI-generated — for scarce categories (specific floor-plan styles, specific diagram shapes), use SD/DALL-E. Save the prompt in MANIFEST.csv
sourcecolumn for reproducibility. - HARD RULE: NEVER reuse OSWorld eval source files — even if license allows, copying an image from
/tmp/eval_dl/<domain>/into train would create train/eval contamination (model sees the eval image during training, evaluation no longer measures generalization). Always source train assets independently from eval. - NEVER hotlink live external URLs (cars.com images, current Wikipedia images, etc.) — F10 instability.
Train/eval-contamination check (V1): any asset added to assets/synth/ MUST be hash-compared against every file in /tmp/eval_dl/ (when present). Identical sha256 = contamination = V1 failure.
Adding a new asset (workflow)
- Place file under appropriate
<category>/<subgenre>/with kebab-case name (in a local checkout of the bundle / this dir). - Append a row to
MANIFEST.csv. - In the synth
{domain}.mdplan-table row, cite the path:[mech: hf]+path: assets/synth/photos/architecture/floor-plan-studio-01.png. - In synth Python, stage it with
_stage_asset("photos/.../file.png", dst)— the rel path is resolved againstasset_root(); do NOT hardcode afile:///repo path. - Publish: upload the updated bundle to
cua-lite/lite.osworld-assetsand bumpASSETS_REVinscripts/install.sh.
Size budget
Now that the bundle is HF-hosted (not in git), total size is not repo-constrained, but keep it lean so the install download stays fast:
- Per-file caps: photos ≤500KB after compression, video ≤5MB per clip, audio ≤2MB per clip.
- Downloads last month
- -