Skip to content

zenlm/zen-designer-thinking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zen Designer Thinking

Chain-of-thought reasoning for visual design.

License

Overview

Zen Designer Thinking is a vision-language model that applies chain-of-thought reasoning to design problems. Decomposes visual design decisions into explicit reasoning steps — analyzing layout, color theory, typography, and accessibility before producing recommendations.

Property Value
Parameters 4B
Context 32K
Modalities Text + Vision
License Apache 2.0

Usage

from transformers import AutoModelForCausalLM, AutoProcessor

model = AutoModelForCausalLM.from_pretrained("zenlm/zen-designer-thinking", trust_remote_code=True)
processor = AutoProcessor.from_pretrained("zenlm/zen-designer-thinking", trust_remote_code=True)

from PIL import Image
image = Image.open("landing-page.png")

messages = [{"role": "user", "content": [
    {"type": "image"},
    {"type": "text", "text": "Think step by step: evaluate the color contrast, visual hierarchy, and accessibility of this landing page design."}
]}]

inputs = processor(images=image, text=processor.apply_chat_template(messages), return_tensors="pt")
output = model.generate(**inputs, max_new_tokens=1024)
print(processor.decode(output[0], skip_special_tokens=True))

Related

Apache 2.0 · Zen LM · Hanzo AI

About

Zen Designer Thinking - Design reasoning model

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors