Safetensors
English
qwen2
sliuau's picture
Update README.md
2ab3e96 verified
|
raw
history blame
5.05 kB
# Model Overview
<div align="center">
<span style="font-family: default; font-size: 1.5em;">DLER-R1-1.5B</span>
<div>
🚀 The leading efficient reasoning model for cutting-edge research and development 🌟
</div>
</div>
![Comparison between DeepSeek-R1-1.5B and DLER-R1-1.5B](./latency_8b.png)
### Description:
DLER-Qwen-R1-1.5B is an ultra-efficient 1.5B open-weight reasoning model designed for challenging tasks such as mathematics, programming, and scientific problem-solving. It is trained with the DLER algorithm on agentica-org/DeepScaleR-Preview-Dataset. Compared to DeepSeek’s 1.5B model, DLER-Qwen-R1-1.5B achieves substantial efficiency gains, reducing the average response length by nearly 80% across diverse mathematical benchmarks with better accuracy.
This model is for research and development only.
### Deployment Geography:
Global <br>
### Use Case: <br>
Researchers and developers can use this model to solve math, coding, and STEM questions.
### Release Date: <br>
Hugging Face 9/10/2025 via https://huggingface.co/nvidia/DLER-R1-1.5B <br>
## Model Architecture:
**Architecture Type:** Dense decoder-only Transformer model <br>
**Network Architecture:** [DeepSeek-R1-1.5B](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B) <br>
**This model was developed based on DeepSeek-R1-Distill-Qwen-1.5B <br>
## Software Integration:
**Runtime Engine(s):** Transformers
**Supported Hardware Microarchitecture Compatibility:** <br>
* NVIDIA Ampere <br>
* NVIDIA Hopper <br>
**Preferred/Supported Operating System(s):**
* Linux <br>
The integration of foundation and fine-tuned models into AI systems requires additional testing using use-case-specific data to ensure safe and effective deployment. Following the V-model methodology, iterative testing and validation at both unit and system levels are essential to mitigate risks, meet technical and functional requirements, and ensure compliance with safety and ethical standards before deployment.
## Model Version(s):
1.0
### Training Dataset:
| Dataset | Link |
|---------------------------|-------------------------------------------------------------------------------------------|
| DeepScaleR-Preview-Dataset | [Link](https://huggingface.co/datasets/agentica-org/DeepScaleR-Preview-Dataset) |
**Properties:** 479K question and answer pairs <br>
### Evaluation Results:
**Benchmark Score <br>
|Model | MATH | Length | AIME | Length | AMC | Length | Minerva |Length | Olympiad |Length | Total Avg |
|--------------------|----------|------------|--------|----------|-------|----------|---------|----------|----------|----------|--------------|
| Deepseek-R1-1.5B | 84.31 | 5500 | 29.79 | 16916 | 61.97 | 10967 | 38.41 | 7494 | 44.07 | 11620 | 10499 |
| **DLER-R1-1.5B** | **86.95 (+2.64%)** | **1652 (-70%)** | **34.375 (+4.59%)** | **3551 (-80%)** | **70.48 (+8.51%)** | **2537 (-77%)** | **43.58 (+5.18%)** | **2029 (-73%)** | **48.314 (+4.24%)** | **2563 (-78%)** | **2466 (-77%)** |
# Inference:
```python
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
model = AutoModelForCausalLM.from_pretrained('nvidia/DLER-R1-1.5B').to(device)
tokenizer = AutoTokenizer.from_pretrained('nvidia/DLER-R1-1.5B')
messages = [
{"role": "user", "content": "Convert the point $(0,3)$ in rectangular coordinates to polar coordinates. Enter your answer in the form $(r,\\theta),$ where $r > 0$ and $0 \\le \\theta < 2 \\pi.$"+" Let's think step by step and output the final answer within \\boxed{}."},
]
tokenized_chat = tokenizer.apply_chat_template(
messages,
tokenize=True,
add_generation_prompt=True,
return_tensors="pt"
).to(model.device)
outputs = model.generate(
tokenized_chat,
max_new_tokens=10000,
eos_token_id=tokenizer.eos_token_id
)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
```
### License/Terms of Use
TBD
https://docs.google.com/spreadsheets/d/15AiIBHLsm-HY1RZH5nkaA0siE-5grHke9uFYaiD_28E/edit?gid=1088371820#gid=1088371820
## Ethical Considerations:
NVIDIA believes Trustworthy AI is a shared responsibility and we have established policies and practices to enable development for a wide array of AI applications. When downloaded or used in accordance with our terms of service, developers should work with their internal model team to ensure this model meets requirements for the relevant industry and use case and addresses unforeseen product misuse.
Please report security vulnerabilities or NVIDIA AI Concerns [here](https://www.nvidia.com/en-us/support/submit-security-vulnerability/).
## Citation
If you find our dataset helpful, please cite the following [paper]():
```
```