Run this model with HF Jobs

Run TaiMingLu/diffusion-architecture on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/TaiMingLu/diffusion-architecture. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/TaiMingLu/diffusion-architecture on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("TaiMingLu/diffusion-architecture")

prompt = "A photo of Johns Hopkins University Modern Building"
image = pipe(prompt).images[0]

SDXL LoRA DreamBooth - TaiMingLu/lora-trained-xl

Prompt
A photo of Johns Hopkins University Modern Building
Prompt
A photo of Johns Hopkins University Modern Building
Prompt
A photo of Johns Hopkins University Modern Building
Prompt
A photo of Johns Hopkins University Modern Building

Model description

These are TaiMingLu/lora-trained-xl LoRA adaption weights for stabilityai/stable-diffusion-xl-base-1.0.

The weights were trained using DreamBooth.

LoRA for the text encoder was enabled: False.

Special VAE used for training: madebyollin/sdxl-vae-fp16-fix.

Trigger words

You should use Johns Hopkins University Modern Building to trigger the image generation.

Download model

Weights for this model are available in Safetensors format.

Download them in the Files & versions tab.

Downloads last month
21
Inference Providers NEW
Examples

Model tree for TaiMingLu/diffusion-architecture

Adapter
(9,866)
this model

Spaces using TaiMingLu/diffusion-architecture 2