Feature Extraction
Transformers
Safetensors
matilda_jev
matilda
jev
decision-model
classification
maincode
custom_code
Instructions to use Maincode/matilda-jev-v1.5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Maincode/matilda-jev-v1.5 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Maincode/matilda-jev-v1.5", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Maincode/matilda-jev-v1.5", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 4,176 Bytes
1b88863 83eb5c6 1b88863 574d4eb c5f1f16 1b88863 574d4eb 1b88863 574d4eb 1b88863 c47a445 1b88863 | 1 2 3 4 5 6 7 8 9 10 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 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | ---
license: apache-2.0
library_name: transformers
tags:
- matilda
- jev
- decision-model
- classification
- maincode
base_model:
- Qwen/Qwen3.8-27B
---
# MATILDA JEV v1.5 by Maincode
> All scores on this card are from the **Decision Index 0.3** public suite (the public dataset of the current
> leaderboard edition).
A BF16 JEV decision model with a 255-option readout. This is the
highest-scoring checkpoint in the completed MATILDA JEV experiments as of
9 October 2026: **Decision Index 63.47** (0.3 public suite).
The model accepts a state and one or more decision questions. It supports
`choice`, `noul` (probability of true), and ordinal `score`. Inference is one
forward pass per question; the model has no text-generation head and does not
generate a chain of thought. The LoRA updates are already merged into the
weights. No adapter merge is required.
## Loading
Use Python 3.12 or newer and install PyTorch for your accelerator. The validated
cluster environment uses PyTorch 2.14.0, Transformers 5.17.0, and an AMD Instinct
MI355X. Other dependencies are listed in `requirements-runtime.txt`.
```python
import sys
from pathlib import Path
from huggingface_hub import snapshot_download
checkpoint = Path(snapshot_download('Maincode/matilda-jev-v1.5'))
sys.path.insert(0, str(checkpoint / 'runtime'))
from maincode_jev_serve.model import DecisionModel, answer
model = DecisionModel(checkpoint=checkpoint, device='cuda:0')
row = {
'state': 'The parcel arrived on schedule.',
'question': {
'type': 'choice',
'instructions': 'Classify delivery.',
'criteria': {'on_time': 'On time', 'late': 'Late'},
},
}
print(answer(row['question'], model.predict([row])[0]))
```
The loader uses the custom code bundled in this repository. `AutoModel` alone
loads the backbone; use `DecisionModel` to include the separate decision head.
The package retains the existing MATILDA configuration aliases and the underlying
Transformers implementation. Model weights, tokenizer vocabulary, input template,
answer codes, readout, and temperature match the evaluated checkpoint.
`predict.py` accepts JSON lines containing either `state` + `question` or
`state` + `questions`:
```json
{"state":"Two plus two equals four.","questions":{"truth":{"type":"noul","instructions":"Is this statement true?"}}}
```
```bash
python /path/to/downloaded/model/predict.py --device cuda:0 < requests.jsonl
```
## Evaluation
Decision Index 0.3 public suite: **140,178 of 140,178 scored requests answered across 37 benchmarks**
(kit [`62d2f51`](https://github.com/apolinario/decision-index/commit/62d2f51)).
Saved predictions were independently rescored with identical results. The full run, including every
prediction, is in [Maincode/matilda-jev-decision-index](https://huggingface.co/datasets/Maincode/matilda-jev-decision-index)
under `runs/matilda-jev-v1.5/`. [`scores.json`](scores.json) in this repository is the earlier 0.2.1 run
(62.76), kept for reference.
| Metric | Jev | MATILDA JEV v1 | **MATILDA JEV v1.5** |
|---|---:|---:|---:|
| Decision Index (public) | 57.96 | 60.16 | **63.47** |
| Raw | 68.55 | 70.04 | **72.62** |
| Breadth | 57.27 | 59.21 | **62.45** |
| Knowledge & Reasoning | **53.87** | 46.84 | 49.83 |
| Language Understanding | 59.23 | 64.80 | **69.91** |
| Retrieval & Classification | 55.42 | 61.07 | **65.96** |
| Tools & Automation | 75.09 | 79.07 | **80.84** |
| Arts & Human Taste | 39.08 | **46.22** | 45.41 |
Jev is the public-suite part of its Decision Index 0.3 board entry (per-benchmark public results, as published in the
kit's `tests/fixtures/board-0.3.json`), not its Full score. MATILDA JEV v1 is
[Maincode/matilda-jev-v1](https://huggingface.co/Maincode/matilda-jev-v1) (`runs/matilda-jev-v1.3/` in the same dataset).
Area scores are chance-corrected skill multiplied by 100. These results are
diagnostic: earlier training in this model's lineage used benchmark-related
material, and this release was chosen after comparing experimental scores.
The numbers are not an independent held-out generalization estimate. The full
suite evaluated text decisions; vision inference was not validated for this
release.
|