Instructions to use agentica-org/DeepScaleR-1.5B-Preview with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use agentica-org/DeepScaleR-1.5B-Preview with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="agentica-org/DeepScaleR-1.5B-Preview")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("agentica-org/DeepScaleR-1.5B-Preview") model = AutoModelForCausalLM.from_pretrained("agentica-org/DeepScaleR-1.5B-Preview") - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use agentica-org/DeepScaleR-1.5B-Preview with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "agentica-org/DeepScaleR-1.5B-Preview" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "agentica-org/DeepScaleR-1.5B-Preview", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/agentica-org/DeepScaleR-1.5B-Preview
- SGLang
How to use agentica-org/DeepScaleR-1.5B-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 "agentica-org/DeepScaleR-1.5B-Preview" \ --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": "agentica-org/DeepScaleR-1.5B-Preview", "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 "agentica-org/DeepScaleR-1.5B-Preview" \ --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": "agentica-org/DeepScaleR-1.5B-Preview", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use agentica-org/DeepScaleR-1.5B-Preview with Docker Model Runner:
docker model run hf.co/agentica-org/DeepScaleR-1.5B-Preview
H100 single GPU most suitable example
#21 opened 10 months ago
by
fif3
Possible version of this model that will support Tool-integrated Reasoning (TIR)?
2
#19 opened about 1 year ago
by
nvhf
Non- Math Use Cases?
โค๏ธ 1
3
#18 opened about 1 year ago
by
DeFactOfficial
Other languages than English not well supported
1
#17 opened about 1 year ago
by
scientist082
Genuinely Impressive Little Model!
๐ 2
2
#16 opened about 1 year ago
by
SytanSD
Why use a small model like the 1.5B? Instead of a larger one? Is there a reason?
4
#15 opened about 1 year ago
by
likewendy
Can we run this on CPU?
1
#14 opened about 1 year ago
by
Amarjitkr
I have difficulty to trigger thinking process
3
#12 opened about 1 year ago
by
shing3232
GGUF Quantizations
1
#11 opened about 1 year ago
by
Garydesu
How to use it? Can I have a conversation?
1
#10 opened about 1 year ago
by
viaho
0.5B Model
๐ 2
1
#9 opened about 1 year ago
by
chrisvnz
Efficient Fine-Tuning of DeepScaleR-1.5B Without Increasing Parameters
4
#8 opened over 1 year ago
by
HassanStar
Larger models?
๐๐ 5
1
#7 opened over 1 year ago
by
DonGan13
Love it <3
1
#5 opened over 1 year ago
by
cutycat2000x
This is wild, a new paradigm emerges!
1
#4 opened over 1 year ago
by
blackcat1402
just to say that you did a marvellous job with this one, thank you for allowing us to experience it.
1
#2 opened over 1 year ago
by
asidaddy
Are you planning to open source your veRL fork?
1
#1 opened over 1 year ago
by
philschmid