Downloads · 30 days
0
LiamCarter/grasprune_qwen3-8b_ratio0.2
grasprune_qwen3-8b_ratio0.2 is a text generation model from LiamCarter. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
This is a structurally pruned derivative of Qwen/Qwen3-8B.
Downloads · 30 days
0
Access
Public
Updated Sep 4, 2026
Repo size
13.6 GB
Likes
0
Public
Click a slice to open those files.
.safetensors13.6 GB · 100%
From the Hugging Face model README
This is a structurally pruned derivative of Qwen/Qwen3-8B.
This checkpoint was produced by the original GRASPrune pruning pipeline in methods/GRASPrune, not by new_method_2. The local new_method_2 code was used only for downstream evaluation and did not produce or alter the pruned weights.
666f4f04ec9e5e3218904df4d0935841bbd570fcQwen/Qwen3-8B0.2keep_ratio=0.8torch.bfloat16, materialized state dictrescale_alpha=0.5The 20% ratio is the target reduction of GRASPrune's global prunable structural budget across FFN intermediate channels and attention KV groups. It is not a uniform per-layer sparsity ratio or a file-size reduction ratio.
This is not a standard Transformers save_pretrained directory and cannot be loaded directly with AutoModelForCausalLM.from_pretrained().
pruned_state_dict.safetensors: materialized pruned weightsmeta.json: layer-specific shapes required to rebuild the architecturelayer_mask_report.csv: layer-wise retention reportprovenance.json: release provenance and artifact identitySHA256SUMS: checksum for the weight fileClone the original GRASPrune repository, run from its root, and use its rebuild.py loader:
import os
import torch
from huggingface_hub import snapshot_download
from rebuild import load_pruned_model
checkpoint_dir = snapshot_download("LiamCarter/grasprune_qwen3-8b_ratio0.2")
model, tokenizer, meta = load_pruned_model(
model_id="Qwen/Qwen3-8B",
state_dict_path=os.path.join(checkpoint_dir, "pruned_state_dict.safetensors"),
meta_path=os.path.join(checkpoint_dir, "meta.json"),
torch_dtype=torch.bfloat16,
device="cuda:0",
use_fast_tokenizer=True,
trust_remote_code=True,
local_only=False,
)
The weights were evaluated read-only with the local new_method_2 evaluation flow. Percentages:
| Common-sense 5-task macro avg | ICL 0-shot | ICL 1-shot | ICL 4-shot | ICL 8-shot |
|---|---|---|---|---|
| 62.514 | 30.64 | 29.74 | 51.06 | 55.82 |
These are local benchmark results, not upstream GRASPrune claims.
This checkpoint is intended for structured-pruning and benchmark research. It has not been validated for production deployment, safety, factual reliability, bias, multilingual robustness, or long-context behavior. Performance can be lower than the parent model.
This derivative follows the Apache-2.0 license of the Qwen3-8B base model. GRASPrune code is separately distributed under Apache-2.0.