Update README.md
Browse files
README.md
CHANGED
@@ -1 +1,140 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
library_name: transformers
|
4 |
+
language:
|
5 |
+
- en
|
6 |
+
base_model:
|
7 |
+
- Qwen/Qwen2.5-14B
|
8 |
+
pipeline_tag: text-generation
|
9 |
+
---
|
10 |
+
|
11 |
+
# Datarus-R1-14B-preview
|
12 |
+
|
13 |
+
<div align="center">
|
14 |
+
<img src="https://i.postimg.cc/7hsStNgm/logo-icon-2-1.png" alt="Datarus Logo" width="150"/>
|
15 |
+
|
16 |
+
[](https://huggingface.co/DatarusAI/Datarus-R1-14B-preview)
|
17 |
+
[](LICENSE)
|
18 |
+
[](https://datarus.ai)
|
19 |
+
[](https://chat.datarus.ai)
|
20 |
+
[](https://arxiv.org/abs/XXXX.XXXXX)
|
21 |
+
</div>
|
22 |
+
|
23 |
+
## 🚀 Overview
|
24 |
+
|
25 |
+
**Datarus-R1-14B-Preview** is a 14B-parameter open-weights language model fine-tuned from Qwen2.5-14B-Instruct, designed to act as a virtual data analyst and graduate-level problem solver. Unlike traditional models trained on isolated Q&A pairs, Datarus learns from complete analytical trajectories—including reasoning steps, code execution, error traces, self-corrections, and final conclusions—all captured in a ReAct-style notebook format.
|
26 |
+
|
27 |
+
### Key Highlights
|
28 |
+
|
29 |
+
- **🎯 State-of-the-art efficiency**: Surpasses similar-sized models and competes with 32B+ models while using 18-49% fewer tokens
|
30 |
+
- **🔄 Dual reasoning interfaces**: Supports both Agentic (ReAct) mode for interactive analysis and Reflection (CoT) mode for concise documentation
|
31 |
+
- **📊 Superior performance**: Achieves up to 30% higher accuracy on AIME 2024/2025 and LiveCodeBench
|
32 |
+
- **💡 "AHA-moment" pattern**: Exhibits efficient hypothesis refinement in 1-2 iterations, avoiding circular reasoning loops
|
33 |
+
|
34 |
+
## 🔗 Quick Links
|
35 |
+
|
36 |
+
- 🌐 **Website**: [https://datarus.ai](https://datarus.ai)
|
37 |
+
- 💬 **Try the Demo**: [https://chat.datarus.ai](https://chat.datarus.ai)
|
38 |
+
- 🛠️ **Jupyter Agent**: [GitHub Repository](https://github.com/DatarusAI/Datarus-JupyterAgent)
|
39 |
+
- 📄 **Paper**: [Datarus-R1: An Adaptive Multi-Step Reasoning LLM](https://arxiv.org/abs/XXXX.XXXXX)
|
40 |
+
|
41 |
+
## 📊 Performance
|
42 |
+
|
43 |
+
### Benchmark Results
|
44 |
+
|
45 |
+
| Benchmark | Datarus-R1-14B-Preview | QwQ-32B | Phi-4-reasoning | DeepSeek-R1-Distill-14B |
|
46 |
+
|-----------|----------------|---------|-----------------|-------------------------|
|
47 |
+
| **LiveCodeBench v6** | 57.7 | 56.6 | 52.6 | 48.6 |
|
48 |
+
| **AIME 2024** | 70.1 | 76.2 | 74.6* | - |
|
49 |
+
| **AIME 2025** | 66.2 | 66.2 | 63.1* | - |
|
50 |
+
| **GPQA Diamond** | 62.1 | 60.1 | 55.0 | 58.6 |
|
51 |
+
|
52 |
+
*Reported values from official papers
|
53 |
+
|
54 |
+
### Token Efficiency and Performance
|
55 |
+
|
56 |
+
<div align="center">
|
57 |
+
<img src="https://i.postimg.cc/NMSppNM4/perf-efficiency.png" alt="LCB-Efficiency" width="600"/>
|
58 |
+
<img src="https://i.postimg.cc/nV341Ssf/efficiency.png" alt="Efficiency" width="600" />
|
59 |
+
</div>
|
60 |
+
|
61 |
+
## 🎯 Model Card
|
62 |
+
|
63 |
+
### Model Details
|
64 |
+
|
65 |
+
- **Model Type**: Language Model for Reasoning and Data Analysis
|
66 |
+
- **Parameters**: 14.8B
|
67 |
+
- **Training Data**: 144,000 synthetic analytical trajectories across finance, medicine, numerical analysis, and other quantitative domains + A curated collection of reasoning datasets.
|
68 |
+
- **Language**: English
|
69 |
+
- **License**: Apache 2.0
|
70 |
+
|
71 |
+
### Intended Use
|
72 |
+
|
73 |
+
#### Primary Use Cases
|
74 |
+
- **Data Analysis**: Automated data exploration, statistical analysis, and visualization
|
75 |
+
- **Mathematical Problem Solving**: Graduate-level mathematics including AIME-level problems
|
76 |
+
- **Code Generation**: Creating analytical scripts and solving programming challenges
|
77 |
+
- **Scientific Reasoning**: Complex problem-solving in physics, chemistry, and other sciences
|
78 |
+
- **Interactive Notebooks**: Building complete analysis notebooks with iterative refinement
|
79 |
+
|
80 |
+
### Dual Mode Usage
|
81 |
+
|
82 |
+
#### Agentic Mode (for interactive analysis)
|
83 |
+
- Use `<step>`, `<thought>`, `<action>`, `<action_input>`, `<observation>` tags
|
84 |
+
- Enables iterative code execution and refinement
|
85 |
+
- Best for data analysis, simulations, and exploratory tasks
|
86 |
+
|
87 |
+
#### Reflection Mode (for documentation)
|
88 |
+
- Use `<think>` and `<answer>` tags
|
89 |
+
- Produces compact, self-contained reasoning chains
|
90 |
+
- Best for mathematical proofs, explanations, and reports
|
91 |
+
|
92 |
+
## 📚 Citation
|
93 |
+
|
94 |
+
```bibtex
|
95 |
+
@article{benchaliah2025datarus,
|
96 |
+
title={Datarus-R1: An Adaptive Multi-Step Reasoning LLM for Automated Data Analysis},
|
97 |
+
author={Ben Chaliah, Ayoub and Dellagi, Hela},
|
98 |
+
journal={arXiv preprint arXiv:XXXX.XXXXX},
|
99 |
+
year={2025}
|
100 |
+
}
|
101 |
+
```
|
102 |
+
|
103 |
+
## 🤝 Contributing
|
104 |
+
|
105 |
+
We welcome contributions! Please see our [GitHub repository](https://github.com/DatarusAI/Datarus-JupyterAgent) for:
|
106 |
+
- Bug reports and feature requests
|
107 |
+
- Pull requests
|
108 |
+
- Discussion forums
|
109 |
+
|
110 |
+
## 📄 License
|
111 |
+
|
112 |
+
This model is released under the Apache 2.0 License.
|
113 |
+
|
114 |
+
## 🙏 Acknowledgments
|
115 |
+
|
116 |
+
We thank the Qwen team for the excellent base model and the open-source community for their valuable contributions.
|
117 |
+
|
118 |
+
## 📧 Contact
|
119 |
+
|
120 |
+
- **Email**: [email protected], [email protected]
|
121 |
+
- **Website**: [https://datarus.ai](https://datarus.ai)
|
122 |
+
- **Demo**: [https://chat.datarus.ai](https://chat.datarus.ai)
|
123 |
+
|
124 |
+
---
|
125 |
+
|
126 |
+
<div align="center">
|
127 |
+
<strong>Experience the future of AI-powered data analysis with Datarus-R1</strong>
|
128 |
+
|
129 |
+
[Try Demo](https://chat.datarus.ai) | [View Code](https://github.com/DatarusAI/Datarus-JupyterAgent) | [Read Paper](https://arxiv.org/abs/XXXX.XXXXX)
|
130 |
+
</div>
|
131 |
+
|
132 |
+
## ⭐ Support
|
133 |
+
|
134 |
+
If you find this model and Agent pipeline useful, please consider __Like/Star__! Your support helps us continue improving the project.
|
135 |
+
|
136 |
+
Found a bug or have a feature request? Please open an issue on GitHub.
|
137 |
+
|
138 |
+
---
|
139 |
+
|
140 |
+
<p align="center">Made with ❤️ by the Datarus Team from Paris</p>
|