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
h5_sealed_eval.log
Browse files- eval/h5_sealed_eval.log +66 -0
eval/h5_sealed_eval.log
CHANGED
|
@@ -1 +1,67 @@
|
|
| 1 |
You have used a large amount of egress over the last 30 days. To protect our platform health, once you reach your account's max quota, your downloads will be throttled or blocked. If you regularly need more, you may consider upgrading your current user or organization plan to benefit from higher allowances.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
You have used a large amount of egress over the last 30 days. To protect our platform health, once you reach your account's max quota, your downloads will be throttled or blocked. If you regularly need more, you may consider upgrading your current user or organization plan to benefit from higher allowances.
|
| 2 |
+
{"domain_sets_meeting_-2%": "0/3", "general_ok": true, "verdict": "FAIL"} {
|
| 3 |
+
"holdout_chips": {
|
| 4 |
+
"lb": 1.9654088020324707,
|
| 5 |
+
"lb_fulltail": 1.9629794359207153,
|
| 6 |
+
"base": 1.962363839149475,
|
| 7 |
+
"lb_vs_base_rel": 0.0015411931090056896,
|
| 8 |
+
"lb_vs_base_ci95": [
|
| 9 |
+
0.0008274689593235962,
|
| 10 |
+
0.0021819700137712056
|
| 11 |
+
],
|
| 12 |
+
"lb_fulltail_vs_base_rel": 0.0002568952040746808,
|
| 13 |
+
"lb_fulltail_vs_base_ci95": [
|
| 14 |
+
-0.000999132529250346,
|
| 15 |
+
0.0014313935098471116
|
| 16 |
+
],
|
| 17 |
+
"n_seqs": 15
|
| 18 |
+
},
|
| 19 |
+
"holdout_physics": {
|
| 20 |
+
"lb": 2.030272960662842,
|
| 21 |
+
"lb_fulltail": 2.0262444019317627,
|
| 22 |
+
"base": 2.0272367000579834,
|
| 23 |
+
"lb_vs_base_rel": 0.0014904385898262262,
|
| 24 |
+
"lb_vs_base_ci95": [
|
| 25 |
+
0.0006742609897628426,
|
| 26 |
+
0.0022617472161073236
|
| 27 |
+
],
|
| 28 |
+
"lb_fulltail_vs_base_rel": -0.0005348465056158602,
|
| 29 |
+
"lb_fulltail_vs_base_ci95": [
|
| 30 |
+
-0.0015674914291594177,
|
| 31 |
+
0.0005464247195050117
|
| 32 |
+
],
|
| 33 |
+
"n_seqs": 15
|
| 34 |
+
},
|
| 35 |
+
"holdout_space": {
|
| 36 |
+
"lb": 1.6912583112716675,
|
| 37 |
+
"lb_fulltail": 1.6891752481460571,
|
| 38 |
+
"base": 1.6890047788619995,
|
| 39 |
+
"lb_vs_base_rel": 0.0013437153538689017,
|
| 40 |
+
"lb_vs_base_ci95": [
|
| 41 |
+
0.0008031572317122482,
|
| 42 |
+
0.001932191880769096
|
| 43 |
+
],
|
| 44 |
+
"lb_fulltail_vs_base_rel": 6.741214019712061e-05,
|
| 45 |
+
"lb_fulltail_vs_base_ci95": [
|
| 46 |
+
-0.0008766205093706958,
|
| 47 |
+
0.0009333564084954559
|
| 48 |
+
],
|
| 49 |
+
"n_seqs": 15
|
| 50 |
+
},
|
| 51 |
+
"wikipedia": {
|
| 52 |
+
"lb": 1.4581892490386963,
|
| 53 |
+
"lb_fulltail": 1.4590559005737305,
|
| 54 |
+
"base": 1.4576597213745117,
|
| 55 |
+
"lb_vs_base_rel": 0.00021086647757329047,
|
| 56 |
+
"lb_vs_base_ci95": [
|
| 57 |
+
-0.0005579881559242495,
|
| 58 |
+
0.000990384438773617
|
| 59 |
+
],
|
| 60 |
+
"lb_fulltail_vs_base_rel": 0.0010318405693396926,
|
| 61 |
+
"lb_fulltail_vs_base_ci95": [
|
| 62 |
+
0.00014971287127991674,
|
| 63 |
+
0.0020950764883309603
|
| 64 |
+
],
|
| 65 |
+
"n_seqs": 16
|
| 66 |
+
}
|
| 67 |
+
}
|