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="DavidAU/Qwen3.6-40B-Finetune-Z1-Thinking")
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("DavidAU/Qwen3.6-40B-Finetune-Z1-Thinking")
model = AutoModelForMultimodalLM.from_pretrained("DavidAU/Qwen3.6-40B-Finetune-Z1-Thinking", 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

IMPORTANT:

This is a light tune only ; for production usage it requires a more extensive tune to add new knowledge/skills.

Qwen3.6-40B-Finetune-Z1-Thinking

Expanded Qwen 3.6 27B to 40B parameters [from 64 to 96 layers] via modified Mergekit.

Fine tune via Unsloth on local hardware to finalize expansion.

Prep stage for advanced, in depth tuning.

Prep stage for Heretic/Uncensored builds too.

AKA "3.6" prep for version of this model:

https://huggingface.co/DavidAU/Qwen3.5-40B-Claude-4.6-Opus-Deckard-Heretic-Uncensored-Thinking

[180 likes+, 13k+ source downloads. 50k+ quants downloaded.]

[ more to come]

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

Model tree for DavidAU/Qwen3.6-40B-Finetune-Z1-Thinking

Base model

Qwen/Qwen3.6-27B
Finetuned
(312)
this model

Collection including DavidAU/Qwen3.6-40B-Finetune-Z1-Thinking