Image-Text-to-Text
Transformers
Safetensors
kimi_k31
text-generation
mixture-of-experts
expert-upcycling
scientific-ai
chip-design
space
physics
s-t-a-r
custom_code
8-bit precision
Instructions to use STAR-future/Trinity with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use STAR-future/Trinity with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="STAR-future/Trinity", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForSeq2SeqLM model = AutoModelForSeq2SeqLM.from_pretrained("STAR-future/Trinity", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use STAR-future/Trinity with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "STAR-future/Trinity" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "STAR-future/Trinity", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/STAR-future/Trinity
- SGLang
How to use STAR-future/Trinity with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "STAR-future/Trinity" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "STAR-future/Trinity", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "STAR-future/Trinity" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "STAR-future/Trinity", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use STAR-future/Trinity with Docker Model Runner:
docker model run hf.co/STAR-future/Trinity
Card: activation cache now 2.1 M tokens, 147 GB
Browse files
README.md
CHANGED
|
@@ -35,7 +35,7 @@ orbit two independent ways, and write down exactly what they checked and what th
|
|
| 35 |
Then we wanted a model big enough to sit at the centre of that laboratory. In November 2026 we grew Trinity: we
|
| 36 |
streamed nearly two terabytes of weights through our own tools, created 23,552 new experts by fusing their parents in
|
| 37 |
weight space, verified every one of the 96 shards, captured the internal states of its final layer on
|
| 38 |
-
|
| 39 |
free cloud time, and every artefact is published.
|
| 40 |
|
| 41 |
Trinity is the beginning, not the end: a giant, open model, ready to be specialised, and a laboratory ready to check it.
|
|
@@ -67,7 +67,7 @@ Trinity is the beginning, not the end: a giant, open model, ready to be speciali
|
|
| 67 |
|
| 68 |
| | What it gives you | Size |
|
| 69 |
|---|---|---|
|
| 70 |
-
| [**Trinity activation cache**](https://huggingface.co/datasets/STAR-future/Trinity-k3cache-train2) | the exact internal states of Trinity's final layer on **
|
| 71 |
| [**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 |
|
| 72 |
| [**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 |
|
| 73 |
| [**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 |
|
|
|
|
| 35 |
Then we wanted a model big enough to sit at the centre of that laboratory. In November 2026 we grew Trinity: we
|
| 36 |
streamed nearly two terabytes of weights through our own tools, created 23,552 new experts by fusing their parents in
|
| 37 |
weight space, verified every one of the 96 shards, captured the internal states of its final layer on
|
| 38 |
+
2.1 million tokens of science, and gathered 1.35 TB of open scientific data around it. Every step ran on rented and
|
| 39 |
free cloud time, and every artefact is published.
|
| 40 |
|
| 41 |
Trinity is the beginning, not the end: a giant, open model, ready to be specialised, and a laboratory ready to check it.
|
|
|
|
| 67 |
|
| 68 |
| | What it gives you | Size |
|
| 69 |
|---|---|---|
|
| 70 |
+
| [**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** |
|
| 71 |
| [**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 |
|
| 72 |
| [**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 |
|
| 73 |
| [**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 |
|