Text Classification
Scikit-learn
Joblib
English
llm-routing
model-selection
budget-optimization
nearest-neighbor
Instructions to use JiaqiXue/R2-Router-RouterArena with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use JiaqiXue/R2-Router-RouterArena with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("JiaqiXue/R2-Router-RouterArena", "sklearn_model.joblib") ) # only load pickle files from sources you trust # read more about it here https://skops.readthedocs.io/en/stable/persistence.html - Notebooks
- Google Colab
- Kaggle
docs: add paper link and bibtex citation
Browse files
README.md
CHANGED
|
@@ -15,7 +15,7 @@ pipeline_tag: text-classification
|
|
| 15 |
|
| 16 |
**R2-Router** intelligently routes each query to the optimal (LLM, token budget) pair, jointly optimizing accuracy and inference cost. Ranked **#1** on the [RouterArena](https://routerarena.github.io/) leaderboard.
|
| 17 |
|
| 18 |
-
**Paper**: [R2-Router (arxiv)](https://arxiv.org/abs/
|
| 19 |
|
| 20 |
## RouterArena Performance
|
| 21 |
|
|
@@ -191,11 +191,11 @@ checkpoints/
|
|
| 191 |
## Citation
|
| 192 |
|
| 193 |
```bibtex
|
| 194 |
-
@article{
|
| 195 |
title={R2-Router: A New Paradigm for LLM Routing with Reasoning},
|
| 196 |
-
author={
|
| 197 |
-
|
| 198 |
-
|
| 199 |
}
|
| 200 |
```
|
| 201 |
|
|
|
|
| 15 |
|
| 16 |
**R2-Router** intelligently routes each query to the optimal (LLM, token budget) pair, jointly optimizing accuracy and inference cost. Ranked **#1** on the [RouterArena](https://routerarena.github.io/) leaderboard.
|
| 17 |
|
| 18 |
+
**Paper**: [R2-Router (arxiv)](https://arxiv.org/abs/2602.02823)
|
| 19 |
|
| 20 |
## RouterArena Performance
|
| 21 |
|
|
|
|
| 191 |
## Citation
|
| 192 |
|
| 193 |
```bibtex
|
| 194 |
+
@article{xue2026r2,
|
| 195 |
title={R2-Router: A New Paradigm for LLM Routing with Reasoning},
|
| 196 |
+
author={Xue, Jiaqi and Lou, Qian and Xing, Jiarong and Huang, Heng},
|
| 197 |
+
journal={arXiv preprint arXiv:2602.02823},
|
| 198 |
+
year={2026}
|
| 199 |
}
|
| 200 |
```
|
| 201 |
|