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
Aran-1
Aran-1 is a 395.5 million parameter decision model. It selects among supplied answer choices with a bidirectional encoder and a Gaussian-initialized flow head. This is the original decision checkpoint, before the experimental reasoning-slot extension.
Measured accuracy
| Evaluation | Questions | One step | Eight steps | Pruning |
|---|---|---|---|---|
| jevbench easy | 48 | 97.92% | 97.92% | 97.92% |
| jevbench standard | 72 | 88.89% | 88.89% | 90.28% |
| jevbench hard | 111 | 54.05% | 54.95% | 53.15% |
| jevbench overall | 231 | 74.03% | 74.46% | 74.03% |
| decidebench v1 | 400 | 85.50% | 85.00% | 83.50% |
| decidebench v2 | 450 | 65.33% | 65.11% | 64.67% |
| DecideBench | One step | Eight steps | Pruning |
|---|---|---|---|
| v1 โ both answers in pair correct | 72.50% | 71.50% | 68.50% |
| v2 โ both answers in pair correct | 36.00% | 36.00% | 36.00% |
Results are self-run on this exact released checkpoint, not independently verified. JevBench Plain contains 48 Easy, 72 Standard and 111 Hard questions; overall accuracy is weighted by question count. JevBench was repeatedly used for development evaluation and should not be interpreted as an untouched final test. DecideBench v1 contains 400 questions/200 pairs; v2 contains 450 questions/225 pairs. Paired accuracy requires both members to be correct. The two editions are reported separately. These results are DecideBench, not Decision Index.
The one-step and eight-step settings refer to flow updates. Pruning removes weak
choices, re-encodes the survivors and restarts from Gaussian noise, using the
original 0.15 cosine margin. Random seeds, revisions, truncation counts, calibration
metrics and per-category DecideBench results are in evaluation_results.json.
Pruning outputs are selection scores over retained choices, not calibrated probabilities.
Comparisons with similarly sized models
These are our saved evaluations on the same public benchmark items, using each model's adapter. Aran-1 rows refer to this released checkpoint; other rows are historical measurements of the pinned released models. Native input templates, context limits and batching differ, so these are accuracy comparisons and do not establish a controlled latency ranking. Sizes are Hugging Face serialized tensor counts, rounded to millions (GLiClass is marketed as 0.4B).
JevBench public subset
| Model / readout | Parameters | JevBench overall (231) | Hard (111) |
|---|---|---|---|
| Aran-1 โ one step | 395.5M | 74.03% | 54.05% |
| Aran-1 โ eight steps | 395.5M | 74.46% | 54.95% |
| Aran-1 โ pruning | 395.5M | 74.03% | 53.15% |
| Crivo-400M | 395.8M | 66.23% | 39.64% |
| GLiDE-0.4B | 394.8M | 77.92% | 58.56% |
| GLiClass-v4-edge โ | 439.8M | 80.52% | 63.96% |
โ GLiClass's historical JevBench result is its pre-finetuning audit with the calibrator disabled. Its DecideBench results below use the released calibrated model. GLiDE and GLiClass JevBench totals were recovered from the recorded audits; unrecovered per-tier details are not inferred. Repeated JevBench development use applies to Aran-1 as noted above; these scores do not certify absence of upstream benchmark contamination in any model.
DecideBench โ same pinned v1/v2 items
| Model / readout | Parameters | v1 accuracy | v1 both-correct pairs | v2 accuracy | v2 both-correct pairs |
|---|---|---|---|---|---|
| Aran-1 โ one step | 395.5M | 85.50% | 72.50% | 65.33% | 36.00% |
| Aran-1 โ eight steps | 395.5M | 85.00% | 71.50% | 65.11% | 36.00% |
| Aran-1 โ pruning | 395.5M | 83.50% | 68.50% | 64.67% | 36.00% |
| Crivo-400M | 395.8M | 73.75% | 52.50% | 55.78% | 28.00% |
| GLiDE-0.4B | 394.8M | 84.75% | 70.50% | 65.33% | 40.44% |
| GLiClass-v4-edge | 439.8M | 86.25% | 74.00% | 66.89% | 42.67% |
| Vela3-fast | 380.4M | 79.25% | 60.50% | 58.00% | 28.44% |
v1 has 400 questions in 200 pairs; v2 has 450 questions in 225 pairs. Both-correct
pair accuracy requires both related questions to be correct. Sources, model
revisions, calibration settings and detailed measurements are recorded in
comparison_results.json. Vela3-fast was not measured
on JevBench in these saved comparisons.
Publicly reported Decision Index information
The following are author-reported model-card results, retrieved November 20, 2026. Decision Index is a separate benchmark from JevBench and DecideBench. Its public index is an aggregate, chance-corrected skill score, not raw accuracy. Kit editions and model-card revisions are recorded because these are separate public reports, not a new matched rerun by us.
| Model | Published public Decision Index | Kit edition | Source |
|---|---|---|---|
| Aran-1 | Not measured for this checkpoint | โ | โ |
| Crivo-400M | 39.79 | 0.3 | Model card |
| GLiDE-0.4B | 51.10 | 0.3.1 | Model card |
| GLiClass-v4-edge | 47.49 | 0.3 | Model card |
| Vela3-fast | 50.36 | 0.3 | Model card |
Crivo-400M also reports a 22.96 Full score on Decision Index 0.4 in its linked card. Vela3-fast reports 29.27 on the 0.4.1 board. These private-test Full scores are different from the public index and come from different board snapshots. No complete Decision Index score is claimed for the released Aran-1 checkpoint.
Use with Transformers
pip install "torch>=2.6" "transformers==5.22.1" "safetensors>=0.4"
from transformers import AutoModel, AutoTokenizer
repo = "TheHuggerFacer/Aran-1"
tokenizer = AutoTokenizer.from_pretrained(repo, trust_remote_code=True)
model = AutoModel.from_pretrained(repo, trust_remote_code=True).to("cuda").eval()
result = model.predict(
tokenizer,
question="Which action satisfies the rule?",
state="Approve requests only when both identity and payment are verified. Identity is verified; payment is pending.",
choices={"approve": "Approve the request", "wait": "Wait for payment verification"},
pruning=True,
)
print(result)
# Use pruning=False, steps=8 for a fixed eight-step rollout.
predict uses the original pruning sampler by default.
CUDA inference uses BF16 autocast while preserving the original FP32 stored weights.
CPU inference is supported through ordinary PyTorch operations and may be slower.
The custom forward also accepts packed input_ids, attention_mask,
marker_positions and choice_mask, returning SequenceClassifierOutput.
AutoModelForSequenceClassification is supported through the same custom class.
This model needs trust_remote_code=True; review the inference code before use.
Pause, change choices, and continue
The Transformers model supports an in-memory, fixed-step rollout that can stop at an absolute step, accept a changed answer set, and continue from the same latent and time. It supports adding, removing, replacing and reordering choices. The question and visible state stay the same; all contextual encoder states and centered candidate markers are recomputed for the new answer set.
partial = model.predict(
tokenizer,
question="Which action satisfies the rule?",
state="Approve only when identity and payment are verified. Identity is verified; payment is pending.",
choices={"approve": "Approve now", "wait": "Wait", "reject": "Reject permanently"},
pruning=False,
steps=8,
stop_at_step=3,
)
session = partial["session"] # paused after update 3, at t = 3/8
model.change_choices(
session, tokenizer,
{"wait": "Wait for payment verification", "review": "Request manual review"},
)
result = model.continue_decision(session) # performs updates 4 through 8
print(result["choice"], result["probabilities"])
For explicit control, use start_decision(..., total_steps=8) followed by
continue_decision(session, stop_at_step=3). You may pause again at a later
absolute step. change_choices(session, tokenizer, choices) preserves the current
latent and step, re-encodes the new candidate set, and returns the same session.
continue_decision(session) runs the remaining original schedule. No new noise
is sampled and time is not reset. Invalid choice changes leave the session intact.
This pausable interface uses fixed-step Euler flow (pruning=False); ordinary
predict retains the original automatic pruning default. A completed rollout
cannot accept a new answer set for further steps. Sessions contain tensors and
are tied to the same model instance and device; they are not JSON responses.
Do not mutate session internals or move the model while a session is active.
Intermediate probabilities use the current latent's cosine scores; final
probabilities use the original final proposal readout. With unchanged choices,
paused/resumed inference matches the uninterrupted rollout. Changed-choice
rollouts are an inference feature, not a separately benchmarked accuracy claim.
Model specifications
| Property | Value |
|---|---|
| Total parameters | 395,497,921 |
| Encoder parameters | 345,753,600 |
| Flow and conditioning parameters | 49,744,321 |
| Retained encoder layers | 24 |
| Encoder hidden width | 1,024 |
| Flow hidden width | 704 |
| Flow pyramid slots | 1 โ 2 โ 4 |
| Context packing cap | 4,096 tokens including internal markers |
| Markers per choice | 4 |
Candidate markers attend bidirectionally and are centered across valid choices.
The encoder retains its native mix of global and sliding attention layers.
This release contains weights, tokenizer and inference code. The training recipe
and training corpus are not disclosed. Softmax scores are not a guarantee of
calibration or correctness; token overflow is reported by truncated.
Provenance
Aran-1 modifies the encoder weights and decision architecture initialized from tardellirs/Crivo-400M, which in turn uses Ettin reranker 400M.
JevBench public subset ยท DecideBench
Decision Index public evaluation
The complete official public edition 0.3 suite was scored with the pinned official kit. Aran-1 uses one-step flow inference, seed 19031, FP32 stored weights with CUDA BF16 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 and count against coverage; no evaluation inputs are truncated. This is the public index, not the maintainer-run private Full score.
Public index: 25.02. Completed 140,178 / 140,178 requests.
Results, scores and settings. Adapter: aran_engine.py.
Full-input Decision Index capacity pass
Public index: 26.62. Retried 2,610 primary capacity refusals and recovered 2,610. All original supported predictions were reused. Full state, question and choices were retained; question batches shrink to fit memory. The saved backbone context is 7,999 tokens. Longer inputs use unscaled positional extrapolation, not native long-context training. Full-input results. The original 4,096-token run remains available separately.
- Downloads last month
- 58
Model tree for TheHuggerFacer/Aran-1
Base model
jhu-clsp/ettin-encoder-400m