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

pipe = pipeline("text-generation", model="SC117/QwenPaw-Flash-9B-heretic")
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("SC117/QwenPaw-Flash-9B-heretic")
model = AutoModelForMultimodalLM.from_pretrained("SC117/QwenPaw-Flash-9B-heretic", device_map="auto")
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
GGUF Heretic

QwenPaw-Flash-9B-heretic

English | 📖 中文文档

📌 Overview
F32 safetensors of **QwenPaw-Flash-9B-heretic**, a 9B dense model fine-tuned with Heretic methodology on Qwen3.5-9B.
🧠 Model Details
- **Base model**: Qwen3.5-9B - **Precision**: F32 (float32 safetensors) - **Parameters**: ~9B - **Shards**: model-00001 ~ model-00008 (8 files, F32 main weights) - **Additional**: model-00009 (BF16, Multi-Token Prediction head extracted from Qwen3.5-9B)
MTP (Multi-Token Prediction)
`model-00009-of-00009.safetensors` contains the MTP head weights extracted from Qwen3.5-9B. MTP enables the model to predict multiple future tokens in a single forward pass, improving generation speed via speculative decoding.
  • MTP acceptance rate: ~43%
  • Speedup: ~1.5-1.9x decode throughput

For MTP-enabled GGUF inference, see the MTP GGUF repo below.

📦 GGUF Quantized Versions
For inference with llama.cpp / Ollama / LM Studio, use the GGUF versions:
🚀 Usage
from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained(
    "SC117/QwenPaw-Flash-9B-heretic",
    torch_dtype=torch.float32,
    device_map="auto",
)
tokenizer = AutoTokenizer.from_pretrained("SC117/QwenPaw-Flash-9B-heretic")
📄 License
Same as base model (Qwen3.5-9B).
Downloads last month
136
Safetensors
Model size
9B params
Tensor type
F32
·
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for SC117/QwenPaw-Flash-9B-heretic

Finetuned
Qwen/Qwen3.5-9B
Finetuned
(545)
this model
Quantizations
6 models

Collection including SC117/QwenPaw-Flash-9B-heretic