Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

docs(cua-s1): pin licensed Hugging Face revisions for 0.1, nano, and forms (#4226)

Francesco Bonacci0b88ae17f7c0
diff --git a/libs/cua-s1/MODEL_CARD.md b/libs/cua-s1/MODEL_CARD.md
index 0e9e7f9ad6..78503f8d9b 100644
--- a/libs/cua-s1/MODEL_CARD.md
+++ b/libs/cua-s1/MODEL_CARD.md
@@ -20,10 +20,11 @@ form-oriented user-interface tasks.
**Status:** research profile. The public Hugging Face repository
[`cua-ai/cua-s1-forms`](https://huggingface.co/cua-ai/cua-s1-forms)
-(revision `f54adbf447f4ca6ec259f529ee3f2e3e09f8cc71`, MIT) publishes a
-related `tinyx` form checkpoint with 706,048 parameters. Its safetensors and
-JSON pair loads with `cua_s1.model.load_checkpoint`; its pickle `.pt` copy is
-refused by design (#3977). The results on that repository's card are its
+(revision `4a7a9f42a3d42e6dfbd111c0c843e37ac50f1332`, MIT) publishes a
+related `tinyx` form checkpoint with 706,048 parameters as a safetensors and
+JSON pair that loads with `cua_s1.model.load_checkpoint`. Older revisions
+also ship a pickle `.pt` copy, which `cua_s1` refuses by design (#3977); it
+was removed at the pinned revision. The results on that repository's card are its
own and are not reproduced in this component. No training dataset or
checkpoint artifact manifest is distributed here.
@@ -72,8 +73,9 @@ Evaluation below).
**Status:** research profile. Inference-only Python implementation
(`cua_s1.four_b`). Adapter weights at
[`cua-ai/cua-s1-4b-0.1`](https://huggingface.co/cua-ai/cua-s1-4b-0.1),
-pinned to revision `88d8b8a90c2da4470d005cc23ec8665a6442ebe1`. At that
-revision the repository declares no license and has no model card.
+pinned to revision `3ebffb9868f31a1d54140948cb2434d35f35b281`, which has a
+model card and declares Apache-2.0 for the adapters only; `Qwen/Qwen3.5-4B`
+keeps its own license.
**Decoding contract:** a chat-template prompt asks the model to answer with
a single letter identifying the chosen option; each option letter is a
@@ -108,8 +110,9 @@ decisions, not specific to form-filling.
**Status:** research profile. Source code (`cua_s1.nano`). Weights at
[`cua-ai/cua-s1-nano-0.1`](https://huggingface.co/cua-ai/cua-s1-nano-0.1),
-pinned to revision `1f93fd0fdcbe33740334948f967dff9f6c8e9f34`. At that
-revision the repository declares no license and has no model card.
+pinned to revision `abbd98492307dc20373f79f7141725412df63c42`, which has a
+model card and declares Apache-2.0. The weights are trained from scratch; the
+frozen vision backbone is not redistributed and keeps its own license.
**Model design:** a from-scratch, single-pass option-attention classifier
with approximately 855,000 trainable parameters. Scores every candidate
@@ -219,8 +222,9 @@ section.
**Pinned inputs.** Every result below used `Qwen/Qwen3.5-4B` at
`851bf6e806efd8d0a36b00ddf55e13ccb7b8cd0a`, `cua-s1-4b-0.2` at
`16818868b0cc7813808aae4e87b417657046ab79`, and `cua-s1-4b-0.1` at
-`88d8b8a90c2da4470d005cc23ec8665a6442ebe1`, loaded by `cua_s1.four_b` through
-the jev-use closed-candidate chooser with the `four-b` lock (torch 2.14.0,
+`88d8b8a90c2da4470d005cc23ec8665a6442ebe1` (adapter weights byte-identical to
+the currently pinned `3ebffb9868f31a1d54140948cb2434d35f35b281`), loaded by
+`cua_s1.four_b` through the jev-use closed-candidate chooser with the `four-b` lock (torch 2.14.0,
Transformers 5.17.0, PEFT 0.21.0).
**Local fixture runs (2026-09-25).** One Apple M1 Ultra host with 128 GB of
@@ -334,10 +338,10 @@ See [`SECURITY.md`](SECURITY.md) for threat-model and reporting guidance.
This component does not grant rights to checkpoint weights, external
training data, or unlisted third-party materials. At the pinned revisions,
-the Hugging Face repositories declare these licenses: `cua-s1-4b-0.2`
-Apache-2.0 (adapter only), `cua-s1-forms` MIT, and `Qwen/Qwen3.5-4B`
-Apache-2.0 under Qwen's own terms. `cua-s1-4b-0.1` and `cua-s1-nano-0.1`
-declare no license. A checkpoint release must
+the Hugging Face repositories declare these licenses: `cua-s1-4b-0.2` and
+`cua-s1-4b-0.1` Apache-2.0 (adapters only), `cua-s1-nano-0.1` Apache-2.0,
+`cua-s1-forms` MIT, and `Qwen/Qwen3.5-4B` Apache-2.0 under Qwen's own terms. A
+checkpoint release must
document its exact artifact license, data provenance, and applicable
third-party notices before distribution or use decisions are made. The source
code is MIT-licensed, but an official checkpoint may use separate terms that
diff --git a/libs/cua-s1/README.md b/libs/cua-s1/README.md
index a58bcd312f..68d19611c3 100644
--- a/libs/cua-s1/README.md
+++ b/libs/cua-s1/README.md
@@ -101,16 +101,19 @@ Hugging Face and download without a token.
### Pinned artifacts
Pin every download to the commit SHA below. A branch name such as `main` can
-move; these revisions are the ones the commands and measurements in this
-section were verified against on 2026-09-25.
+move; these revisions are the ones the commands in this section were verified
+against. The `cua-s1-4b-0.1`, `cua-s1-nano-0.1`, and `cua-s1-forms` pins were
+updated on 2026-09-26 to revisions that add model cards and licenses (and, for
+`cua-s1-forms`, remove the pickle checkpoint); their weight files are
+byte-identical to the revisions measured on 2026-09-25.
| Artifact | Hugging Face repository | Revision (commit SHA) | Pairs with | Download size | Declared license |
| ----------------- | ------------------------------------------------------------------------- | ------------------------------------------ | --------------------------------------- | ----------------------------------------- | -------------------------------------------- |
| Base model | [`Qwen/Qwen3.5-4B`](https://huggingface.co/Qwen/Qwen3.5-4B) | `851bf6e806efd8d0a36b00ddf55e13ccb7b8cd0a` | Base for both 4B adapters | 9.34 GB (two safetensors shards, 9.32 GB) | Apache-2.0 (Qwen's model card and `LICENSE`) |
| `cua-s1-4b-0.2` | [`cua-ai/cua-s1-4b-0.2`](https://huggingface.co/cua-ai/cua-s1-4b-0.2) | `16818868b0cc7813808aae4e87b417657046ab79` | `Qwen/Qwen3.5-4B` at the revision above | 187 MB | Apache-2.0 (adapter only) |
-| `cua-s1-4b-0.1` | [`cua-ai/cua-s1-4b-0.1`](https://huggingface.co/cua-ai/cua-s1-4b-0.1) | `88d8b8a90c2da4470d005cc23ec8665a6442ebe1` | `Qwen/Qwen3.5-4B` at the revision above | 272 MB | None declared on Hugging Face |
-| `cua-s1-nano-0.1` | [`cua-ai/cua-s1-nano-0.1`](https://huggingface.co/cua-ai/cua-s1-nano-0.1) | `1f93fd0fdcbe33740334948f967dff9f6c8e9f34` | Standalone (no base model) | 6.9 MB | None declared on Hugging Face |
-| `cua-s1-forms` | [`cua-ai/cua-s1-forms`](https://huggingface.co/cua-ai/cua-s1-forms) | `f54adbf447f4ca6ec259f529ee3f2e3e09f8cc71` | Standalone (no base model) | 2.8 MB (safetensors pair only) | MIT |
+| `cua-s1-4b-0.1` | [`cua-ai/cua-s1-4b-0.1`](https://huggingface.co/cua-ai/cua-s1-4b-0.1) | `3ebffb9868f31a1d54140948cb2434d35f35b281` | `Qwen/Qwen3.5-4B` at the revision above | 272 MB | Apache-2.0 (adapter only) |
+| `cua-s1-nano-0.1` | [`cua-ai/cua-s1-nano-0.1`](https://huggingface.co/cua-ai/cua-s1-nano-0.1) | `abbd98492307dc20373f79f7141725412df63c42` | Standalone (no base model) | 6.9 MB | Apache-2.0 |
+| `cua-s1-forms` | [`cua-ai/cua-s1-forms`](https://huggingface.co/cua-ai/cua-s1-forms) | `4a7a9f42a3d42e6dfbd111c0c843e37ac50f1332` | Standalone (no base model) | 2.8 MB | MIT |
Layouts and loaders:
@@ -127,16 +130,19 @@ Layouts and loaders:
checkpoint also needs a frozen vision backbone from the `nano-vision` extra.
- `cua-s1-forms` contains a `tinyx` checkpoint (`cua-s1-forms.safetensors`
plus `cua-s1-forms.json`, 706,048 parameters). Load it with
- `cua_s1.model.load_checkpoint`. The repository also ships a pickle
- `cua-s1-forms.pt`, which `cua_s1` refuses to load by design (see #3977).
- Exclude it from downloads (`--exclude "*.pt"`) and load only the
- safetensors pair. Unpickling a checkpoint can run arbitrary code, so do not
- open the `.pt` file with `torch.load` or `pickle`.
-- The Apache-2.0 license on `cua-s1-4b-0.2` covers only the adapter. The base
- model is governed by its own license and is downloaded from Qwen's
- repository, not redistributed by Cua. At the pinned revisions,
- `cua-s1-4b-0.1` and `cua-s1-nano-0.1` declare no license and ship no model
- card; no license grant for those weights is documented here.
+ `cua_s1.model.load_checkpoint`. At the pinned revision the repository
+ contains only that pair, a model card, and `.gitattributes`. Older
+ revisions, including `f54adbf447f4ca6ec259f529ee3f2e3e09f8cc71`, also ship
+ a pickle `cua-s1-forms.pt`, which `cua_s1` refuses to load by design (see
+ #3977). If you pin an older revision, pass `--exclude "*.pt"`. Unpickling a
+ checkpoint can run arbitrary code, so never open a `.pt` copy with
+ `torch.load` or `pickle`.
+- The Apache-2.0 licenses on `cua-s1-4b-0.2` and `cua-s1-4b-0.1` cover only
+ the adapters. The base model is governed by its own license and is
+ downloaded from Qwen's repository, not redistributed by Cua.
+ `cua-s1-nano-0.1` is trained from scratch and its weights are Apache-2.0;
+ the frozen vision backbone its multimodal checkpoint downloads at first use
+ is not redistributed and is governed by its own license.
### Hardware
@@ -226,14 +232,13 @@ Download the other checkpoints the same way as needed:
```bash
"$HF" download cua-ai/cua-s1-4b-0.1 \
- --revision 88d8b8a90c2da4470d005cc23ec8665a6442ebe1 \
+ --revision 3ebffb9868f31a1d54140948cb2434d35f35b281 \
--local-dir "$S1_MODELS/cua-s1-4b-0.1"
"$HF" download cua-ai/cua-s1-nano-0.1 \
- --revision 1f93fd0fdcbe33740334948f967dff9f6c8e9f34 \
+ --revision abbd98492307dc20373f79f7141725412df63c42 \
--local-dir "$S1_MODELS/cua-s1-nano-0.1"
"$HF" download cua-ai/cua-s1-forms \
- --revision f54adbf447f4ca6ec259f529ee3f2e3e09f8cc71 \
- --exclude "*.pt" \
+ --revision 4a7a9f42a3d42e6dfbd111c0c843e37ac50f1332 \
--local-dir "$S1_MODELS/cua-s1-forms"
```