Instructions to use inclusionAI/Ring-lite-distill-preview with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use inclusionAI/Ring-lite-distill-preview with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="inclusionAI/Ring-lite-distill-preview", 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-lite-distill-preview", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use inclusionAI/Ring-lite-distill-preview with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "inclusionAI/Ring-lite-distill-preview" # 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-lite-distill-preview", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/inclusionAI/Ring-lite-distill-preview
- SGLang
How to use inclusionAI/Ring-lite-distill-preview 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-lite-distill-preview" \ --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-lite-distill-preview", "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-lite-distill-preview" \ --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-lite-distill-preview", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use inclusionAI/Ring-lite-distill-preview with Docker Model Runner:
docker model run hf.co/inclusionAI/Ring-lite-distill-preview
Update README.md
Browse files
README.md
CHANGED
|
@@ -40,9 +40,9 @@ In order to fully evaluate the model's performance, we examined Ring-lite-distil
|
|
| 40 |
|
| 41 |
| **Model** | **AIME24** | **MATH-500** | **GPQA-diamond** | **LiveCodeBench** |
|
| 42 |
| :----------------: | :---------------: | :-------------------: | :----------------: | :----------: |
|
| 43 |
-
| DeepSeek-R1-Distill-Qwen-7B (reported) | 55.5 | 92.8 | 49.1 |
|
| 44 |
-
| DeepSeek-R1-Distill-Qwen-7B (reproduce) | 53.2 | 93.7 | 50.4 |
|
| 45 |
-
| Ring-lite-distill |
|
| 46 |
|
| 47 |
</div>
|
| 48 |
|
|
@@ -50,10 +50,11 @@ In order to fully evaluate the model's performance, we examined Ring-lite-distil
|
|
| 50 |
|
| 51 |
<div align="center">
|
| 52 |
|
| 53 |
-
| **Model** | **IFEval**
|
| 54 |
-
| :----------------: | :---------------: | :-------------------: | :----------------: | :----------: |
|
| 55 |
-
| DeepSeek-R1-Distill-Qwen-7B (reproduce) | 32.3 | 36.8
|
| 56 |
-
|
|
|
|
|
| 57 |
|
| 58 |
</div>
|
| 59 |
More details will be reported in our technical report [TBD]
|
|
|
|
| 40 |
|
| 41 |
| **Model** | **AIME24** | **MATH-500** | **GPQA-diamond** | **LiveCodeBench** |
|
| 42 |
| :----------------: | :---------------: | :-------------------: | :----------------: | :----------: |
|
| 43 |
+
| DeepSeek-R1-Distill-Qwen-7B (reported) | 55.5 | 92.8 | 49.1 | 37.6 |
|
| 44 |
+
| DeepSeek-R1-Distill-Qwen-7B (reproduce) | 53.2 | 93.7 | 50.4 | 36.5 |
|
| 45 |
+
| Ring-lite-distill | 56.3 | 93.7 | 46.2 | 31.9 |
|
| 46 |
|
| 47 |
</div>
|
| 48 |
|
|
|
|
| 50 |
|
| 51 |
<div align="center">
|
| 52 |
|
| 53 |
+
| **Model** | **IFEval** | **T-eval** | **BFCL_v2** | **MMLU** |
|
| 54 |
+
| :----------------: | :---------------: | :-------------------: | :----------------: | :----------: |
|
| 55 |
+
| DeepSeek-R1-Distill-Qwen-7B (reproduce) | 32.3 | 36.8 | 38.9 | 44.1 |
|
| 56 |
+
| Ling-lite | 78.0 | 85.6 | 67.9 | 71.3 |
|
| 57 |
+
| Ring-lite-distill | 75.3 | 78.3 | 63.0 | 63.3 |
|
| 58 |
|
| 59 |
</div>
|
| 60 |
More details will be reported in our technical report [TBD]
|