How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("image-text-to-text", model="RangerX/Qwen3.6-35B-PreREAP-BNB8-Pruned-ratio-0.3")
messages = [
    {
        "role": "user",
        "content": [
            {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"},
            {"type": "text", "text": "What animal is on the candy?"}
        ]
    },
]
pipe(text=messages)
# Load model directly
from transformers import AutoProcessor, AutoModelForMultimodalLM

processor = AutoProcessor.from_pretrained("RangerX/Qwen3.6-35B-PreREAP-BNB8-Pruned-ratio-0.3")
model = AutoModelForMultimodalLM.from_pretrained("RangerX/Qwen3.6-35B-PreREAP-BNB8-Pruned-ratio-0.3")
messages = [
    {
        "role": "user",
        "content": [
            {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"},
            {"type": "text", "text": "What animal is on the candy?"}
        ]
    },
]
inputs = processor.apply_chat_template(
	messages,
	add_generation_prompt=True,
	tokenize=True,
	return_dict=True,
	return_tensors="pt",
).to(model.device)

outputs = model.generate(**inputs, max_new_tokens=40)
print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
Quick Links

Qwen3.6-35B-A3B Pre-REAP BNB8 Pruned Ratio 0.3

This checkpoint is a routed-expert-pruned version of Qwen/Qwen3.6-35B-A3B. Expert saliency was collected with REAP while loading the scoring model with bitsandbytes 8-bit quantization for standard linear layers. The final saved checkpoint is the original BF16 model pruned according to those quantization-aware scores.

Pruning setup

  • Base model: Qwen/Qwen3.6-35B-A3B
  • Method: REAP routed-expert pruning
  • Pre-REAP scoring model quantization: bitsandbytes 8-bit
  • Pruning ratio: 0.30
  • Calibration samples: 1024
  • Sequence length: 2048
  • Seed: 42
  • Router renormalization: enabled
  • Shared experts: preserved

Notes

This model uses the packed Qwen3.5/Qwen3.6 MoE integration in the REAP codebase. During bnb8 scoring, standard nn.Linear modules are quantized by bitsandbytes, while packed routed-expert tensors remain BF16 parameters. The checkpoint itself is saved after pruning in BF16 format and can be loaded with Transformers using trust_remote_code=True.

Evaluation is still in progress for this specific bnb8-pruned checkpoint. Prior comparison runs use plain lm-eval prompts for GSM8K, without chat templating.

Downloads last month
4
Safetensors
Model size
26B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for RangerX/Qwen3.6-35B-PreREAP-BNB8-Pruned-ratio-0.3

Finetuned
(154)
this model