clevrpwn commited on
Commit
8b40a7f
·
verified ·
1 Parent(s): 712daaa

Update model card with official 150,759 full-panel Decision Index benchmarks

Browse files
Files changed (1) hide show
  1. README.md +28 -26
README.md CHANGED
@@ -21,7 +21,7 @@ pipeline_tag: feature-extraction
21
  *Ultra-fast, Non-Autoregressive System 1 Decision Model*
22
 
23
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
24
- [![Decision Index](https://img.shields.io/badge/Decision--Index-0.2.1-blue)](https://github.com/apolinario/decision-index)
25
 
26
  </div>
27
 
@@ -29,11 +29,12 @@ pipeline_tag: feature-extraction
29
 
30
  ## ⚡ Overview
31
 
32
- **DM-JEPA** is a groundbreaking, non-autoregressive **System 1 Decision Engine** built upon Yann LeCun's Joint Embedding Predictive Architecture (JEPA) principles. Rather than generating textual Chain-of-Thought (CoT) tokens autoregressively, DM-JEPA conducts deliberate multi-step reasoning **entirely within latent thought space**.
33
 
34
- - **Sub-35ms Latency**: Delivers **33.1 ms** median inference latency per decision request on single consumer GPU hardware, compared to 1,500ms–8,000ms for standard 7B–70B autoregressive LLMs.
35
  - **Zero Token Hallucination**: Directly predicts compatibility energy between environmental state facts and candidate decision criteria.
36
  - **Listwise Joint Decision Space**: Simultaneously evaluates arbitrary sets of decision options in a single forward pass with inter-candidate self-attention and cross-attentive fact verification.
 
37
 
38
  ---
39
 
@@ -56,26 +57,35 @@ flowchart TD
56
 
57
  1. **State Context Encoder**: Built upon `answerdotai/ModernBERT-base` (8192-token context window support).
58
  2. **Criteria Target Encoder**: Computes semantic anchor embeddings for each candidate choice.
59
- 3. **M-Step Recurrent Latent Predictive Verifier**: Performs 4 recurrent steps of cross-attentive deduction in thought space conditioned on state facts.
60
  4. **Latent Compatibility Scorer**: Normalized inner product scoring with learnable calibration temperature to output calibrated probability distributions over options.
61
 
62
  ---
63
 
64
- ## 📊 Decision Index Performance
65
 
66
- Evaluated against the **Decision Index** (v0.2 / v0.2.1 protocol):
67
 
68
- | Benchmark Domain | Metric | DM-JEPA Result | Random Chance |
 
 
 
 
 
 
 
 
 
 
 
 
 
69
  | :--- | :--- | :---: | :---: |
70
- | **GSM8K (Arithmetic Reasoning)** | Raw Accuracy / Skill | **100.00% / 100.00%** | 25.00% |
71
- | **Home Appliance Simulator** | Field Accuracy / Field Skill | **91.12% / 82.25%** | 50.00% |
72
- | **OpenJev High-Trust Suite** | Raw Accuracy / Brier | **100.00% / 0.0000** | 25.00% |
73
- | **Jevbench-Hard** | Raw Accuracy / Trap Avoidance | **85.59% / 92.45%** | 25.00% |
74
- | **WinoGrande** | Accuracy | **56.00%** | 50.00% |
75
- | **ANLI (Adversarial NLI)** | Macro-F1 | **44.51%** | 33.24% |
76
- | **ARC-Challenge** | Accuracy | **42.00%** | 25.02% |
77
- | **HellaSwag** | Accuracy | **40.00%** | 25.00% |
78
- | **Median Inference Latency** | Time per Request | **33.1 ms** | N/A |
79
 
80
  ---
81
 
@@ -90,12 +100,8 @@ pip install torch transformers huggingface_hub safetensors
90
  ### Loading the Model
91
 
92
  ```python
93
- from huggingface_hub import hf_hub_download
94
- import torch
95
- import sys
96
-
97
- # Clone or import DM-JEPA
98
  from modeling_dm_jepa import DMJEPA
 
99
 
100
  device = "cuda" if torch.cuda.is_available() else "cpu"
101
  model = DMJEPA.from_pretrained("DangerLabs/DM-JEPA", device=device)
@@ -116,15 +122,11 @@ options = [
116
  "View currency exchange rates"
117
  ]
118
 
119
- # Tokenize state
120
  state_enc = tokenizer(state_text, return_tensors="pt", max_length=2048, truncation=True).to(device)
121
-
122
- # Tokenize options
123
  opt_enc = tokenizer(options, return_tensors="pt", padding=True, max_length=256, truncation=True).to(device)
124
- opt_ids = opt_enc.input_ids.unsqueeze(0) # [1, num_options, seq_len]
125
  opt_mask = opt_enc.attention_mask.unsqueeze(0)
126
 
127
- # Evaluate in latent thought space (sub-35ms forward pass)
128
  with torch.no_grad():
129
  out = model(
130
  state_input_ids=state_enc.input_ids,
 
21
  *Ultra-fast, Non-Autoregressive System 1 Decision Model*
22
 
23
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
24
+ [![Decision Index](https://img.shields.io/badge/Decision--Index-0.2.1%20%7C%2018.37-blue)](https://huggingface.co/datasets/DangerLabs/decision-index-results)
25
 
26
  </div>
27
 
 
29
 
30
  ## ⚡ Overview
31
 
32
+ **DM-JEPA** is a non-autoregressive **System 1 Decision Engine** built upon Yann LeCun's Joint Embedding Predictive Architecture (JEPA) principles. Rather than generating textual Chain-of-Thought (CoT) tokens autoregressively, DM-JEPA conducts deliberate multi-step reasoning **entirely within latent thought space**.
33
 
34
+ - **Sub-35ms Latency**: Delivers **33.1 ms** median inference latency per decision request on single consumer GPU hardware, compared to 1,000ms–8,000ms for standard 7B–70B autoregressive LLMs.
35
  - **Zero Token Hallucination**: Directly predicts compatibility energy between environmental state facts and candidate decision criteria.
36
  - **Listwise Joint Decision Space**: Simultaneously evaluates arbitrary sets of decision options in a single forward pass with inter-candidate self-attention and cross-attentive fact verification.
37
+ - **Official Decision Index Full-Panel Score**: **18.37 Balanced Skill** / **37.62 Balanced Raw** across all **150,759 requests** of the full Decision Index suite ([view evaluation dataset](https://huggingface.co/datasets/DangerLabs/decision-index-results)).
38
 
39
  ---
40
 
 
57
 
58
  1. **State Context Encoder**: Built upon `answerdotai/ModernBERT-base` (8192-token context window support).
59
  2. **Criteria Target Encoder**: Computes semantic anchor embeddings for each candidate choice.
60
+ 3. **M-Step Recurrent Latent Predictive Verifier**: Performs recurrent steps of cross-attentive deduction in thought space conditioned on state facts.
61
  4. **Latent Compatibility Scorer**: Normalized inner product scoring with learnable calibration temperature to output calibrated probability distributions over options.
62
 
63
  ---
64
 
65
+ ## 📊 Decision Index Full-Panel Performance (150,759 Requests)
66
 
67
+ Evaluated across the complete **150,759-request suite** of the Decision Index (0.2.1 protocol):
68
 
69
+ | Metric / Area | Score | Notes |
70
+ | :--- | :---: | :--- |
71
+ | **Decision Index (Balanced Skill)** | **18.37** | Full 44-benchmark panel (all 38 scored) |
72
+ | **Raw Index (Balanced Raw)** | **37.62** | Full panel |
73
+ | **Breadth Skill** | **17.86** | Across all 5 domains |
74
+ | **Knowledge & Reasoning** | **25.03% Skill** | 43.51% Raw (99.40% coverage) |
75
+ | **Tools & Automation** | **23.59% Skill** | 35.02% Raw (66.26% coverage) |
76
+ | **Retrieval & Classification** | **15.42% Skill** | 31.45% Raw (93.28% coverage) |
77
+ | **Arts & Human Taste** | **13.11% Skill** | 35.09% Raw (92.35% coverage) |
78
+ | **Language Understanding** | **12.33% Skill** | 39.31% Raw (95.55% coverage) |
79
+
80
+ ### Head-to-Head Benchmark Highlights
81
+
82
+ | Benchmark Domain | Metric | DM-JEPA Result | Leaderboard Champion (`jev`) |
83
  | :--- | :--- | :---: | :---: |
84
+ | **GSM8K (Arithmetic Reasoning)** | Raw Accuracy / Skill | **100.00% / 100.00%** | 79.87% / 75.65% |
85
+ | **Home Appliance Simulator** | Field Accuracy / Field Skill | **91.12% / 82.25%** | 52.27% / 52.27% |
86
+ | **OpenJev High-Trust Suite** | Raw Accuracy / Brier | **100.00% / 0.0000** | ~92.00% |
87
+ | **Jevbench-Hard** | Raw Accuracy / Trap Avoidance | **85.59% / 92.45%** | ~78.00% |
88
+ | **Median Inference Latency** | Time per Request | **33.1 ms** | ~950 ms (~30× faster) |
 
 
 
 
89
 
90
  ---
91
 
 
100
  ### Loading the Model
101
 
102
  ```python
 
 
 
 
 
103
  from modeling_dm_jepa import DMJEPA
104
+ import torch
105
 
106
  device = "cuda" if torch.cuda.is_available() else "cpu"
107
  model = DMJEPA.from_pretrained("DangerLabs/DM-JEPA", device=device)
 
122
  "View currency exchange rates"
123
  ]
124
 
 
125
  state_enc = tokenizer(state_text, return_tensors="pt", max_length=2048, truncation=True).to(device)
 
 
126
  opt_enc = tokenizer(options, return_tensors="pt", padding=True, max_length=256, truncation=True).to(device)
127
+ opt_ids = opt_enc.input_ids.unsqueeze(0)
128
  opt_mask = opt_enc.attention_mask.unsqueeze(0)
129
 
 
130
  with torch.no_grad():
131
  out = model(
132
  state_input_ids=state_enc.input_ids,