Text Classification
Transformers
Safetensors
English
aran_decision_flow
feature-extraction
custom_code
decision-model
flow-matching
multiple-choice
zero-shot-classification
Instructions to use TheHuggerFacer/Aran-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TheHuggerFacer/Aran-1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="TheHuggerFacer/Aran-1", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("TheHuggerFacer/Aran-1", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Publish complete official Decision Index public score and reproducible run
Browse files
README.md
CHANGED
|
@@ -1,220 +1,233 @@
|
|
| 1 |
-
---
|
| 2 |
-
language:
|
| 3 |
-
- en
|
| 4 |
-
library_name: transformers
|
| 5 |
-
pipeline_tag: text-classification
|
| 6 |
-
base_model: tardellirs/crivo-400m
|
| 7 |
-
tags:
|
| 8 |
-
- custom_code
|
| 9 |
-
- decision-model
|
| 10 |
-
- flow-matching
|
| 11 |
-
- multiple-choice
|
| 12 |
-
- zero-shot-classification
|
| 13 |
-
---
|
| 14 |
-
# Aran-1
|
| 15 |
-
|
| 16 |
-
Aran-1 is a **395.5 million parameter decision model**. It selects among supplied
|
| 17 |
-
answer choices with a bidirectional encoder and a Gaussian-initialized flow head.
|
| 18 |
-
This is the original decision checkpoint, before the experimental reasoning-slot extension.
|
| 19 |
-
|
| 20 |
-
## Measured accuracy
|
| 21 |
-
|
| 22 |
-
| Evaluation | Questions | One step | Eight steps | Pruning |
|
| 23 |
-
|---|---:|---:|---:|---:|
|
| 24 |
-
| jevbench easy | 48 | 97.92% | 97.92% | 97.92% |
|
| 25 |
-
| jevbench standard | 72 | 88.89% | 88.89% | 90.28% |
|
| 26 |
-
| jevbench hard | 111 | 54.05% | 54.95% | 53.15% |
|
| 27 |
-
| jevbench overall | 231 | 74.03% | 74.46% | 74.03% |
|
| 28 |
-
| decidebench v1 | 400 | 85.50% | 85.00% | 83.50% |
|
| 29 |
-
| decidebench v2 | 450 | 65.33% | 65.11% | 64.67% |
|
| 30 |
-
|
| 31 |
-
| DecideBench | One step | Eight steps | Pruning |
|
| 32 |
-
|---|---:|---:|---:|
|
| 33 |
-
| v1 β both answers in pair correct | 72.50% | 71.50% | 68.50% |
|
| 34 |
-
| v2 β both answers in pair correct | 36.00% | 36.00% | 36.00% |
|
| 35 |
-
|
| 36 |
-
Results are self-run on this exact released checkpoint, not independently verified.
|
| 37 |
-
JevBench Plain contains 48 Easy, 72 Standard and 111 Hard questions; overall
|
| 38 |
-
accuracy is weighted by question count. JevBench was repeatedly used for development
|
| 39 |
-
evaluation and should not be interpreted as an untouched final test.
|
| 40 |
-
DecideBench v1 contains 400 questions/200 pairs; v2 contains 450 questions/225 pairs.
|
| 41 |
-
Paired accuracy requires both members to be correct. The two editions are reported
|
| 42 |
-
separately. These results are **DecideBench**, not Decision Index.
|
| 43 |
-
|
| 44 |
-
The one-step and eight-step settings refer to flow updates. Pruning removes weak
|
| 45 |
-
choices, re-encodes the survivors and restarts from Gaussian noise, using the
|
| 46 |
-
original 0.15 cosine margin. Random seeds, revisions, truncation counts, calibration
|
| 47 |
-
metrics and per-category DecideBench results are in `evaluation_results.json`.
|
| 48 |
-
Pruning outputs are selection scores over retained choices, not calibrated probabilities.
|
| 49 |
-
|
| 50 |
-
## Comparisons with similarly sized models
|
| 51 |
-
|
| 52 |
-
These are our saved evaluations on the same public benchmark items, using each
|
| 53 |
-
model's adapter. Aran-1 rows refer to this released checkpoint; other rows are
|
| 54 |
-
historical measurements of the pinned released models. Native input templates,
|
| 55 |
-
context limits and batching differ, so these are accuracy comparisons and do not
|
| 56 |
-
establish a controlled latency ranking. Sizes are Hugging Face serialized tensor
|
| 57 |
-
counts, rounded to millions (GLiClass is marketed as 0.4B).
|
| 58 |
-
|
| 59 |
-
### JevBench public subset
|
| 60 |
-
|
| 61 |
-
| Model / readout | Parameters | JevBench overall (231) | Hard (111) |
|
| 62 |
-
|---|---:|---:|---:|
|
| 63 |
-
| Aran-1 β one step | 395.5M | 74.03% | 54.05% |
|
| 64 |
-
| Aran-1 β eight steps | 395.5M | 74.46% | 54.95% |
|
| 65 |
-
| Aran-1 β pruning | 395.5M | 74.03% | 53.15% |
|
| 66 |
-
| Crivo-400M | 395.8M | 66.23% | 39.64% |
|
| 67 |
-
| GLiDE-0.4B | 394.8M | 77.92% | 58.56% |
|
| 68 |
-
| GLiClass-v4-edge β | 439.8M | 80.52% | 63.96% |
|
| 69 |
-
|
| 70 |
-
β GLiClass's historical JevBench result is its pre-finetuning audit with the
|
| 71 |
-
calibrator disabled. Its DecideBench results below use the released calibrated
|
| 72 |
-
model. GLiDE and GLiClass JevBench totals were recovered from the recorded audits;
|
| 73 |
-
unrecovered per-tier details are not inferred. Repeated JevBench development use
|
| 74 |
-
applies to Aran-1 as noted above; these scores do not certify absence of upstream
|
| 75 |
-
benchmark contamination in any model.
|
| 76 |
-
|
| 77 |
-
### DecideBench β same pinned v1/v2 items
|
| 78 |
-
|
| 79 |
-
| Model / readout | Parameters | v1 accuracy | v1 both-correct pairs | v2 accuracy | v2 both-correct pairs |
|
| 80 |
-
|---|---:|---:|---:|---:|---:|
|
| 81 |
-
| Aran-1 β one step | 395.5M | 85.50% | 72.50% | 65.33% | 36.00% |
|
| 82 |
-
| Aran-1 β eight steps | 395.5M | 85.00% | 71.50% | 65.11% | 36.00% |
|
| 83 |
-
| Aran-1 β pruning | 395.5M | 83.50% | 68.50% | 64.67% | 36.00% |
|
| 84 |
-
| Crivo-400M | 395.8M | 73.75% | 52.50% | 55.78% | 28.00% |
|
| 85 |
-
| GLiDE-0.4B | 394.8M | 84.75% | 70.50% | 65.33% | 40.44% |
|
| 86 |
-
| GLiClass-v4-edge | 439.8M | 86.25% | 74.00% | 66.89% | 42.67% |
|
| 87 |
-
| Vela3-fast | 380.4M | 79.25% | 60.50% | 58.00% | 28.44% |
|
| 88 |
-
|
| 89 |
-
v1 has 400 questions in 200 pairs; v2 has 450 questions in 225 pairs. Both-correct
|
| 90 |
-
pair accuracy requires both related questions to be correct. Sources, model
|
| 91 |
-
revisions, calibration settings and detailed measurements are recorded in
|
| 92 |
-
[`comparison_results.json`](comparison_results.json). Vela3-fast was not measured
|
| 93 |
-
on JevBench in these saved comparisons.
|
| 94 |
-
|
| 95 |
-
### Publicly reported Decision Index information
|
| 96 |
-
|
| 97 |
-
The following are author-reported model-card results, retrieved November 20, 2026.
|
| 98 |
-
Decision Index is a separate benchmark from JevBench and DecideBench. Its public
|
| 99 |
-
index is an aggregate, chance-corrected skill score, not raw accuracy. Kit editions
|
| 100 |
-
and model-card revisions are recorded because these are separate public reports,
|
| 101 |
-
not a new matched rerun by us.
|
| 102 |
-
|
| 103 |
-
| Model | Published public Decision Index | Kit edition | Source |
|
| 104 |
-
|---|---:|---|---|
|
| 105 |
-
| Aran-1 | Not measured for this checkpoint | β | β |
|
| 106 |
-
| Crivo-400M | 39.79 | 0.3 | [Model card](https://huggingface.co/tardellirs/crivo-400m/blob/1620098013c2dd8bb9763e79a76740a2d278ee0e/README.md) |
|
| 107 |
-
| GLiDE-0.4B | 51.10 | 0.3.1 | [Model card](https://huggingface.co/fastino/GLiDE-0.4B/blob/16fb9d63cc34d1b4b5a1fb7cbf2d9d4a3dd5ad71/README.md) |
|
| 108 |
-
| GLiClass-v4-edge | 47.49 | 0.3 | [Model card](https://huggingface.co/knowledgator/gliclass-v4-edge/blob/885af1af8a07edf4ed34df83ca0d995ed8201283/README.md) |
|
| 109 |
-
| Vela3-fast | 50.36 | 0.3 | [Model card](https://huggingface.co/vllm-sr/vela3-fast/blob/fa60e3aa41132c60bf05a84cabfdced39cb6d4f7/README.md) |
|
| 110 |
-
|
| 111 |
-
Crivo-400M also reports a **22.96 Full score on Decision Index 0.4** in its linked
|
| 112 |
-
card. Vela3-fast reports **29.27 on the 0.4.1 board**. These private-test Full scores
|
| 113 |
-
are different from the public index and come from different board snapshots.
|
| 114 |
-
No complete Decision Index score is claimed for the released Aran-1 checkpoint.
|
| 115 |
-
|
| 116 |
-
## Use with Transformers
|
| 117 |
-
|
| 118 |
-
```bash
|
| 119 |
-
pip install "torch>=2.6" "transformers==5.22.1" "safetensors>=0.4"
|
| 120 |
-
```
|
| 121 |
-
|
| 122 |
-
```python
|
| 123 |
-
from transformers import AutoModel, AutoTokenizer
|
| 124 |
-
|
| 125 |
-
repo = "TheHuggerFacer/Aran-1"
|
| 126 |
-
tokenizer = AutoTokenizer.from_pretrained(repo, trust_remote_code=True)
|
| 127 |
-
model = AutoModel.from_pretrained(repo, trust_remote_code=True).to("cuda").eval()
|
| 128 |
-
|
| 129 |
-
result = model.predict(
|
| 130 |
-
tokenizer,
|
| 131 |
-
question="Which action satisfies the rule?",
|
| 132 |
-
state="Approve requests only when both identity and payment are verified. Identity is verified; payment is pending.",
|
| 133 |
-
choices={"approve": "Approve the request", "wait": "Wait for payment verification"},
|
| 134 |
-
pruning=True,
|
| 135 |
-
)
|
| 136 |
-
print(result)
|
| 137 |
-
# Use pruning=False, steps=8 for a fixed eight-step rollout.
|
| 138 |
-
```
|
| 139 |
-
|
| 140 |
-
`predict` uses the original pruning sampler by default.
|
| 141 |
-
CUDA inference uses BF16 autocast while preserving the original FP32 stored weights.
|
| 142 |
-
CPU inference is supported through ordinary PyTorch operations and may be slower.
|
| 143 |
-
The custom forward also accepts packed `input_ids`, `attention_mask`,
|
| 144 |
-
`marker_positions` and `choice_mask`, returning `SequenceClassifierOutput`.
|
| 145 |
-
`AutoModelForSequenceClassification` is supported through the same custom class.
|
| 146 |
-
This model needs `trust_remote_code=True`; review the inference code before use.
|
| 147 |
-
|
| 148 |
-
## Pause, change choices, and continue
|
| 149 |
-
|
| 150 |
-
The Transformers model supports an in-memory, fixed-step rollout that can stop
|
| 151 |
-
at an absolute step, accept a changed answer set, and continue from the same
|
| 152 |
-
latent and time. It supports adding, removing, replacing and reordering choices.
|
| 153 |
-
The question and visible state stay the same; all contextual encoder states and
|
| 154 |
-
centered candidate markers are recomputed for the new answer set.
|
| 155 |
-
|
| 156 |
-
```python
|
| 157 |
-
partial = model.predict(
|
| 158 |
-
tokenizer,
|
| 159 |
-
question="Which action satisfies the rule?",
|
| 160 |
-
state="Approve only when identity and payment are verified. Identity is verified; payment is pending.",
|
| 161 |
-
choices={"approve": "Approve now", "wait": "Wait", "reject": "Reject permanently"},
|
| 162 |
-
pruning=False,
|
| 163 |
-
steps=8,
|
| 164 |
-
stop_at_step=3,
|
| 165 |
-
)
|
| 166 |
-
session = partial["session"] # paused after update 3, at t = 3/8
|
| 167 |
-
|
| 168 |
-
model.change_choices(
|
| 169 |
-
session, tokenizer,
|
| 170 |
-
{"wait": "Wait for payment verification", "review": "Request manual review"},
|
| 171 |
-
)
|
| 172 |
-
result = model.continue_decision(session) # performs updates 4 through 8
|
| 173 |
-
print(result["choice"], result["probabilities"])
|
| 174 |
-
```
|
| 175 |
-
|
| 176 |
-
For explicit control, use `start_decision(..., total_steps=8)` followed by
|
| 177 |
-
`continue_decision(session, stop_at_step=3)`. You may pause again at a later
|
| 178 |
-
absolute step. `change_choices(session, tokenizer, choices)` preserves the current
|
| 179 |
-
latent and step, re-encodes the new candidate set, and returns the same session.
|
| 180 |
-
`continue_decision(session)` runs the remaining original schedule. No new noise
|
| 181 |
-
is sampled and time is not reset. Invalid choice changes leave the session intact.
|
| 182 |
-
|
| 183 |
-
This pausable interface uses fixed-step Euler flow (`pruning=False`); ordinary
|
| 184 |
-
`predict` retains the original automatic pruning default. A completed rollout
|
| 185 |
-
cannot accept a new answer set for further steps. Sessions contain tensors and
|
| 186 |
-
are tied to the same model instance and device; they are not JSON responses.
|
| 187 |
-
Do not mutate session internals or move the model while a session is active.
|
| 188 |
-
Intermediate probabilities use the current latent's cosine scores; final
|
| 189 |
-
probabilities use the original final proposal readout. With unchanged choices,
|
| 190 |
-
paused/resumed inference matches the uninterrupted rollout. Changed-choice
|
| 191 |
-
rollouts are an inference feature, not a separately benchmarked accuracy claim.
|
| 192 |
-
|
| 193 |
-
## Model specifications
|
| 194 |
-
|
| 195 |
-
| Property | Value |
|
| 196 |
-
|---|---:|
|
| 197 |
-
| Total parameters | 395,497,921 |
|
| 198 |
-
| Encoder parameters | 345,753,600 |
|
| 199 |
-
| Flow and conditioning parameters | 49,744,321 |
|
| 200 |
-
| Retained encoder layers | 24 |
|
| 201 |
-
| Encoder hidden width | 1,024 |
|
| 202 |
-
| Flow hidden width | 704 |
|
| 203 |
-
| Flow pyramid slots | 1 β 2 β 4 |
|
| 204 |
-
| Context packing cap | 4,096 tokens including internal markers |
|
| 205 |
-
| Markers per choice | 4 |
|
| 206 |
-
|
| 207 |
-
Candidate markers attend bidirectionally and are centered across valid choices.
|
| 208 |
-
The encoder retains its native mix of global and sliding attention layers.
|
| 209 |
-
This release contains weights, tokenizer and inference code. The training recipe
|
| 210 |
-
and training corpus are not disclosed. Softmax scores are not a guarantee of
|
| 211 |
-
calibration or correctness; token overflow is reported by `truncated`.
|
| 212 |
-
|
| 213 |
-
## Provenance
|
| 214 |
-
|
| 215 |
-
Aran-1 modifies the encoder weights and decision architecture initialized from
|
| 216 |
-
[tardellirs/Crivo-400M](https://huggingface.co/tardellirs/crivo-400m), which in turn
|
| 217 |
-
uses [Ettin reranker 400M](https://huggingface.co/cross-encoder/ettin-reranker-400m-v1).
|
| 218 |
-
|
| 219 |
-
[JevBench public subset](https://github.com/fstandhartinger/jevbench/tree/24b9b5c1609a7a9e8fa14f49e5985a836c9dc842) Β·
|
| 220 |
-
[DecideBench](https://huggingface.co/datasets/choyiny/decidebench)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
library_name: transformers
|
| 5 |
+
pipeline_tag: text-classification
|
| 6 |
+
base_model: tardellirs/crivo-400m
|
| 7 |
+
tags:
|
| 8 |
+
- custom_code
|
| 9 |
+
- decision-model
|
| 10 |
+
- flow-matching
|
| 11 |
+
- multiple-choice
|
| 12 |
+
- zero-shot-classification
|
| 13 |
+
---
|
| 14 |
+
# Aran-1
|
| 15 |
+
|
| 16 |
+
Aran-1 is a **395.5 million parameter decision model**. It selects among supplied
|
| 17 |
+
answer choices with a bidirectional encoder and a Gaussian-initialized flow head.
|
| 18 |
+
This is the original decision checkpoint, before the experimental reasoning-slot extension.
|
| 19 |
+
|
| 20 |
+
## Measured accuracy
|
| 21 |
+
|
| 22 |
+
| Evaluation | Questions | One step | Eight steps | Pruning |
|
| 23 |
+
|---|---:|---:|---:|---:|
|
| 24 |
+
| jevbench easy | 48 | 97.92% | 97.92% | 97.92% |
|
| 25 |
+
| jevbench standard | 72 | 88.89% | 88.89% | 90.28% |
|
| 26 |
+
| jevbench hard | 111 | 54.05% | 54.95% | 53.15% |
|
| 27 |
+
| jevbench overall | 231 | 74.03% | 74.46% | 74.03% |
|
| 28 |
+
| decidebench v1 | 400 | 85.50% | 85.00% | 83.50% |
|
| 29 |
+
| decidebench v2 | 450 | 65.33% | 65.11% | 64.67% |
|
| 30 |
+
|
| 31 |
+
| DecideBench | One step | Eight steps | Pruning |
|
| 32 |
+
|---|---:|---:|---:|
|
| 33 |
+
| v1 β both answers in pair correct | 72.50% | 71.50% | 68.50% |
|
| 34 |
+
| v2 β both answers in pair correct | 36.00% | 36.00% | 36.00% |
|
| 35 |
+
|
| 36 |
+
Results are self-run on this exact released checkpoint, not independently verified.
|
| 37 |
+
JevBench Plain contains 48 Easy, 72 Standard and 111 Hard questions; overall
|
| 38 |
+
accuracy is weighted by question count. JevBench was repeatedly used for development
|
| 39 |
+
evaluation and should not be interpreted as an untouched final test.
|
| 40 |
+
DecideBench v1 contains 400 questions/200 pairs; v2 contains 450 questions/225 pairs.
|
| 41 |
+
Paired accuracy requires both members to be correct. The two editions are reported
|
| 42 |
+
separately. These results are **DecideBench**, not Decision Index.
|
| 43 |
+
|
| 44 |
+
The one-step and eight-step settings refer to flow updates. Pruning removes weak
|
| 45 |
+
choices, re-encodes the survivors and restarts from Gaussian noise, using the
|
| 46 |
+
original 0.15 cosine margin. Random seeds, revisions, truncation counts, calibration
|
| 47 |
+
metrics and per-category DecideBench results are in `evaluation_results.json`.
|
| 48 |
+
Pruning outputs are selection scores over retained choices, not calibrated probabilities.
|
| 49 |
+
|
| 50 |
+
## Comparisons with similarly sized models
|
| 51 |
+
|
| 52 |
+
These are our saved evaluations on the same public benchmark items, using each
|
| 53 |
+
model's adapter. Aran-1 rows refer to this released checkpoint; other rows are
|
| 54 |
+
historical measurements of the pinned released models. Native input templates,
|
| 55 |
+
context limits and batching differ, so these are accuracy comparisons and do not
|
| 56 |
+
establish a controlled latency ranking. Sizes are Hugging Face serialized tensor
|
| 57 |
+
counts, rounded to millions (GLiClass is marketed as 0.4B).
|
| 58 |
+
|
| 59 |
+
### JevBench public subset
|
| 60 |
+
|
| 61 |
+
| Model / readout | Parameters | JevBench overall (231) | Hard (111) |
|
| 62 |
+
|---|---:|---:|---:|
|
| 63 |
+
| Aran-1 β one step | 395.5M | 74.03% | 54.05% |
|
| 64 |
+
| Aran-1 β eight steps | 395.5M | 74.46% | 54.95% |
|
| 65 |
+
| Aran-1 β pruning | 395.5M | 74.03% | 53.15% |
|
| 66 |
+
| Crivo-400M | 395.8M | 66.23% | 39.64% |
|
| 67 |
+
| GLiDE-0.4B | 394.8M | 77.92% | 58.56% |
|
| 68 |
+
| GLiClass-v4-edge β | 439.8M | 80.52% | 63.96% |
|
| 69 |
+
|
| 70 |
+
β GLiClass's historical JevBench result is its pre-finetuning audit with the
|
| 71 |
+
calibrator disabled. Its DecideBench results below use the released calibrated
|
| 72 |
+
model. GLiDE and GLiClass JevBench totals were recovered from the recorded audits;
|
| 73 |
+
unrecovered per-tier details are not inferred. Repeated JevBench development use
|
| 74 |
+
applies to Aran-1 as noted above; these scores do not certify absence of upstream
|
| 75 |
+
benchmark contamination in any model.
|
| 76 |
+
|
| 77 |
+
### DecideBench β same pinned v1/v2 items
|
| 78 |
+
|
| 79 |
+
| Model / readout | Parameters | v1 accuracy | v1 both-correct pairs | v2 accuracy | v2 both-correct pairs |
|
| 80 |
+
|---|---:|---:|---:|---:|---:|
|
| 81 |
+
| Aran-1 β one step | 395.5M | 85.50% | 72.50% | 65.33% | 36.00% |
|
| 82 |
+
| Aran-1 β eight steps | 395.5M | 85.00% | 71.50% | 65.11% | 36.00% |
|
| 83 |
+
| Aran-1 β pruning | 395.5M | 83.50% | 68.50% | 64.67% | 36.00% |
|
| 84 |
+
| Crivo-400M | 395.8M | 73.75% | 52.50% | 55.78% | 28.00% |
|
| 85 |
+
| GLiDE-0.4B | 394.8M | 84.75% | 70.50% | 65.33% | 40.44% |
|
| 86 |
+
| GLiClass-v4-edge | 439.8M | 86.25% | 74.00% | 66.89% | 42.67% |
|
| 87 |
+
| Vela3-fast | 380.4M | 79.25% | 60.50% | 58.00% | 28.44% |
|
| 88 |
+
|
| 89 |
+
v1 has 400 questions in 200 pairs; v2 has 450 questions in 225 pairs. Both-correct
|
| 90 |
+
pair accuracy requires both related questions to be correct. Sources, model
|
| 91 |
+
revisions, calibration settings and detailed measurements are recorded in
|
| 92 |
+
[`comparison_results.json`](comparison_results.json). Vela3-fast was not measured
|
| 93 |
+
on JevBench in these saved comparisons.
|
| 94 |
+
|
| 95 |
+
### Publicly reported Decision Index information
|
| 96 |
+
|
| 97 |
+
The following are author-reported model-card results, retrieved November 20, 2026.
|
| 98 |
+
Decision Index is a separate benchmark from JevBench and DecideBench. Its public
|
| 99 |
+
index is an aggregate, chance-corrected skill score, not raw accuracy. Kit editions
|
| 100 |
+
and model-card revisions are recorded because these are separate public reports,
|
| 101 |
+
not a new matched rerun by us.
|
| 102 |
+
|
| 103 |
+
| Model | Published public Decision Index | Kit edition | Source |
|
| 104 |
+
|---|---:|---|---|
|
| 105 |
+
| Aran-1 | Not measured for this checkpoint | β | β |
|
| 106 |
+
| Crivo-400M | 39.79 | 0.3 | [Model card](https://huggingface.co/tardellirs/crivo-400m/blob/1620098013c2dd8bb9763e79a76740a2d278ee0e/README.md) |
|
| 107 |
+
| GLiDE-0.4B | 51.10 | 0.3.1 | [Model card](https://huggingface.co/fastino/GLiDE-0.4B/blob/16fb9d63cc34d1b4b5a1fb7cbf2d9d4a3dd5ad71/README.md) |
|
| 108 |
+
| GLiClass-v4-edge | 47.49 | 0.3 | [Model card](https://huggingface.co/knowledgator/gliclass-v4-edge/blob/885af1af8a07edf4ed34df83ca0d995ed8201283/README.md) |
|
| 109 |
+
| Vela3-fast | 50.36 | 0.3 | [Model card](https://huggingface.co/vllm-sr/vela3-fast/blob/fa60e3aa41132c60bf05a84cabfdced39cb6d4f7/README.md) |
|
| 110 |
+
|
| 111 |
+
Crivo-400M also reports a **22.96 Full score on Decision Index 0.4** in its linked
|
| 112 |
+
card. Vela3-fast reports **29.27 on the 0.4.1 board**. These private-test Full scores
|
| 113 |
+
are different from the public index and come from different board snapshots.
|
| 114 |
+
No complete Decision Index score is claimed for the released Aran-1 checkpoint.
|
| 115 |
+
|
| 116 |
+
## Use with Transformers
|
| 117 |
+
|
| 118 |
+
```bash
|
| 119 |
+
pip install "torch>=2.6" "transformers==5.22.1" "safetensors>=0.4"
|
| 120 |
+
```
|
| 121 |
+
|
| 122 |
+
```python
|
| 123 |
+
from transformers import AutoModel, AutoTokenizer
|
| 124 |
+
|
| 125 |
+
repo = "TheHuggerFacer/Aran-1"
|
| 126 |
+
tokenizer = AutoTokenizer.from_pretrained(repo, trust_remote_code=True)
|
| 127 |
+
model = AutoModel.from_pretrained(repo, trust_remote_code=True).to("cuda").eval()
|
| 128 |
+
|
| 129 |
+
result = model.predict(
|
| 130 |
+
tokenizer,
|
| 131 |
+
question="Which action satisfies the rule?",
|
| 132 |
+
state="Approve requests only when both identity and payment are verified. Identity is verified; payment is pending.",
|
| 133 |
+
choices={"approve": "Approve the request", "wait": "Wait for payment verification"},
|
| 134 |
+
pruning=True,
|
| 135 |
+
)
|
| 136 |
+
print(result)
|
| 137 |
+
# Use pruning=False, steps=8 for a fixed eight-step rollout.
|
| 138 |
+
```
|
| 139 |
+
|
| 140 |
+
`predict` uses the original pruning sampler by default.
|
| 141 |
+
CUDA inference uses BF16 autocast while preserving the original FP32 stored weights.
|
| 142 |
+
CPU inference is supported through ordinary PyTorch operations and may be slower.
|
| 143 |
+
The custom forward also accepts packed `input_ids`, `attention_mask`,
|
| 144 |
+
`marker_positions` and `choice_mask`, returning `SequenceClassifierOutput`.
|
| 145 |
+
`AutoModelForSequenceClassification` is supported through the same custom class.
|
| 146 |
+
This model needs `trust_remote_code=True`; review the inference code before use.
|
| 147 |
+
|
| 148 |
+
## Pause, change choices, and continue
|
| 149 |
+
|
| 150 |
+
The Transformers model supports an in-memory, fixed-step rollout that can stop
|
| 151 |
+
at an absolute step, accept a changed answer set, and continue from the same
|
| 152 |
+
latent and time. It supports adding, removing, replacing and reordering choices.
|
| 153 |
+
The question and visible state stay the same; all contextual encoder states and
|
| 154 |
+
centered candidate markers are recomputed for the new answer set.
|
| 155 |
+
|
| 156 |
+
```python
|
| 157 |
+
partial = model.predict(
|
| 158 |
+
tokenizer,
|
| 159 |
+
question="Which action satisfies the rule?",
|
| 160 |
+
state="Approve only when identity and payment are verified. Identity is verified; payment is pending.",
|
| 161 |
+
choices={"approve": "Approve now", "wait": "Wait", "reject": "Reject permanently"},
|
| 162 |
+
pruning=False,
|
| 163 |
+
steps=8,
|
| 164 |
+
stop_at_step=3,
|
| 165 |
+
)
|
| 166 |
+
session = partial["session"] # paused after update 3, at t = 3/8
|
| 167 |
+
|
| 168 |
+
model.change_choices(
|
| 169 |
+
session, tokenizer,
|
| 170 |
+
{"wait": "Wait for payment verification", "review": "Request manual review"},
|
| 171 |
+
)
|
| 172 |
+
result = model.continue_decision(session) # performs updates 4 through 8
|
| 173 |
+
print(result["choice"], result["probabilities"])
|
| 174 |
+
```
|
| 175 |
+
|
| 176 |
+
For explicit control, use `start_decision(..., total_steps=8)` followed by
|
| 177 |
+
`continue_decision(session, stop_at_step=3)`. You may pause again at a later
|
| 178 |
+
absolute step. `change_choices(session, tokenizer, choices)` preserves the current
|
| 179 |
+
latent and step, re-encodes the new candidate set, and returns the same session.
|
| 180 |
+
`continue_decision(session)` runs the remaining original schedule. No new noise
|
| 181 |
+
is sampled and time is not reset. Invalid choice changes leave the session intact.
|
| 182 |
+
|
| 183 |
+
This pausable interface uses fixed-step Euler flow (`pruning=False`); ordinary
|
| 184 |
+
`predict` retains the original automatic pruning default. A completed rollout
|
| 185 |
+
cannot accept a new answer set for further steps. Sessions contain tensors and
|
| 186 |
+
are tied to the same model instance and device; they are not JSON responses.
|
| 187 |
+
Do not mutate session internals or move the model while a session is active.
|
| 188 |
+
Intermediate probabilities use the current latent's cosine scores; final
|
| 189 |
+
probabilities use the original final proposal readout. With unchanged choices,
|
| 190 |
+
paused/resumed inference matches the uninterrupted rollout. Changed-choice
|
| 191 |
+
rollouts are an inference feature, not a separately benchmarked accuracy claim.
|
| 192 |
+
|
| 193 |
+
## Model specifications
|
| 194 |
+
|
| 195 |
+
| Property | Value |
|
| 196 |
+
|---|---:|
|
| 197 |
+
| Total parameters | 395,497,921 |
|
| 198 |
+
| Encoder parameters | 345,753,600 |
|
| 199 |
+
| Flow and conditioning parameters | 49,744,321 |
|
| 200 |
+
| Retained encoder layers | 24 |
|
| 201 |
+
| Encoder hidden width | 1,024 |
|
| 202 |
+
| Flow hidden width | 704 |
|
| 203 |
+
| Flow pyramid slots | 1 β 2 β 4 |
|
| 204 |
+
| Context packing cap | 4,096 tokens including internal markers |
|
| 205 |
+
| Markers per choice | 4 |
|
| 206 |
+
|
| 207 |
+
Candidate markers attend bidirectionally and are centered across valid choices.
|
| 208 |
+
The encoder retains its native mix of global and sliding attention layers.
|
| 209 |
+
This release contains weights, tokenizer and inference code. The training recipe
|
| 210 |
+
and training corpus are not disclosed. Softmax scores are not a guarantee of
|
| 211 |
+
calibration or correctness; token overflow is reported by `truncated`.
|
| 212 |
+
|
| 213 |
+
## Provenance
|
| 214 |
+
|
| 215 |
+
Aran-1 modifies the encoder weights and decision architecture initialized from
|
| 216 |
+
[tardellirs/Crivo-400M](https://huggingface.co/tardellirs/crivo-400m), which in turn
|
| 217 |
+
uses [Ettin reranker 400M](https://huggingface.co/cross-encoder/ettin-reranker-400m-v1).
|
| 218 |
+
|
| 219 |
+
[JevBench public subset](https://github.com/fstandhartinger/jevbench/tree/24b9b5c1609a7a9e8fa14f49e5985a836c9dc842) Β·
|
| 220 |
+
[DecideBench](https://huggingface.co/datasets/choyiny/decidebench)
|
| 221 |
+
|
| 222 |
+
|
| 223 |
+
## Decision Index public evaluation
|
| 224 |
+
|
| 225 |
+
The complete official public edition 0.3 suite was scored with the pinned official kit.
|
| 226 |
+
Aran-1 uses one-step flow inference, seed 19031, FP32 stored weights with CUDA BF16
|
| 227 |
+
autocast, and a declared 4,096 packed-token capacity. Public throughput evaluation batches independent questions and requests; batch wall times are not single-request latency measurements. Overlong requests are refused
|
| 228 |
+
and count against coverage; no evaluation inputs are truncated. This is the public
|
| 229 |
+
index, not the maintainer-run private Full score.
|
| 230 |
+
|
| 231 |
+
**Public index: 25.02**. Completed 140,178 / 140,178 requests.
|
| 232 |
+
|
| 233 |
+
[Results, scores and settings](https://huggingface.co/datasets/TheHuggerFacer/Aran-1-decision-index/tree/main/runs/aran-1-step1). Adapter: `aran_engine.py`.
|