Diffusers
How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("Anzhc/SDXL-Text-Encoder-Longer-CLIP-L", dtype=torch.bfloat16, device_map="cuda")

prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]

An experiment, with CLIP L trained with up to 770 tokens with ~10k anime dataset, without adjusting arch. Concatenation is used to accummulate features.

output(4)

output(5)

Token-adjusted, with images removed if they ca'nt meet token criteria:

output(6)

output(7)

Downloads last month
56
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Anzhc/SDXL-Text-Encoder-Longer-CLIP-L

Finetuned
(1193)
this model