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.
Instructions to use TaiMingLu/diffusion-architecture with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use TaiMingLu/diffusion-architecture with Diffusers:
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] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
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
Model tree for TaiMingLu/diffusion-architecture
Base model
stabilityai/stable-diffusion-xl-base-1.0