File size: 1,694 Bytes
2e46e6f
 
 
 
 
 
 
 
 
 
 
d91ccd7
2e46e6f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d91ccd7
2e46e6f
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
tags:
- autotrain
- stable-diffusion-xl
- stable-diffusion-xl-diffusers
- text-to-image
- diffusers
- lora
- template:sd-lora

base_model: stabilityai/stable-diffusion-xl-base-1.0
instance_prompt: sofa, furniture, floor, interior, living room,brown leather
license: openrail++
---
# ModelsLab LoRA DreamBooth Training - stablediffusionapi/my-stablediffusion-lora-5611
<Gallery />

## Model description
These are stablediffusionapi/my-stablediffusion-lora-5611 LoRA adaption weights for stabilityai/stable-diffusion-xl-base-1.0.
The weights were trained using [Modelslab](https://modelslab.com).
LoRA for the text encoder was enabled: False.
Special VAE used for training: None.

## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
```py
!pip install -q transformers accelerate peft diffusers
from diffusers import DiffusionPipeline
import torch

pipe_id = "stabilityai/stable-diffusion-xl-base-1.0"
pipe = DiffusionPipeline.from_pretrained(pipe_id, torch_dtype=torch.float16).to("cuda")
pipe.load_lora_weights("stablediffusionapi/my-stablediffusion-lora-5611", weight_name="pytorch_lora_weights.safetensors", adapter_name="abc")
prompt = "abc of a hacker with a hoodie"
lora_scale = 0.9
image = pipe(
    prompt,
    num_inference_steps=30,
    cross_attention_kwargs={"scale": lora_scale},
    generator=torch.manual_seed(0)
).images[0]
image
```

## Trigger words
You should use sofa, furniture, floor, interior, living room,brown leather to trigger the image generation.

## Download model
Weights for this model are available in Safetensors format.
[Download](stablediffusionapi/my-stablediffusion-lora-5611/tree/main) them in the Files & versions tab.