This repository provides a LoRA adapter fine-tuned from runwayml/stable-diffusion-v1-5 using PyTorch LoRA (PEFT).
This repository contains LoRA adapter weights only.
The base model must be loaded separately.
Training Objective
This adapter is trained to improve anime character generation quality
across 5 artistic styles (impressionist, soft-focus, oil painting, sketch, pastel).
The model learns style-specific features from Danbooru anime images,
applied to the UNet attention layers (to_k, to_v, to_q, to_out.0).
Example Output
Example generated image
Training Configuration
Base model: runwayml/stable-diffusion-v1-5
Method: LoRA (PEFT)
Target modules: to_k, to_v, to_q, to_out.0 (Attention Linear layers only)
LoRA rank: 8
LoRA alpha: 32.0
Learning rate: 1e-4
Batch size: 2
Epochs: 10
Final loss: 0.146112
GPU: Colab T4 (16 GB VRAM)
Dataset
Danbooru anime images collected and classified into 5 styles:
Dataset License: CC0 (Public Domain). Images sourced from Danbooru under CC0 terms.
Compliance: Users must comply with the base model's original license terms (OpenRAIL-M).
License
Component
License
Stable Diffusion v1.5
OpenRAIL-M
LoRA adapter (this repo)
Apache 2.0
Training data (Danbooru)
CC0
References
Ho et al. (2020) - Denoising Diffusion Probabilistic Models - arXiv:2006.11239
Rombach et al. (2022) - High-Resolution Image Synthesis with Latent Diffusion Models - arXiv:2112.10752
Hu et al. (2021) - LoRA: Low-Rank Adaptation of Large Language Models - arXiv:2106.09685