Views
No views yet
Qwen/Qwen3.5-0.8B.adapter_model.safetensors: LoRA adapter weights.adapter_config.json: PEFT adapter configuration with base model set to Qwen/Qwen3.5-0.8B.tokenizer.json, tokenizer_config.json, chat_template.jinja: tokenizer assets copied from the training export.training_config.json: compact training hyperparameters.eval_metrics.json: ID test metrics for this router.Qwen/Qwen3.5-0.8BLORA16320.0530.000210244483n=2919):| metric | value |
|---|---|
| Avg performance | 0.474415 |
| Oracle performance | 0.570049 |
| Oracle gap | 0.095634 |
| Routing accuracy | 0.361425 |
| rAcc | 0.424460 |
| Strong model call rate | 0.373073 |
| Perf/cost ratio | 364.336998 |
1from transformers import AutoModelForCausalLM, AutoTokenizer
2from peft import PeftModel
3
4base_model = "Qwen/Qwen3.5-0.8B"
5adapter_id = "Lance1573/acrouter-qwen35-08b-router-lora"
6
7tokenizer = AutoTokenizer.from_pretrained(adapter_id, trust_remote_code=True)
8base = AutoModelForCausalLM.from_pretrained(
9 base_model,
10 torch_dtype="auto",
11 device_map="auto",
12 trust_remote_code=True,
13)
14model = PeftModel.from_pretrained(base, adapter_id)
15model.eval()1@article{agent2026zhou,
2 title = {Agent-as-a-Router: Agentic Model Routing for Coding Tasks},
3 author = {Pengfei Zhou, Zhiwei Tang, Yixing Ma, Jiasheng Tang, Yizeng Han, Zhenglin Wan, Fanqing Meng, Wei Wang, Bohan Zhuang, Wangbo Zhao, Yang You},
4 journal = {arXiv preprint arXiv:2606.22902},
5 year = {2026},
6 archivePrefix = {arXiv},
7 eprint = {2606.22902},
8 url = {https://arxiv.org/abs/2606.22902},
9}