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, dtype="auto") - Inference
- HuggingChat
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- 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
Update readme by removing the download section and add zenmux api
Browse files
README.md
CHANGED
|
@@ -49,33 +49,18 @@ Ling-2.6-1T demonstrates balanced excellence across reasoning, coding, and tool-
|
|
| 49 |
</p>
|
| 50 |
|
| 51 |
|
| 52 |
-
## Model Downloads
|
| 53 |
-
|
| 54 |
-
You can download Ling-2.6-1T from the following table. If you are located in mainland China, we also provide the model on ModelScope.cn to speed up the download process.
|
| 55 |
-
|
| 56 |
-
<center>
|
| 57 |
-
|
| 58 |
-
| **Model** | **Context Length** | **Download** |
|
| 59 |
-
| :---------: | :----------------: | :---------------------------------------------------------------------------------------------------------------------------------------------------: |
|
| 60 |
-
| Ling-2.6-1T | 256K -> 1M (YaRN) | [🤗 HuggingFace]() [🤖 ModelScope]() |
|
| 61 |
-
</center>
|
| 62 |
-
|
| 63 |
Note: If you are interested in the previous version, please visit the past model collections on [Huggingface](https://huggingface.co/inclusionAI) or [ModelScope](https://modelscope.cn/organization/inclusionAI).
|
| 64 |
|
| 65 |
## Quickstart
|
| 66 |
|
| 67 |
-
### 🚀 Try Online
|
| 68 |
-
|
| 69 |
-
Coming Soon
|
| 70 |
-
|
| 71 |
### 🔌 API Usage
|
| 72 |
|
| 73 |
https://openrouter.ai/inclusionai/ling-2.6-1t:free
|
| 74 |
|
|
|
|
| 75 |
|
| 76 |
## Deployment
|
| 77 |
|
| 78 |
-
|
| 79 |
### SGLang
|
| 80 |
|
| 81 |
#### Environment Preparation
|
|
|
|
| 49 |
</p>
|
| 50 |
|
| 51 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
Note: If you are interested in the previous version, please visit the past model collections on [Huggingface](https://huggingface.co/inclusionAI) or [ModelScope](https://modelscope.cn/organization/inclusionAI).
|
| 53 |
|
| 54 |
## Quickstart
|
| 55 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
### 🔌 API Usage
|
| 57 |
|
| 58 |
https://openrouter.ai/inclusionai/ling-2.6-1t:free
|
| 59 |
|
| 60 |
+
https://zenmux.ai/inclusionai/ling-2.6-1t
|
| 61 |
|
| 62 |
## Deployment
|
| 63 |
|
|
|
|
| 64 |
### SGLang
|
| 65 |
|
| 66 |
#### Environment Preparation
|