Add model card
Browse files
README.md
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
tags:
|
| 4 |
+
- stable-diffusion
|
| 5 |
+
- lora
|
| 6 |
+
- safetensors
|
| 7 |
+
- text-to-image
|
| 8 |
+
- real-estate
|
| 9 |
+
- kohya-ss
|
| 10 |
+
base_model: runwayml/stable-diffusion-v1-5
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# Crestline Shreshth
|
| 14 |
+
|
| 15 |
+
## Model Description
|
| 16 |
+
Crestline-Shreshth is a Stable Diffusion 1.5 LoRA fine-tuned for generating photorealistic real estate imagery. It produces high-quality visuals of residential and commercial properties, interiors, and architectural renders — ideal for real estate marketing, virtual staging, and property visualization.
|
| 17 |
+
|
| 18 |
+
## Model Architecture
|
| 19 |
+
- **Base Model**: Stable Diffusion v1.5 (`runwayml/stable-diffusion-v1-5`)
|
| 20 |
+
- **Fine-tuning Method**: LoRA (Low-Rank Adaptation) v2
|
| 21 |
+
- **Framework**: Diffusers / Kohya-SS
|
| 22 |
+
- **Task**: Text-to-Image Generation (Real Estate Domain)
|
| 23 |
+
|
| 24 |
+
## Training Details
|
| 25 |
+
- **Training Tool**: Kohya-SS LoRA trainer
|
| 26 |
+
- **Domain**: Real estate photography — interiors, exteriors, architectural renders
|
| 27 |
+
- **Version**: v2 (improved over v1 with more training data and better trigger words)
|
| 28 |
+
- **Steps**: Fine-tuned to convergence on curated real estate image dataset
|
| 29 |
+
|
| 30 |
+
## Files
|
| 31 |
+
| File | Description |
|
| 32 |
+
|------|-------------|
|
| 33 |
+
| `Crestline_Shreshth_v2.safetensors` | LoRA weights v2 (safetensors format) |
|
| 34 |
+
|
| 35 |
+
## Usage
|
| 36 |
+
|
| 37 |
+
```python
|
| 38 |
+
from diffusers import StableDiffusionPipeline
|
| 39 |
+
import torch
|
| 40 |
+
from huggingface_hub import hf_hub_download
|
| 41 |
+
|
| 42 |
+
# Download LoRA weights
|
| 43 |
+
lora_path = hf_hub_download(repo_id='devanshty/Crestline-Shreshth', filename='Crestline_Shreshth_v2.safetensors')
|
| 44 |
+
|
| 45 |
+
# Load base pipeline
|
| 46 |
+
pipe = StableDiffusionPipeline.from_pretrained(
|
| 47 |
+
"runwayml/stable-diffusion-v1-5",
|
| 48 |
+
torch_dtype=torch.float16
|
| 49 |
+
).to("cuda")
|
| 50 |
+
|
| 51 |
+
# Load LoRA weights
|
| 52 |
+
pipe.load_lora_weights(lora_path)
|
| 53 |
+
|
| 54 |
+
# Generate
|
| 55 |
+
image = pipe("luxury modern living room, real estate photography, bright natural light, 4K").images[0]
|
| 56 |
+
image.save("output.png")
|
| 57 |
+
```
|
| 58 |
+
|
| 59 |
+
## Download & Use
|
| 60 |
+
|
| 61 |
+
```python
|
| 62 |
+
from huggingface_hub import hf_hub_download
|
| 63 |
+
lora_path = hf_hub_download(repo_id='devanshty/Crestline-Shreshth', filename='Crestline_Shreshth_v2.safetensors')
|
| 64 |
+
```
|