Run this model with HF Jobs

Run jtlowell/cozy_wall 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/jtlowell/cozy_wall. 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/jtlowell/cozy_wall 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.

LoRA DreamBooth - jtlowell/cozy_wall

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

The weights were trained on the concept prompt:

cozy_wall

Use this keyword to trigger your custom model in your prompts.

LoRA for the text encoder was enabled: False. Special VAE used for training: madebyollin/sdxl-vae-fp16-fix.

Usage

Make sure to upgrade diffusers to >= 0.19.0:

pip install diffusers --upgrade

In addition make sure to install transformers, safetensors, accelerate as well as the invisible watermark:

pip install invisible_watermark transformers accelerate safetensors

To just use the base model, you can run:

import torch
from diffusers import DiffusionPipeline, AutoencoderKL

vae = AutoencoderKL.from_pretrained('madebyollin/sdxl-vae-fp16-fix', torch_dtype=torch.float16)

pipe = DiffusionPipeline.from_pretrained(
    "stabilityai/stable-diffusion-xl-base-1.0",
    vae=vae, torch_dtype=torch.float16, variant="fp16",
    use_safetensors=True
)

# This is where you load your trained weights
pipe.load_lora_weights('jtlowell/cozy_wall')

pipe.to("cuda")

prompt = "A majestic cozy_wall jumping from a big stone at night"

image = pipe(prompt=prompt, num_inference_steps=50).images[0]
Downloads last month
5
Inference Providers NEW

Model tree for jtlowell/cozy_wall

Adapter
(9,868)
this model