Text Generation
Transformers
Safetensors
English
gemma4_unified_text
gemma4
decision-making
classification
routing
full-finetuning
conversational
Instructions to use Worthify/Decision-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Worthify/Decision-1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Worthify/Decision-1") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Worthify/Decision-1") model = AutoModelForCausalLM.from_pretrained("Worthify/Decision-1", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Worthify/Decision-1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Worthify/Decision-1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Worthify/Decision-1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Worthify/Decision-1
- SGLang
How to use Worthify/Decision-1 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Worthify/Decision-1" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Worthify/Decision-1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Worthify/Decision-1" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Worthify/Decision-1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Worthify/Decision-1 with Docker Model Runner:
docker model run hf.co/Worthify/Decision-1
Review V1 Worthify Decision-1 model card
Browse filesPrivate review draft with bounded-choice examples, seed-42 held-out results, matched task-LoRA evidence, and serving limits. README only; preserve the verified model release on main.
README.md
CHANGED
|
@@ -1,39 +1,175 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
base_model: google/gemma-4-12B-it
|
| 4 |
-
model_name: Worthify
|
|
|
|
|
|
|
|
|
|
| 5 |
tags:
|
| 6 |
-
|
| 7 |
-
|
|
|
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
# Worthify
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
base_model: google/gemma-4-12B-it
|
| 4 |
+
model_name: Worthify Decision-1 (V1 private review)
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
library_name: transformers
|
| 8 |
tags:
|
| 9 |
+
- gemma4
|
| 10 |
+
- decision-making
|
| 11 |
+
- classification
|
| 12 |
+
- routing
|
| 13 |
+
- full-finetuning
|
| 14 |
---
|
| 15 |
|
| 16 |
+
# Worthify Decision-1
|
| 17 |
+
|
| 18 |
+
**V1 private review draft.** Worthify Decision-1 is a proposed name for a
|
| 19 |
+
single-seed preview. The weights are available in this private repository to
|
| 20 |
+
authorized reviewers; no public model weights are available yet. This is a
|
| 21 |
+
full-weight, decision-task post-training of Gemma 4 12B, with a
|
| 22 |
+
validation-selected checkpoint from seed 42. The planned second full-weight
|
| 23 |
+
training seed and public-release verification remain outstanding.
|
| 24 |
+
|
| 25 |
+
Give the model a text `state`, a `question`, and **2–16 described options**. It
|
| 26 |
+
scores the offered answers in one model forward pass and returns a selected
|
| 27 |
+
option ID plus conditional option scores. Your application decides whether to
|
| 28 |
+
act, ask for review, or gather more evidence. The scores compare choices
|
| 29 |
+
*within that request*. They are **not calibrated confidence**, safety
|
| 30 |
+
probabilities, or proof that a claim is true.
|
| 31 |
+
|
| 32 |
+
Evaluation-artifact paths named below refer to Worthify's source repository;
|
| 33 |
+
those artifacts are not bundled with the model weights in this Hub repository.
|
| 34 |
+
|
| 35 |
+
## See the decision
|
| 36 |
+
|
| 37 |
+
These examples come from recorded runs of the same full-weight seed-42 preview.
|
| 38 |
+
They show its bounded-choice interface, not independent measures of accuracy.
|
| 39 |
+
|
| 40 |
+
**Evidence that changes the answer.** A fictional claim says a Harbor gateway
|
| 41 |
+
received a fixed release before a noon audit. At 09:00, the only record is a
|
| 42 |
+
vendor advisory saying release 5.4.2 contains the fix. The model selects
|
| 43 |
+
`insufficient`. After an installation log and an asset-inventory record arrive,
|
| 44 |
+
it selects `supported` for the same claim. The six-stage source-repository
|
| 45 |
+
trace (`results/worthify/private-preview-flows-20260924/v2/evidence/episode.json`)
|
| 46 |
+
matched four of six authored expected routes; it also records disagreements.
|
| 47 |
+
|
| 48 |
+
| Evidence available | Offered routes | Selected route |
|
| 49 |
+
| --- | --- | --- |
|
| 50 |
+
| Advisory says a fixed release exists | supported · contradicted · insufficient · needs review | **insufficient** |
|
| 51 |
+
| Install log and inventory connect that release to the gateway | same four routes | **supported** |
|
| 52 |
+
|
| 53 |
+
**Traffic shape without an accusation.** In an authored synthetic window,
|
| 54 |
+
eight roughly 200-byte outbound records reach one destination at roughly
|
| 55 |
+
one-second intervals. Asked to classify the *observable shape*, the model
|
| 56 |
+
selects `beacon_like`. That label says nothing about actor identity or
|
| 57 |
+
malicious intent. The complete source-repository traffic trace
|
| 58 |
+
(`results/worthify/private-preview-flows-20260924/v2/traffic/episode.json`)
|
| 59 |
+
matched four of six authored expected routes; the input is metadata, not
|
| 60 |
+
packet payloads or customer traffic.
|
| 61 |
+
|
| 62 |
+
**A game that keeps moving.** In one live, text-state falling-block run, the
|
| 63 |
+
same full-weight model selected placement goals and buttons for 30 pieces,
|
| 64 |
+
cleared six lines, and applied 25 rotation buttons. Code enumerated legal
|
| 65 |
+
placements and advanced gravity; the model never saw pixels. This
|
| 66 |
+
single-seed demonstration is recorded in the source repository at
|
| 67 |
+
`results/worthify/smooth-doom-long-tetris-20260926-v1/README.md`. It has no
|
| 68 |
+
matched raw-Gemma control and is not a gameplay benchmark.
|
| 69 |
+
|
| 70 |
+
## What the held-out comparison measured
|
| 71 |
+
|
| 72 |
+
Worthify trained all 11,907,350,272 text-model parameters of
|
| 73 |
+
`google/gemma-4-12B-it` revision
|
| 74 |
+
`707f0a3b8a3c7ad586ed01e27eafbad8a27dd0f7`. Seed 42 completed two
|
| 75 |
+
epochs over 35,210 training rows. Validation selected update 3,200; a sealed
|
| 76 |
+
3,200-row test was scored after selection and export verification. The
|
| 77 |
+
following arms used the same BF16, batch-four scoring path on one A100.
|
| 78 |
+
|
| 79 |
+
| Held-out family and metric | Frozen Gemma | Earlier task LoRA | Full-weight preview |
|
| 80 |
+
| --- | ---: | ---: | ---: |
|
| 81 |
+
| Intent routing, macro-F1; 768 rows | 62.21% | 66.38% | **67.29%** |
|
| 82 |
+
| WANLI-derived evidence, macro-F1; 384 rows | 67.24% | **77.01%** | 74.41% |
|
| 83 |
+
| MNLI-derived evidence, macro-F1; 256 rows | 76.61% | **90.66%** | 89.61% |
|
| 84 |
+
| Authored cyber scenarios, accuracy; 256 rows | 83.98% | 98.05% | **100.00%** |
|
| 85 |
+
| Supplied-option menus, accuracy; 1,024 rows | 99.32% | 99.32% | **100.00%** |
|
| 86 |
+
| Authored procedures, accuracy; 256 rows | 91.02% | 99.22% | **100.00%** |
|
| 87 |
+
| Authored uncertainty, accuracy; 256 rows | 85.55% | 100.00% | **100.00%** |
|
| 88 |
+
|
| 89 |
+
The full-weight preview exceeded frozen Gemma on the primary score for all
|
| 90 |
+
seven evaluated families. The earlier task LoRA had higher evidence point
|
| 91 |
+
estimates than the full-weight preview. These are transformed, supplied-choice
|
| 92 |
+
tasks, not the datasets' original classification benchmarks. In the routing
|
| 93 |
+
slice, the 151-label macro-F1 denominator includes 46 labels without a gold
|
| 94 |
+
test example. The four authored/menu families are bounded fixtures, not
|
| 95 |
+
evidence of real-world operational performance. The source repository records
|
| 96 |
+
the method and full results in `docs/FULL_WEIGHT_SEED42_RESULTS.md` and the
|
| 97 |
+
text-free held-out evidence in
|
| 98 |
+
`results/worthify/full-weight-seed42-heldout-20260924/`.
|
| 99 |
+
|
| 100 |
+
## Starting point for task LoRAs
|
| 101 |
+
|
| 102 |
+
The full-weight checkpoint can serve as a base for a separate task adapter.
|
| 103 |
+
The source-repository LoRA recipe (`docs/FOUNDATION_LORA_TUNING.md`) trains
|
| 104 |
+
fresh rank-16 q/k/v/o adapters against the same declared-option loss, with NF4
|
| 105 |
+
base loading, BF16 computation, and FP32 final-softcap scoring. Two matched
|
| 106 |
+
studies trained fresh adapters from original Gemma and from this preview at
|
| 107 |
+
seeds 42 and 43. Within
|
| 108 |
+
each task, paired runs used the same data, options, update budget, and
|
| 109 |
+
validation-only checkpoint selection; initial LoRA tensors matched across
|
| 110 |
+
bases for each seed.
|
| 111 |
+
|
| 112 |
+
| Downstream test | LoRA on original Gemma | LoRA on Worthify base | Result |
|
| 113 |
+
| --- | ---: | ---: | --- |
|
| 114 |
+
| BANKING77 official test converted to 16-option routing, 3,080 rows; accuracy | 90.42% | **91.62%** | Tuned-base gain: **+1.20 points** |
|
| 115 |
+
| CTU-13 sealed scenario, 407 rows; macro-F1 | **0.432** | 0.115 | Original Gemma ahead: **0.316 F1** |
|
| 116 |
+
|
| 117 |
+
The BANKING77 result uses the validation-selected seed-42 pair. Both
|
| 118 |
+
predeclared seed pairs favored the tuned base (+1.20 and +0.88 accuracy
|
| 119 |
+
points). Resampling the 77 original intent groups gave a descriptive 95%
|
| 120 |
+
interval of **+0.32 to +2.14 points** for the selected pair. Excluding 28
|
| 121 |
+
official-test rows flagged for lexical overlap with the full-weight model's
|
| 122 |
+
data left a **+1.11-point** gain on 3,052 rows. This was an **exploratory,
|
| 123 |
+
domain-aligned follow-up chosen after the negative CTU-13 result**; the
|
| 124 |
+
full-weight base had already seen related intent training, including CLINC150.
|
| 125 |
+
The task is 16-option routing, not standard 77-way BANKING77 classification.
|
| 126 |
+
The dataset is by Casanueva et al. (2020), published by PolyAI under CC BY 4.0.
|
| 127 |
+
|
| 128 |
+
These studies show a task-specific LoRA gain and a separate regression. They
|
| 129 |
+
do not establish a general adapter advantage. The tuned-base adapters gained
|
| 130 |
+
more validation accuracy relative to their lower starting score on BANKING77,
|
| 131 |
+
but original Gemma had higher absolute validation-accuracy AUC over the fixed
|
| 132 |
+
training grid and reached its selected checkpoint earlier. The studies do
|
| 133 |
+
**not** establish faster convergence. The source repository has the
|
| 134 |
+
BANKING77 paired result in
|
| 135 |
+
`results/worthify/foundation-banking77-transfer-lora-20260926-v1/`, the
|
| 136 |
+
CTU-13 paired result in
|
| 137 |
+
`results/worthify/foundation-transfer-lora-20260926-v1/`, and their protocols
|
| 138 |
+
in `docs/FOUNDATION_BANKING77_TRANSFER_EVAL.md` and
|
| 139 |
+
`docs/FOUNDATION_TRANSFER_LORA_EVAL.md`.
|
| 140 |
+
|
| 141 |
+
## Use and limits
|
| 142 |
+
|
| 143 |
+
- **Appropriate starting points:** bounded routing, evidence triage, and
|
| 144 |
+
application-defined choices where the application validates the menu and
|
| 145 |
+
retains human or rule-based review for consequential actions.
|
| 146 |
+
- **Input boundary:** text only, up to 16 options in this interface. Game
|
| 147 |
+
demonstrations convert engine state to text. The model does not inspect
|
| 148 |
+
images, packet payloads, or an entire external workflow by itself.
|
| 149 |
+
- **Score boundary:** conditional scores are uncalibrated. Do not interpret a
|
| 150 |
+
high score as a probability that an action is safe or a fact is true.
|
| 151 |
+
- **Evidence boundary:** the full-weight preview has one completed training
|
| 152 |
+
seed. The LoRA results cover two downstream tasks; neither estimates
|
| 153 |
+
performance across all future tasks, model seeds, or deployment settings.
|
| 154 |
+
- **Runtime boundary:** training used a 2,048-token limit. Longer-context
|
| 155 |
+
behavior is unverified. This BF16 export requires the recorded FP32 final
|
| 156 |
+
softcap of 30 for option scoring; a generic loader may not implement that
|
| 157 |
+
numeric policy. The export passed a same-A100, 20-row serialization check,
|
| 158 |
+
but the original H200-to-A100 logit comparison did not meet its tolerance.
|
| 159 |
+
Batch grouping affected logits in diagnostics. The repository includes
|
| 160 |
+
`numeric-policy.json`, `provisional-verification.json`, and
|
| 161 |
+
`bf16-source-reference.json` for these checks.
|
| 162 |
+
|
| 163 |
+
The Gemma-derived weights are intended for Apache 2.0 distribution with
|
| 164 |
+
applicable attribution. Worthify's additions to the MIT-licensed
|
| 165 |
+
[`bonsai/openjev`](https://github.com/bonsai/openjev/tree/53e3028363509f8533d90fe82d983770da1f6c02)
|
| 166 |
+
implementation remain MIT. CLINC150 and WANLI keep their separate CC BY
|
| 167 |
+
licenses; MultiNLI has mixed source terms, and BANKING77 is CC BY 4.0. The
|
| 168 |
+
repository includes `training-data-attribution.json` and `LICENSE`; the
|
| 169 |
+
source-repository inventory is `THIRD_PARTY_WORTHIFY.md`.
|
| 170 |
+
This work implements an open bounded-choice interface. It is not TypeSafe's
|
| 171 |
+
Jev model, does not use Jev outputs as training labels, and does not claim
|
| 172 |
+
TypeSafe API compatibility or calibrated behavior.
|
| 173 |
+
|
| 174 |
+
Public weights, a public release revision, and accessible demo media will be
|
| 175 |
+
linked only after release verification and owner approval.
|