Downloads · 30 days
4
3% of all-time downloads
lamble-lambe/atelie
atelie is a text-to-image model from lamble-lambe. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as mit.
O modelo foi treinado sobre a base do Stable Diffusion v1.5 no estilo lambe-lambe / retrato vintage, por meio de fine-tuning LoRA (Low-Rank Adaptation), integrado a um pipeline multimodal completo (texto → imagem → áu…
Downloads · 30 days
4
3% of all-time downloads
All-time downloads
122
Public
Repo size
326 MB
Likes
0
Public
Click a slice to open those files.
.0243 MB · 79%
From the Hugging Face model README
O modelo foi treinado sobre a base do Stable Diffusion v1.5 no estilo lambe-lambe / retrato vintage, por meio de fine-tuning LoRA (Low-Rank Adaptation), integrado a um pipeline multimodal completo (texto → imagem → áudio).
from diffusers import StableDiffusionPipeline
import torch
pipe = StableDiffusionPipeline.from_pretrained(
"stable-diffusion-v1-5/stable-diffusion-v1-5", torch_dtype=torch.float16
).to("cuda")
# revision fixa uma versão específica (ver "Versionamento" abaixo); v1.4.0 = produção
pipe.load_lora_weights("lamble-lambe/atelie", revision="v1.4.0")
img = pipe(
"estilo_lambelambe, a vintage portrait of an elderly man with a hat, detailed face, black and white",
cross_attention_kwargs={"scale": 0.7},
).images[0]
img.save("saida.png")