Downloads · 30 days
0
Graph-COM/adaptive-qwen3-0.6b-tool-result-router-r4-step600
adaptive-qwen3-0.6b-tool-result-router-r4-step600 is a text classification model from Graph-COM. Use it when you need a label for a piece of text. It is set up for peft. The card lists the license as apache-2.0.
This repository contains the selected step-600 research checkpoint of an adaptive router for historical tool-result segments. The router predicts whether each segment can be omitted from an agent's context.
Downloads · 30 days
0
Access
Public
Updated Jul 24, 2026
Repo size
11.2 MB
Likes
0
Public
Click a slice to open those files.
.safetensors10.1 MB · 90%
From the Hugging Face model README
This repository contains the selected step-600 research checkpoint of an adaptive router for historical tool-result segments. The router predicts whether each segment can be omitted from an agent's context.
This is not a standalone language model checkpoint. It contains:
adapter/: a PEFT LoRA adapter for Qwen/Qwen3-0.6B;classifier.pt: the binary segment-classification head.The base model must be loaded separately.
The router jointly classifies the segments within one tool result. Its causal input includes an instruction, the current user request, same-turn tool context, numbered segment texts, and one classification slot per segment. The classifier reads the hidden state at each classification slot.
The binary target is:
1: DISCARDABLE;0: USED_IN_FUTURE or POTENTIALLY_USEFUL.Ambiguous labels were excluded from router loss. At inference time, uncertain segments should use a conservative retain/compress fallback rather than automatic omission.
Qwen/Qwen3-0.6BOlder complete interactions are removed as structured units when necessary to fit the context window; labeled segment text is not silently truncated.
The LoRA adapter can be loaded with PEFT:
from transformers import AutoModel
from peft import PeftModel
base = AutoModel.from_pretrained(
"Qwen/Qwen3-0.6B",
torch_dtype="auto",
)
model = PeftModel.from_pretrained(base, "Graph-COM/adaptive-qwen3-0.6b-tool-result-router-r4-step600/adapter")
classifier.pt is a separate PyTorch state dictionary and requires the router
architecture and input formatting implemented in the Latent-Agent research
codebase:
data/adaptive_qwen_router.pydata/adaptive_qwen_router_model.pyscripts/eval_adaptive_qwen_router_ddp.pyThis checkpoint is intended for research on adaptive context compression in tool-using agents. It was designed to route historical tool-result segments, while tool schemas remain uniformly compressed.
The checkpoint should not be treated as a general-purpose safety classifier. The omission threshold must be calibrated for the target domain. A false discard can remove information needed by a later action, so conservative fallback behavior is recommended.