Structured-Prompt Prompt-Expansion model built on top of Qwen3.5-35B-A3B.
Takes a natural-language prompt (+ target aspect ratio) and emits a
Structured Prompt JSON suitable for a QwenImage-style text-to-image DiT.
1vllm serve heheyas/SP-PE-Qwen3.5-35B-A3B \
2 --quantization fp8 \
3 --kv-cache-dtype fp8 \
4 --language-model-only \
5 --max-model-len 8192
1from transformers import AutoTokenizer, AutoModelForCausalLM
2tok = AutoTokenizer.from_pretrained("heheyas/SP-PE-Qwen3.5-35B-A3B", trust_remote_code=True)
3model = AutoModelForCausalLM.from_pretrained(
4 "heheyas/SP-PE-Qwen3.5-35B-A3B",
5 torch_dtype="bfloat16",
6 device_map="auto",
7 trust_remote_code=True,
8)