Instructions to use ldwang/DeepScaleR-1.5B-Preview-Reproduce with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ldwang/DeepScaleR-1.5B-Preview-Reproduce with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ldwang/DeepScaleR-1.5B-Preview-Reproduce")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ldwang/DeepScaleR-1.5B-Preview-Reproduce", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use ldwang/DeepScaleR-1.5B-Preview-Reproduce with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ldwang/DeepScaleR-1.5B-Preview-Reproduce" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ldwang/DeepScaleR-1.5B-Preview-Reproduce", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/ldwang/DeepScaleR-1.5B-Preview-Reproduce
- SGLang
How to use ldwang/DeepScaleR-1.5B-Preview-Reproduce 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 "ldwang/DeepScaleR-1.5B-Preview-Reproduce" \ --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": "ldwang/DeepScaleR-1.5B-Preview-Reproduce", "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 "ldwang/DeepScaleR-1.5B-Preview-Reproduce" \ --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": "ldwang/DeepScaleR-1.5B-Preview-Reproduce", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use ldwang/DeepScaleR-1.5B-Preview-Reproduce with Docker Model Runner:
docker model run hf.co/ldwang/DeepScaleR-1.5B-Preview-Reproduce
Update README.md
Browse files
README.md
CHANGED
|
@@ -17,7 +17,7 @@ pipeline_tag: text-generation
|
|
| 17 |
|
| 18 |
## Overview
|
| 19 |
This model is a reproduction of the [agentica-project/deepscaler](https://github.com/agentica-project/deepscaler) project.
|
| 20 |
-
We have reproduced the results in the repo on an **8x80G** node, achieving an average score of **
|
| 21 |
|
| 22 |
|
| 23 |
## Training
|
|
@@ -48,7 +48,7 @@ nohup bash run_deepscaler_1.5b_24k.sh --model $MODEL_PATH > stage3.log 2>&1 &
|
|
| 48 |
| Still-1.5B | 32.5 | 84.4 | 66.7 | 29.0 | 45.4 | 51.6 |
|
| 49 |
| DeepScaleR-1.5B-Preview | 43.1 |87.8 |73.6 | 30.2 |50.0 |57.0 |
|
| 50 |
| [DeepScaleR-1.5B-Preview-Reproduce](https://huggingface.co/junnyu/DeepScaleR-1.5B-Preview-Reproduce) | 40.4 |87.9 | 72.0 | 31.5 | 50.2 |56.4|
|
| 51 |
-
| <strong>🎉 DeepScaleR-1.5B-Preview-Reproduce</strong> | 42.3 |88.0 | 73.2 |
|
| 52 |
| O1-Preview | 40.0 | 81.4 | - | - | - | - |
|
| 53 |
|
| 54 |
|
|
|
|
| 17 |
|
| 18 |
## Overview
|
| 19 |
This model is a reproduction of the [agentica-project/deepscaler](https://github.com/agentica-project/deepscaler) project.
|
| 20 |
+
We have reproduced the results in the repo on an **8x80G** node, achieving an average score of **56.7**.
|
| 21 |
|
| 22 |
|
| 23 |
## Training
|
|
|
|
| 48 |
| Still-1.5B | 32.5 | 84.4 | 66.7 | 29.0 | 45.4 | 51.6 |
|
| 49 |
| DeepScaleR-1.5B-Preview | 43.1 |87.8 |73.6 | 30.2 |50.0 |57.0 |
|
| 50 |
| [DeepScaleR-1.5B-Preview-Reproduce](https://huggingface.co/junnyu/DeepScaleR-1.5B-Preview-Reproduce) | 40.4 |87.9 | 72.0 | 31.5 | 50.2 |56.4|
|
| 51 |
+
| <strong>🎉 DeepScaleR-1.5B-Preview-Reproduce</strong> | 42.3 |88.0 | 73.2 | 30.3 | 49.7 |56.7|
|
| 52 |
| O1-Preview | 40.0 | 81.4 | - | - | - | - |
|
| 53 |
|
| 54 |
|