Views
No views yet
SWE-Pruner Pro: The Coder LLM Already Knows What to Prune arXiv: 2607.18213
1from huggingface_hub import hf_hub_download
2
3# Download checkpoint
4for fname in ["best_model.pt", "model_config.json"]:
5 hf_hub_download(repo_id="ayanami-kitasan/swe-pruner-pro-qwen3-coder-next-head", filename=fname, local_dir="./checkpoints/coder-next-head")
6
7# Load the pruning head
8from swe_pruner_pro.model.head import PruningHead
9
10head = PruningHead(checkpoint_dir="./checkpoints/coder-next-head", hidden_size=2048, device="cuda:0")