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: use paper title
Browse files
README.md
CHANGED
|
@@ -11,7 +11,7 @@ library_name: sklearn
|
|
| 11 |
pipeline_tag: text-classification
|
| 12 |
---
|
| 13 |
|
| 14 |
-
# R2-Router:
|
| 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 |
|
|
|
|
| 11 |
pipeline_tag: text-classification
|
| 12 |
---
|
| 13 |
|
| 14 |
+
# R2-Router: A New Paradigm for LLM Routing with Reasoning
|
| 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 |
|