Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# v3nu5-cop - SD3.5 Large LoRA Models
|
| 2 |
+
|
| 3 |
+
## Model Description
|
| 4 |
+
|
| 5 |
+
This repository contains four LoRA (Low-Rank Adaptation) models trained on Stable Diffusion 3.5 Large, designed for generating images with specific styling and characteristics. Each model variant explores different caption preprocessing and optimization approaches.
|
| 6 |
+
|
| 7 |
+
## Model Variants
|
| 8 |
+
|
| 9 |
+
| Model | Caption Type | Optimizer | File |
|
| 10 |
+
|-------|-------------|-----------|------|
|
| 11 |
+
| v0b | PREFIX | PRODIGY | `sd35L-v3nu5-cop-v0b.safetensors` |
|
| 12 |
+
| v0c | PREFIX | ADAMW8BIT | `sd35L-v3nu5-cop-v0c.safetensors` |
|
| 13 |
+
| v0d | CONTEXT | PRODIGY | `sd35L-v3nu5-cop-v0d.safetensors` |
|
| 14 |
+
| v0f | CONTEXT | ADAMW8BIT | `sd35L-v3nu5-cop-v0f.safetensors` |
|
| 15 |
+
|
| 16 |
+
### Training Details
|
| 17 |
+
|
| 18 |
+
- **Base Model**: Stable Diffusion 3.5 Large
|
| 19 |
+
- **Training Dataset**: [mushroomfleet/venus-cop](https://huggingface.co/datasets/mushroomfleet/venus-cop)
|
| 20 |
+
- **Model Type**: LoRA (Low-Rank Adaptation)
|
| 21 |
+
- **Model Size**: ~147 MB per variant
|
| 22 |
+
|
| 23 |
+
### Caption Types
|
| 24 |
+
- **PREFIX**: Captions are structured with key descriptors at the beginning
|
| 25 |
+
- **CONTEXT**: Captions provide contextual scene descriptions
|
| 26 |
+
|
| 27 |
+
### Optimizers
|
| 28 |
+
- **PRODIGY**: Advanced adaptive learning rate optimizer
|
| 29 |
+
- **ADAMW8BIT**: Memory-efficient 8-bit AdamW optimizer
|
| 30 |
+
|
| 31 |
+
## Usage
|
| 32 |
+
|
| 33 |
+
### ComfyUI
|
| 34 |
+
1. Download the desired `.safetensors` file
|
| 35 |
+
2. Place it in your `ComfyUI/models/loras/` directory
|
| 36 |
+
3. Load the LoRA in your workflow with appropriate strength (recommended: 0.6-1.0)
|
| 37 |
+
|
| 38 |
+
### Automatic1111/Forge
|
| 39 |
+
1. Download the desired `.safetensors` file
|
| 40 |
+
2. Place it in your `stable-diffusion-webui/models/Lora/` directory
|
| 41 |
+
3. Use in prompts with: `<lora:sd35L-v3nu5-cop-v0X:0.8>` (replace X with variant)
|
| 42 |
+
|
| 43 |
+
### Diffusers
|
| 44 |
+
```python
|
| 45 |
+
from diffusers import StableDiffusion3Pipeline
|
| 46 |
+
import torch
|
| 47 |
+
|
| 48 |
+
# Load base model
|
| 49 |
+
pipe = StableDiffusion3Pipeline.from_pretrained("stabilityai/stable-diffusion-3.5-large")
|
| 50 |
+
|
| 51 |
+
# Load LoRA weights
|
| 52 |
+
pipe.load_lora_weights("mushroomfleet/v3nu5-cop", weight_name="sd35L-v3nu5-cop-v0b.safetensors")
|
| 53 |
+
|
| 54 |
+
# Generate image
|
| 55 |
+
prompt = "your prompt here"
|
| 56 |
+
image = pipe(prompt, num_inference_steps=28, guidance_scale=4.5).images[0]
|
| 57 |
+
```
|
| 58 |
+
|
| 59 |
+
## Recommended Settings
|
| 60 |
+
|
| 61 |
+
- **Strength**: 0.6-1.0
|
| 62 |
+
- **CFG Scale**: 4.5-7.0
|
| 63 |
+
- **Steps**: 28-35
|
| 64 |
+
- **Sampler**: DPM++ 2M or Euler
|
| 65 |
+
|
| 66 |
+
## Model Comparison
|
| 67 |
+
|
| 68 |
+
Each variant offers different characteristics:
|
| 69 |
+
- **v0b (PREFIX + PRODIGY)**: Strong adherence to structured prompting
|
| 70 |
+
- **v0c (PREFIX + ADAMW8BIT)**: Balanced approach with prefix structure
|
| 71 |
+
- **v0d (CONTEXT + PRODIGY)**: Natural scene understanding
|
| 72 |
+
- **v0f (CONTEXT + ADAMW8BIT)**: Contextual generation with efficiency
|
| 73 |
+
|
| 74 |
+
## License
|
| 75 |
+
|
| 76 |
+
Please refer to the base Stable Diffusion 3.5 Large license terms.
|
| 77 |
+
|
| 78 |
+
## Training Dataset
|
| 79 |
+
|
| 80 |
+
These models were trained using the [venus-cop dataset](https://huggingface.co/datasets/mushroomfleet/venus-cop). Please refer to the dataset page for more information about the training data.
|
| 81 |
+
|
| 82 |
+
## Citation
|
| 83 |
+
|
| 84 |
+
If you use these models in your work, please consider citing:
|
| 85 |
+
|
| 86 |
+
```bibtex
|
| 87 |
+
@misc{v3nu5-cop-lora,
|
| 88 |
+
title={v3nu5-cop: SD3.5 Large LoRA Models},
|
| 89 |
+
author={mushroomfleet},
|
| 90 |
+
year={2025},
|
| 91 |
+
howpublished={\url{https://huggingface.co/mushroomfleet/v3nu5-cop}}
|
| 92 |
+
}
|
| 93 |
+
```
|
| 94 |
+
|
| 95 |
+
## Contact
|
| 96 |
+
|
| 97 |
+
For questions or issues, please open an issue in this repository or contact through Hugging Face.
|