Downloads · 30 days
0
ayanami-kitasan/swe-pruner-pro-mimo-v2-flash-head
swe-pruner-pro-mimo-v2-flash-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 MiMo-V2-Flash(309B MoE, XiaomiMiMo/MiMo-V2-Flash), from the paper:
Downloads · 30 days
0
Access
Public
Updated Jul 22, 2026
Repo size
19.1 MB
Likes
0
Public
Click a slice to open those files.
.pt19.1 MB · 100%
From the Hugging Face model README
A lightweight pruning head for MiMo-V2-Flash(309B MoE, XiaomiMiMo/MiMo-V2-Flash), 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-mimo-v2-flash-head", filename=fname, local_dir="./checkpoints/mimo-v2-flash-head")
# Load the pruning head
from swe_pruner_pro.model.head import PruningHead
head = PruningHead(checkpoint_dir="./checkpoints/mimo-v2-flash-head", hidden_size=2048, device="cuda:0")
For the full training and inference pipeline, please refer to the GitHub repository.