areneau commited on
Commit
e8ad11d
·
verified ·
1 Parent(s): 042498e

Update model card and code docstrings

Browse files
Files changed (2) hide show
  1. README.md +6 -6
  2. joint_schema_model.py +2 -2
README.md CHANGED
@@ -16,15 +16,15 @@ tags:
16
  - custom-code
17
  ---
18
 
19
- # CLEF-Flash
20
 
21
- CLEF-Flash is a 9B multimodal model that turns a state and a schema of typed
22
  questions into decisions. It reads the state as text, JSON, images, or video, and returns a
23
  probability for every allowed option of every question in a single forward pass. There is no
24
  free-form text generation and no output parsing.
25
 
26
- CLEF-Flash is post-trained from [Qwen/Qwen3.5-9B](https://huggingface.co/Qwen/Qwen3.5-9B). See
27
- [CLEF](https://huggingface.co/Cloudflare/clef) for the
28
  larger variant.
29
 
30
  ## Model
@@ -126,7 +126,7 @@ Each question has:
126
 
127
  ### Decision Index
128
 
129
- Per-benchmark results on the Decision Index 0.2.1 suite. Scores are percentages; ForecastBench is a Brier score, where lower is better. The best score in each row is in bold. This is a partial, unofficial run: HLE was not run, so no aggregate Decision Index score is reported.
130
 
131
  | # | Benchmark | Clef | Clef-flash | Jev | DiffusionGemma Jev | Kev 9B | Laya |
132
  |---|---|---|---|---|---|---|---|
@@ -174,7 +174,7 @@ Per-benchmark results on the Decision Index 0.2.1 suite. Scores are percentages;
174
 
175
  ### Workflow evals
176
 
177
- Decision accuracy on four end-to-end business workflows, scored against consensus reference labels. All models are scored on the same dataset revision and case cohort.
178
 
179
  | Workflow | Metric | Cases | Clef | Clef-flash | Jev |
180
  |---|---|---:|---:|---:|---:|
 
16
  - custom-code
17
  ---
18
 
19
+ # Clef-Flash
20
 
21
+ Clef-Flash is a 9B multimodal model that turns a state and a schema of typed
22
  questions into decisions. It reads the state as text, JSON, images, or video, and returns a
23
  probability for every allowed option of every question in a single forward pass. There is no
24
  free-form text generation and no output parsing.
25
 
26
+ Clef-Flash is post-trained from [Qwen/Qwen3.5-9B](https://huggingface.co/Qwen/Qwen3.5-9B). See
27
+ [Clef](https://huggingface.co/Cloudflare/clef) for the
28
  larger variant.
29
 
30
  ## Model
 
126
 
127
  ### Decision Index
128
 
129
+ Per-benchmark results from our internal run of the [Decision Index](https://huggingface.co/spaces/multimodalart/jev-decision-index) 0.2.1 suite. Scores are percentages; ForecastBench is a Brier score, where lower is better. The best score in each row is in bold.
130
 
131
  | # | Benchmark | Clef | Clef-flash | Jev | DiffusionGemma Jev | Kev 9B | Laya |
132
  |---|---|---|---|---|---|---|---|
 
174
 
175
  ### Workflow evals
176
 
177
+ Decision accuracy on four end-to-end business workflows from [Typesafe Evals](https://evals.typesafe.ai/), scored against consensus reference labels. All models are scored on the same dataset revision and case cohort.
178
 
179
  | Workflow | Metric | Cases | Clef | Clef-flash | Jev |
180
  |---|---|---:|---:|---:|---:|
joint_schema_model.py CHANGED
@@ -1,4 +1,4 @@
1
- """CLEF: a multimodal Qwen backbone with a joint schema head for typed decisions.
2
 
3
  A record provides a ``state`` (any JSON value), optional ``images`` and ``videos``,
4
  and ``questions``. Each question has a ``type`` (``noul``, ``choice``, or ``score``),
@@ -492,7 +492,7 @@ def load_release_model(
492
  dtype: torch.dtype = torch.bfloat16,
493
  **from_pretrained_kwargs: Any,
494
  ) -> tuple[ClefModel, Any]:
495
- """Load a CLEF release (merged backbone, joint schema head, and processor)."""
496
  from huggingface_hub import snapshot_download
497
  from safetensors.torch import load_file
498
  from transformers import AutoProcessor, Qwen3_5ForConditionalGeneration
 
1
+ """Clef: a multimodal Qwen backbone with a joint schema head for typed decisions.
2
 
3
  A record provides a ``state`` (any JSON value), optional ``images`` and ``videos``,
4
  and ``questions``. Each question has a ``type`` (``noul``, ``choice``, or ``score``),
 
492
  dtype: torch.dtype = torch.bfloat16,
493
  **from_pretrained_kwargs: Any,
494
  ) -> tuple[ClefModel, Any]:
495
+ """Load a Clef release (merged backbone, joint schema head, and processor)."""
496
  from huggingface_hub import snapshot_download
497
  from safetensors.torch import load_file
498
  from transformers import AutoProcessor, Qwen3_5ForConditionalGeneration