File size: 9,733 Bytes
f80e81a
 
 
 
 
7f3ae57
 
f80e81a
 
 
 
 
 
 
 
 
 
 
 
 
 
8382e2d
 
f80e81a
 
 
 
 
45ab611
 
 
 
 
 
 
 
8382e2d
8791d50
45ab611
 
 
 
f80e81a
 
 
 
 
 
 
 
 
9d13bc4
 
 
45ab611
 
f80e81a
 
 
 
 
8382e2d
f80e81a
 
 
 
 
 
 
 
 
 
8791d50
45ab611
 
f80e81a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a5f1056
 
 
 
 
 
45ab611
a5f1056
 
 
 
 
 
 
 
 
 
f80e81a
 
 
 
 
 
 
 
 
 
 
 
 
 
9d13bc4
 
 
 
 
363026c
9d13bc4
363026c
9d13bc4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f80e81a
 
 
 
 
 
 
 
 
 
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
---
base_model: moonshotai/Kimi-K3.1-Pro
license: other
license_name: kimi-k3.1-pro
license_link: LICENSE
pipeline_tag: image-text-to-text
library_name: transformers
tags:
- mixture-of-experts
- expert-upcycling
- scientific-ai
- chip-design
- space
- physics
- s-t-a-r
---

# Trinity

### Where intelligence meets verification.

**3.56 trillion parameters β€” the largest open-weight model in the world as of 23 November 2026, to the best of our
knowledge. 1,152 experts in every MoE layer. Built for chips, space and physics, and free for everyone to download.**

Trinity is the open research model of **S.T.A.R.**: a giant mixture-of-experts model grown to explore one idea β€”
scientific AI should not just answer, it should be **checked**. Trinity proposes; the S.T.A.R. laboratory verifies with
simulators, formal solvers and reproducible receipts.

## Our story

S.T.A.R. began in Italy as an independent project with one conviction: in science and engineering, an AI answer is
only as good as the check behind it. We built verifiers first β€” tools that prove a circuit equivalent, integrate an
orbit two independent ways, and write down exactly what they checked and what they did not.

Then we wanted a model big enough to sit at the centre of that laboratory. In November 2026 we grew Trinity: we
streamed nearly two terabytes of weights through our own tools, created 23,552 new experts by fusing their parents in
weight space, verified every one of the 96 shards, captured the internal states of its final layer on
2.1 million tokens of science, and gathered 1.35 TB of open scientific data around it. Every step ran on rented and
free cloud time, and every artefact is published.

Trinity is the beginning, not the end: a giant, open model, ready to be specialised, and a laboratory ready to check it.

## Why Trinity is different

- **Grown, not just downloaded.** Every one of its 92 MoE layers was expanded with **256 new experts β€” 23,552 in total** β€”
  each born from the weight-space fusion of two parent experts, with its own router row. They are live and routable from
  day one: new capacity waiting to be specialised.
- **Made for science.** Trinity's specialisation targets the domains where a wrong answer costs the most: digital
  hardware and RTL, orbital mechanics and space systems, physics.
- **Verification first.** Trinity lives inside S.T.A.R., an ecosystem of verifiers: equivalence checking for circuits,
  independent integrators for orbits, exhaustive and formal checks β€” every result comes with its method and its receipt.
- **Measured, not claimed.** On a sealed set of papers published after 1 November 2026, the Trinity Science Adapter
  goes **below the base checkpoint on chip design (βˆ’0.20%) and physics (βˆ’0.35%)**, with 95% intervals entirely below
  zero and general text within its guard β€” see [Evaluation](#evaluation).
- **Open all the way down.** Weights, configuration, the activation cache of its last layer and more than 1.3 TB of
  scientific data are public, with no access request, so anyone can study, specialise and test Trinity.

## At a glance

| | |
|---|---|
| Parameters | **3.56 T** (3,558,205,159,168, counted by Hugging Face from the shards) β€” the previous largest open-weight models count about 2.8 T |
| Layers | 93, of which **92 mixture-of-experts layers** |
| Routed experts per MoE layer | **1,152** (896 + 256 new) |
| New experts | **23,552**, weight-space fusions of parent experts, routable |
| Weights | 96 `.safetensors` shards, MXFP4, 1.97 TB |
| Integrity | every shard header verified: 1,152 experts and a 1,152-row router in each MoE layer |

## The Trinity ecosystem

| | What it gives you | Size |
|---|---|---|
| [**Trinity activation cache**](https://huggingface.co/datasets/STAR-future/Trinity-k3cache-train2) ([train2](https://huggingface.co/datasets/STAR-future/Trinity-k3cache-train2) + [train3](https://huggingface.co/datasets/STAR-future/Trinity-k3cache-train3)) | the exact internal states of Trinity's final layer on **2.1 million tokens** of chips, space, physics and chemistry science plus general text: specialise and evaluate Trinity's final layer on a **single GPU**, without loading 2 TB | **147 GB** |
| [**Trinity-SciData**](https://huggingface.co/datasets/STAR-future/Trinity-SciData) | open chip-design kits and flows (SKY130, GF180MCU, IHP SG13G2, OpenROAD, Yosys), spacecraft ephemerides, space weather, TESS light curves, ChEMBL, PubChem, the Protein Data Bank and solar-energy data, with tables you can query in the viewer and SQL console | **1.35 TB**, 31,437 files |
| [**Trinity-SpaceData**](https://huggingface.co/datasets/STAR-future/Trinity-SpaceData) | satellite catalogues, conjunction-analysis data and space weather, licence-checked file by file | 829 files |
| [**Trinity Starter**](https://andrea07072000.github.io/S.T.A.R.-/phisis/#trinity) | for any computer: checks your hardware before big downloads, runs S.T.A.R. verification labs offline (an orbit cross-check and an exhaustive 8-bit adder proof over all 131,072 inputs) and guides you to the full model | 21 KB |

## Get Trinity

**Any computer:** start with [Trinity Starter](https://andrea07072000.github.io/S.T.A.R.-/phisis/#trinity).

**Research server** (multi-GPU, more than 2.1 TB of free disk):

```bash
hf download STAR-future/Trinity --local-dir ./Trinity
```

`config.json`, `model.safetensors.index.json` and the tokenizer are included. S.T.A.R. runs Trinity with its own
layer-by-layer reference implementation.

## Connect S.T.A.R. tools to Trinity

Trinity speaks the standard OpenAI-compatible chat API once it is served, so every S.T.A.R. tool that accepts an
OpenAI-compatible provider connects with three settings: a base URL, a model name and (optionally) a key.

```bash
# on the GPU server (SGLang supports this architecture; S.T.A.R. validation of serving is in progress)
python -m sglang.launch_server --model-path ./Trinity --trust-remote-code --tp 16 --port 30000
```

```python
from openai import OpenAI
trinity = OpenAI(base_url="http://<server>:30000/v1", api_key="none")
reply = trinity.chat.completions.create(model="Trinity", messages=[{"role": "user", "content": "Propose a 4-bit adder in Verilog."}])
# then hand the answer to a S.T.A.R. verifier (equivalence check, simulator, solver) and keep the receipt
```

## Where Trinity is going

These are the goals of the programme, published as research directions:

- **Domain experts:** train the 23,552 new experts into specialists for hardware, space and physics, while keeping
  general knowledge intact.
- **Trinity + S.T.A.R.:** measure how much a model gains when every answer can be simulated, proved or refuted by a tool.
- **Open benchmarks:** AstroMLab, VerilogEval v2, RTLLM v2 and a tool-assisted scientific benchmark, with every run
  and its raw outputs published.
- **Verified discovery:** circuits, trajectories and physical results proposed by the model and confirmed by
  independent solvers.

## Evaluation

**Trinity Science Adapter β€” measured on a sealed held-out set (25 November 2026).** Trained on the public
2.1-million-token activation cache, the adapter (a 44 M-parameter low-rank update of the output head plus low-rank
updates of the final layer's shared experts, expert up-projection and final norm, [`eval/h6/full_tail_wsp.pt`](./eval/h6)) **beats the base
checkpoint on chip design and physics** on 61 sequences of papers published after 1 November 2026 β€” a set kept outside
every training run, preregistered, and opened only for this test:

| Sealed held-out set | Sequences | Science Adapter vs base checkpoint (95% interval) | vs Trinity without adapter |
|---|---|---|---|
| Chip design | 15 | **βˆ’0.20%** [βˆ’0.33%, βˆ’0.07%] | **βˆ’0.35%** [βˆ’0.45%, βˆ’0.25%] |
| Physics | 15 | **βˆ’0.35%** [βˆ’0.46%, βˆ’0.23%] | **βˆ’0.50%** [βˆ’0.58%, βˆ’0.43%] |
| Space | 15 | on par (βˆ’0.04% [βˆ’0.16%, +0.07%]) | **βˆ’0.18%** [βˆ’0.27%, βˆ’0.09%] |
| General text (Wikipedia) | 16 | +0.07% [βˆ’0.03%, +0.18%], within the preregistered +0.5% guard | |

**Bits per byte** on exactly the same bytes for every arm (science domains, byte-exact alignment): Science Adapter
**0.5437**, base checkpoint 0.5448 β€” a difference of βˆ’0.0011 [βˆ’0.0015, βˆ’0.0006] bits per byte.

### How we evaluate

- **Preregistered.** Metric, held-out set, guard on general text and publication rule were written down before the
  run ([`eval/`](./eval) records); hardware-driven changes were logged before any number existed.
- **Sealed.** The confirmation set is held privately, never trained on, and checked by 13-gram overlap against every
  training corpus. An earlier, smaller result that did not replicate on it was withdrawn from this card.
- **Fair.** Full vocabulary (163,840 tokens), 2,048-token sequences, fixed format tokens excluded, paired bootstrap over
  sequences (4,000 resamples), bits per byte on identical bytes when tokenizers differ.
- **Recomputed.** Every number above was recomputed independently from the raw per-token arrays
  (`eval/h6_sealed/verdict_fulltail.raw.npz`, `eval/h5_sealed/`).

Next on the roadmap: training the 23,552 new experts themselves, a larger activation cache from the 27,324-document
open corpus already published in `eval/data/`, and public-benchmark runs.

## Intended use

Research on very large mixture-of-experts models and on scientific and engineering AI. Answers about critical systems
must be verified before use β€” that is exactly what S.T.A.R. is for.

## License

Distributed under the upstream model license, included unchanged in [`LICENSE`](LICENSE). S.T.A.R.'s additions: the
256 new experts per MoE layer, their router rows and biases, and the expert count in `config.json`.