Update README.md
Browse files
README.md
CHANGED
|
@@ -1,16 +1,24 @@
|
|
| 1 |
-
---
|
| 2 |
-
library_name: r2r
|
| 3 |
-
pipeline_tag: text-classification
|
| 4 |
-
tags:
|
| 5 |
-
- router
|
| 6 |
-
- efficiency
|
| 7 |
-
- language-model
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
|
| 10 |
# R2R Router Models
|
| 11 |
|
| 12 |
This repository provides a collection of **R2R** routers (Mixture of Small and Large Language Models) and its training config built for different model pairs.
|
| 13 |
|
|
|
|
|
|
|
|
|
|
| 14 |
## Model Description
|
| 15 |
|
| 16 |
R2R routers are lightweight classifiers that decide, at the token level, whether to generate with a small language model (SLM) or delegate to a large language model (LLM). The goal is to retain LLM-level quality while improving end-to-end efficiency.
|
|
@@ -22,4 +30,4 @@ We currently support routers for the **Qwen3** series and the **DeepSeek-R1-Qwen
|
|
| 22 |
For setup instructions, checkpoints, and examples, please visit our GitHub repository:
|
| 23 |
|
| 24 |
- GitHub: [https://github.com/thu-nics/R2R](https://github.com/thu-nics/R2R)
|
| 25 |
-
- Project page: [https://fuvty.github.io/R2R_Project_Page/](https://fuvty.github.io/R2R_Project_Page/)
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: r2r
|
| 3 |
+
pipeline_tag: text-classification
|
| 4 |
+
tags:
|
| 5 |
+
- router
|
| 6 |
+
- efficiency
|
| 7 |
+
- language-model
|
| 8 |
+
datasets:
|
| 9 |
+
- nics-efc/R2R_Router_Training
|
| 10 |
+
- nics-efc/R2R_query
|
| 11 |
+
language:
|
| 12 |
+
- en
|
| 13 |
+
---
|
| 14 |
|
| 15 |
# R2R Router Models
|
| 16 |
|
| 17 |
This repository provides a collection of **R2R** routers (Mixture of Small and Large Language Models) and its training config built for different model pairs.
|
| 18 |
|
| 19 |
+
They are the routers from paper [R2R: Efficiently Navigating Divergent Reasoning Paths with Small-Large Model Token Routing](https://huggingface.co/papers/2505.21600)
|
| 20 |
+
|
| 21 |
+
|
| 22 |
## Model Description
|
| 23 |
|
| 24 |
R2R routers are lightweight classifiers that decide, at the token level, whether to generate with a small language model (SLM) or delegate to a large language model (LLM). The goal is to retain LLM-level quality while improving end-to-end efficiency.
|
|
|
|
| 30 |
For setup instructions, checkpoints, and examples, please visit our GitHub repository:
|
| 31 |
|
| 32 |
- GitHub: [https://github.com/thu-nics/R2R](https://github.com/thu-nics/R2R)
|
| 33 |
+
- Project page: [https://fuvty.github.io/R2R_Project_Page/](https://fuvty.github.io/R2R_Project_Page/)
|