Text Generation
Transformers
Safetensors
bailing_hybrid
conversational
custom_code
Eval Results
compressed-tensors
Instructions to use inclusionAI/Ling-2.6-1T with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use inclusionAI/Ling-2.6-1T with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="inclusionAI/Ling-2.6-1T", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("inclusionAI/Ling-2.6-1T", trust_remote_code=True, device_map="auto") - Inference
- HuggingChat
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use inclusionAI/Ling-2.6-1T with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "inclusionAI/Ling-2.6-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/Ling-2.6-1T", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/inclusionAI/Ling-2.6-1T
- SGLang
How to use inclusionAI/Ling-2.6-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/Ling-2.6-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/Ling-2.6-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/Ling-2.6-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/Ling-2.6-1T", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use inclusionAI/Ling-2.6-1T with Docker Model Runner:
docker model run hf.co/inclusionAI/Ling-2.6-1T
Add files using upload-large-folder tool
Browse files- model-00003-of-00160.safetensors +3 -0
- model-00013-of-00160.safetensors +3 -0
- model-00015-of-00160.safetensors +3 -0
- model-00018-of-00160.safetensors +3 -0
- model-00019-of-00160.safetensors +3 -0
- model-00020-of-00160.safetensors +3 -0
- model-00027-of-00160.safetensors +3 -0
- model-00028-of-00160.safetensors +3 -0
- model-00033-of-00160.safetensors +3 -0
- model-00036-of-00160.safetensors +3 -0
- model-00039-of-00160.safetensors +3 -0
- model-00083-of-00160.safetensors +3 -0
- model-00101-of-00160.safetensors +3 -0
- model-00105-of-00160.safetensors +3 -0
- model-00109-of-00160.safetensors +3 -0
- model-00132-of-00160.safetensors +3 -0
- model-00149-of-00160.safetensors +3 -0
- model-00157-of-00160.safetensors +3 -0
model-00003-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:03dd1eec1618535214779469e23ba72353b61af188a2b60488ddbb8f502eb489
|
| 3 |
+
size 3222846024
|
model-00013-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:078961c0c6ed64ec8905d779ff9400c5d751efdafdf52b07b9bdeaf27836e57c
|
| 3 |
+
size 6445692536
|
model-00015-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8e378e03f2fac9566a3ccb884dc8fd8b65f3a059475aa7be086aad0d748b76d3
|
| 3 |
+
size 6445692536
|
model-00018-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c79fee507f664724830608553df9066b67de0331cb7df6b525ecc793e638ed73
|
| 3 |
+
size 6445692536
|
model-00019-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a4b4ccfddc305041e575f9e3eeabc1b9783efdcaef776c6cc7a71ca0bc2a143f
|
| 3 |
+
size 6445693208
|
model-00020-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d00086bc6f214db9b56f324fc19691412382e6a802eb147d72b0e60229646342
|
| 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:43bc3fb46a389d0e5032b73a95b7d2f1481573134f8a7420834e8522b67bc4d1
|
| 3 |
+
size 6445693208
|
model-00028-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3b78f7ff5269d90815ba6acd475df844dcd496e20ddfb60c8cd1871b42958dc6
|
| 3 |
+
size 6445693304
|
model-00033-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:04bc18d8c6c17096edd6501d131a1cb91a3d5d223bfed01a17743c7e9fa495b4
|
| 3 |
+
size 6445692536
|
model-00036-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b304667c5b04166a0188d33cdd94fdc527de3dbf718584e5400b1b9ca453f114
|
| 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:fd40738f447bec0611097c4e74225cbe5877f42ce6560bcc2ad2bb88aa27263b
|
| 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:41e8b1f45bfa3df744612e2c6af86d915a206a2957e90f4c830cd65fe7eafd04
|
| 3 |
+
size 6445693208
|
model-00101-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:03c2d13ac1841eda277b45e62bfb32832876d4d2c6cded27cce4987726b64838
|
| 3 |
+
size 6445693304
|
model-00105-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1adc43238bc01489493b1c58d22dcaf0b7cb05285446fe93bc1985064f27105d
|
| 3 |
+
size 6445692536
|
model-00109-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:debd415e0de9136f9f6d207649d16e3ba95d45406b23b2c75d4d9bed6fabd541
|
| 3 |
+
size 6445693304
|
model-00132-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:51a799493bf018eb0e6d7a672dd077b68a2087184ee54523961346391b137e47
|
| 3 |
+
size 6445693304
|
model-00149-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f78e5fb633f08dd06e7994e89a7c82bd6125f69f399e0eae88c1a6295ee66dd6
|
| 3 |
+
size 6445693304
|
model-00157-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b28839d20ad10e1cc2ae721808dcbcbcdd106e37bf4f79bdb29daff0b8fe5985
|
| 3 |
+
size 3222846456
|