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
H4 dev_verdict_h4.json
Browse files- eval/h4/dev_verdict_h4.json +73 -0
eval/h4/dev_verdict_h4.json
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"per_set": {
|
| 3 |
+
"holdout_chips": {
|
| 4 |
+
"lb": 2.0153141021728516,
|
| 5 |
+
"lb_fulltail": 2.007251262664795,
|
| 6 |
+
"base": 2.0126824378967285,
|
| 7 |
+
"lb_vs_base_rel": 0.0012939341831952333,
|
| 8 |
+
"lb_vs_base_ci95": [
|
| 9 |
+
0.0007877314215875231,
|
| 10 |
+
0.0018433852528687564
|
| 11 |
+
],
|
| 12 |
+
"lb_fulltail_vs_base_rel": -0.002762849209830165,
|
| 13 |
+
"lb_fulltail_vs_base_ci95": [
|
| 14 |
+
-0.003780279657803476,
|
| 15 |
+
-0.0017015654593706133
|
| 16 |
+
],
|
| 17 |
+
"n_seqs": 23
|
| 18 |
+
},
|
| 19 |
+
"holdout_physics": {
|
| 20 |
+
"lb": 2.017322301864624,
|
| 21 |
+
"lb_fulltail": 2.012094259262085,
|
| 22 |
+
"base": 2.014240026473999,
|
| 23 |
+
"lb_vs_base_rel": 0.001520944177173078,
|
| 24 |
+
"lb_vs_base_ci95": [
|
| 25 |
+
0.0006466533057391643,
|
| 26 |
+
0.002257457881933078
|
| 27 |
+
],
|
| 28 |
+
"lb_fulltail_vs_base_rel": -0.0010340148583054543,
|
| 29 |
+
"lb_fulltail_vs_base_ci95": [
|
| 30 |
+
-0.0021781119285151362,
|
| 31 |
+
-1.5759651660119163e-05
|
| 32 |
+
],
|
| 33 |
+
"n_seqs": 12
|
| 34 |
+
},
|
| 35 |
+
"holdout_space": {
|
| 36 |
+
"lb": 1.8148294687271118,
|
| 37 |
+
"lb_fulltail": 1.8069287538528442,
|
| 38 |
+
"base": 1.8128981590270996,
|
| 39 |
+
"lb_vs_base_rel": 0.001064121606759727,
|
| 40 |
+
"lb_vs_base_ci95": [
|
| 41 |
+
0.0006397994919097982,
|
| 42 |
+
0.0014875638647936283
|
| 43 |
+
],
|
| 44 |
+
"lb_fulltail_vs_base_rel": -0.0032975950744003057,
|
| 45 |
+
"lb_fulltail_vs_base_ci95": [
|
| 46 |
+
-0.004030649410560727,
|
| 47 |
+
-0.0024991867889184506
|
| 48 |
+
],
|
| 49 |
+
"n_seqs": 33
|
| 50 |
+
},
|
| 51 |
+
"wikipedia": {
|
| 52 |
+
"lb": 0.07447204738855362,
|
| 53 |
+
"lb_fulltail": 0.07440413534641266,
|
| 54 |
+
"base": 0.07404302805662155,
|
| 55 |
+
"lb_vs_base_rel": 0.00538376672193408,
|
| 56 |
+
"lb_vs_base_ci95": [
|
| 57 |
+
-0.0002494675063644536,
|
| 58 |
+
0.011335790297016497
|
| 59 |
+
],
|
| 60 |
+
"lb_fulltail_vs_base_rel": 0.00511905737221241,
|
| 61 |
+
"lb_fulltail_vs_base_ci95": [
|
| 62 |
+
-0.0006487372258561663,
|
| 63 |
+
0.011820399155840275
|
| 64 |
+
],
|
| 65 |
+
"n_seqs": 16
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
"acceptance": {
|
| 69 |
+
"domain_sets_meeting_-2%": "0/3",
|
| 70 |
+
"general_ok": false,
|
| 71 |
+
"verdict": "FAIL"
|
| 72 |
+
}
|
| 73 |
+
}
|