Downloads · 30 days
0
ayanami-kitasan/swe-pruner-pro-qwen3-coder-next-head
swe-pruner-pro-qwen3-coder-next-head is a machine learning model from ayanami-kitasan. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for pytorch. The card lists the license as apache-2.0.
A lightweight pruning head for Qwen3-Coder-Next (80a3 MoE, Qwen/Qwen3-Coder-Next), from the paper:
Downloads · 30 days
0
Access
Public
Updated Jul 22, 2026
Repo size
10.6 MB
Likes
1
Public
Click a slice to open those files.
.pt10.6 MB · 100%
From the Hugging Face model README
A lightweight pruning head for Qwen3-Coder-Next (80a3 MoE, Qwen/Qwen3-Coder-Next), from the paper:
SWE-Pruner Pro: The Coder LLM Already Knows What to Prune arXiv: 2607.18213
This head attaches to the frozen backbone and predicts per-token keep/prune logits from the backbone's hidden states. It is used to compress tool responses in long-horizon coding agent trajectories.
from huggingface_hub import hf_hub_download
# Download checkpoint
for fname in ["best_model.pt", "model_config.json"]:
hf_hub_download(repo_id="ayanami-kitasan/swe-pruner-pro-qwen3-coder-next-head", filename=fname, local_dir="./checkpoints/coder-next-head")
# Load the pruning head
from swe_pruner_pro.model.head import PruningHead
head = PruningHead(checkpoint_dir="./checkpoints/coder-next-head", hidden_size=2048, device="cuda:0")
For the full training and inference pipeline, please refer to the GitHub repository.