Text Generation
Transformers
Safetensors
bailing_hybrid
conversational
custom_code
compressed-tensors
Instructions to use inclusionAI/Ring-2.5-1T with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use inclusionAI/Ring-2.5-1T with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="inclusionAI/Ring-2.5-1T", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("inclusionAI/Ring-2.5-1T", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use inclusionAI/Ring-2.5-1T with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "inclusionAI/Ring-2.5-1T" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "inclusionAI/Ring-2.5-1T", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/inclusionAI/Ring-2.5-1T
- SGLang
How to use inclusionAI/Ring-2.5-1T 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 "inclusionAI/Ring-2.5-1T" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "inclusionAI/Ring-2.5-1T", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "inclusionAI/Ring-2.5-1T" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "inclusionAI/Ring-2.5-1T", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use inclusionAI/Ring-2.5-1T with Docker Model Runner:
docker model run hf.co/inclusionAI/Ring-2.5-1T
Add files using upload-large-folder tool
Browse files- model-00015-of-00160.safetensors +3 -0
- model-00020-of-00160.safetensors +3 -0
- model-00027-of-00160.safetensors +3 -0
- model-00037-of-00160.safetensors +3 -0
- model-00039-of-00160.safetensors +3 -0
- model-00044-of-00160.safetensors +3 -0
- model-00051-of-00160.safetensors +3 -0
- model-00055-of-00160.safetensors +3 -0
- model-00065-of-00160.safetensors +3 -0
- model-00069-of-00160.safetensors +3 -0
- model-00083-of-00160.safetensors +3 -0
- model-00091-of-00160.safetensors +3 -0
- model-00094-of-00160.safetensors +3 -0
- model-00099-of-00160.safetensors +3 -0
- model-00111-of-00160.safetensors +3 -0
- model-00114-of-00160.safetensors +3 -0
- model-00121-of-00160.safetensors +3 -0
- model-00148-of-00160.safetensors +3 -0
- model-00154-of-00160.safetensors +3 -0
model-00015-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b797119251e0cbfbe48332d9239a82c5314a559b2817b8fce3f0f14bce370bf9
|
| 3 |
+
size 6445692536
|
model-00020-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5409598cdb92d5d5416553e4869ca19447b85c17002fdbfacb9407c9862f5d18
|
| 3 |
+
size 6445693304
|
model-00027-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a39c5461de6dce0e18be5980312ae0ae4c5e352cd0b266be7187364873179cec
|
| 3 |
+
size 6445693208
|
model-00037-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9b42a19b79a912c00ce28943af677a1a8f0584681805d13194d49a3ad0b9e120
|
| 3 |
+
size 6445693304
|
model-00039-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:40b41d8fd572f62a535ddb33d85ddaa1f4772b3485430a7587d8e45227031051
|
| 3 |
+
size 6445693304
|
model-00044-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2e74ff503ac98f95da48862e8163c62a3eebe62b7383fd92f768e0cd78ee1ece
|
| 3 |
+
size 6445693304
|
model-00051-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0711dc45d01bc182f7af0082db098fa9dc516c56fac0cab2153a214ba33ad5de
|
| 3 |
+
size 6445693208
|
model-00055-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7bc0c418fde469d58bcf816ccbced55bcb6db43fd20b4d0f9f3993f70cdc76e2
|
| 3 |
+
size 6445693304
|
model-00065-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7dabbc32ece923b6e5ba75e8bc29b39ccc12347abc1e39ba99d282957a808e78
|
| 3 |
+
size 6445692536
|
model-00069-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f4be480c3b822ea2200fd86d54f8586712213980d5f580f710b4743a0d2438fa
|
| 3 |
+
size 6445693304
|
model-00083-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:750eda9ffd701cecab4e0514e2f814cc9041ad53f60e677c4582db6ca06268a1
|
| 3 |
+
size 6445693208
|
model-00091-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6b29d6e2fb36f6382a8b28ed50f7996acb4ad3a37c97c88fddc95843aac60d95
|
| 3 |
+
size 6445693208
|
model-00094-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3412281f5d5851ebf7a614ed56f1defa5df4845da84be0a7c189ad3bdd0b368b
|
| 3 |
+
size 6445693304
|
model-00099-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:22479e6cb3002aed46d550947a654edb3b7c53c0c3e1f120f9bf699004aec441
|
| 3 |
+
size 6445693208
|
model-00111-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bfadb756931d5b6e2c4f6fa8fe10ce2310fdfc20974700567c9cb2eb003e4e12
|
| 3 |
+
size 6445693304
|
model-00114-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eec5010b73cde481ba6107ff23d54a4cd0e94dbfb6d77fb185be3e732ca96aab
|
| 3 |
+
size 6445692536
|
model-00121-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cc9ed363ee620dc0bbbc81af746d34e701a7c720969ef7289a0d80e54b841284
|
| 3 |
+
size 6445692536
|
model-00148-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f2320e2b69699f40395f62a7c7af166e74edbc5543c7c146dd835e6e9b6adac2
|
| 3 |
+
size 6445693304
|
model-00154-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:445c3afcb786f525d66e9bbb01ce92fa81f710b56c06f67a4ad2b001796479ff
|
| 3 |
+
size 3222846072
|