Downloads · 30 days
9
10% of all-time downloads
manupm87/finetuned-sd-1.4-oldbookillustrations-lora
finetuned-sd-1.4-oldbookillustrations-lora is a text-to-image model from manupm87. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as creativeml-openrail-m.
LoRA entrenada sobre CompVis/stable-diffusion-v1-4 con el dataset gigant/oldbookillustrations para reproducir el estilo de las ilustraciones de libros antiguos.
Downloads · 30 days
9
10% of all-time downloads
All-time downloads
89
Public
Repo size
15.7 MB
Likes
0
Public
Click a slice to open those files.
.safetensors12.8 MB · 81%
From the Hugging Face model README
LoRA entrenada sobre CompVis/stable-diffusion-v1-4
con el dataset gigant/oldbookillustrations para
reproducir el estilo de las ilustraciones de libros antiguos.
🔁 Versión de finetuning completo (pipeline entero con la UNet finetuneada):
manupm87/finetuned-sd-1.4-oldbookillustrations.
Trigger de estilo: anade old book illustration, engraving, antique al final del prompt para activar el estilo.
import torch
from diffusers import StableDiffusionPipeline
pipe = StableDiffusionPipeline.from_pretrained(
"CompVis/stable-diffusion-v1-4", torch_dtype=torch.float16,
).to("cuda")
pipe.load_lora_weights("manupm87/finetuned-sd-1.4-oldbookillustrations-lora")
prompt = "a lighthouse on a cliff, old book illustration, engraving, antique"
image = pipe(prompt).images[0]
image.save("output.png")
| Parametro | Valor |
|---|---|
| Modelo base | CompVis/stable-diffusion-v1-4 |
| Dataset | gigant/oldbookillustrations (columnas 1600px / info_alt) |
| Metodo | LoRA en la UNet (capas de atencion) |
| Rango / alpha | 16 / 16 |
| Epocas | 3 |
| Learning rate | 0.0001 |
| Batch size | 6 |
| Resolucion | 512x512 |
| Trigger de estilo | old book illustration, engraving, antique |
Generadas con esta LoRA (con el trigger de estilo, misma semilla):
| Prompt | Imagen |
|---|---|
| A sailing ship with billowing sails rides the tall waves of a stormy sea | <img src="samples/sample_0.png" width="256"> |
| A ruined castle stands on a cliff overlooking the misty sea at dusk | <img src="samples/sample_1.png" width="256"> |
| A young girl wanders alone into a forest of tall, twisted trees | <img src="samples/sample_2.png" width="256"> |
| A solitary lighthouse rises above the rocky shore as waves break below it | <img src="samples/sample_3.png" width="256"> |
| A steam locomotive races across the countryside, trailing a long plume of smoke | <img src="samples/sample_4.png" width="256"> |