Update README.md
Browse files
README.md
CHANGED
|
@@ -1,9 +1,66 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Model Card for xcheng20/stable-diffusion-painting-style-v1
|
| 2 |
+
|
| 3 |
+
This model is a fine-tuned version of `CompVis/stable-diffusion-v1-4`, trained on a small but rich dataset of 198 unique paintings by a single painter. It is optimized for generating text-to-image outputs with a distinctive hand-painted aesthetic.
|
| 4 |
+
|
| 5 |
+
This model card aims to document model details, usage recommendations, risks, and fine-tuning specifics in a transparent and reproducible manner.
|
| 6 |
+
|
| 7 |
+
## Model Details
|
| 8 |
+
|
| 9 |
+
### Model Description
|
| 10 |
+
|
| 11 |
+
This model adapts Stable Diffusion v1.4 to replicate a specific human-created painting style. The training dataset includes 198 paintings in various themes and formats, designed to give the model a sense of color, brushwork, and composition typical to traditional art. It is suitable for generating stylized images with expressive, painterly textures.
|
| 12 |
+
|
| 13 |
+
- **Developed by:** xcheng20
|
| 14 |
+
- **Funded by:** Self-funded
|
| 15 |
+
- **Shared by:** xcheng20
|
| 16 |
+
- **Model type:** Text-to-image generation
|
| 17 |
+
- **Language(s):** en
|
| 18 |
+
- **License:** Apache License 2.0
|
| 19 |
+
- **Finetuned from model:** [CompVis/stable-diffusion-v1-4](https://huggingface.co/CompVis/stable-diffusion-v1-4)
|
| 20 |
+
|
| 21 |
+
### Model Sources
|
| 22 |
+
|
| 23 |
+
- **Repository:** https://huggingface.co/xcheng20/stable-diffusion-painting-style-v1
|
| 24 |
+
|
| 25 |
+
## Uses
|
| 26 |
+
|
| 27 |
+
### Direct Use
|
| 28 |
+
|
| 29 |
+
This model is intended for artistic text-to-image generation. Prompt examples include:
|
| 30 |
+
|
| 31 |
+
- "a peaceful cabin in the woods, painterly style"
|
| 32 |
+
- "a surreal dreamscape in soft brushstrokes"
|
| 33 |
+
|
| 34 |
+
It is especially useful for artists, illustrators, and designers seeking an aesthetic similar to traditional hand-painted works.
|
| 35 |
+
|
| 36 |
+
### Downstream Use
|
| 37 |
+
|
| 38 |
+
- Artistic draft generation
|
| 39 |
+
- Custom stylized prompt-to-image tools
|
| 40 |
+
- Inspiration for illustration and concept art workflows
|
| 41 |
+
|
| 42 |
+
### Out-of-Scope Use
|
| 43 |
+
|
| 44 |
+
- Not suited for realistic portrait generation
|
| 45 |
+
- Should not be used for any NSFW, violent, or biased content
|
| 46 |
+
- Not recommended for medical, legal, or factual content generation
|
| 47 |
+
|
| 48 |
+
## Bias, Risks, and Limitations
|
| 49 |
+
|
| 50 |
+
This model may not generalize well outside the stylistic patterns present in the dataset. It could reflect unintentional biases of the source style or create unrealistic outputs under complex prompts.
|
| 51 |
+
|
| 52 |
+
### Recommendations
|
| 53 |
+
|
| 54 |
+
- Avoid prompts involving sensitive content
|
| 55 |
+
- Use with human review in artistic workflows
|
| 56 |
+
- Not intended for factual accuracy or realism
|
| 57 |
+
|
| 58 |
+
## How to Get Started with the Model
|
| 59 |
+
|
| 60 |
+
```python
|
| 61 |
+
from diffusers import StableDiffusionPipeline
|
| 62 |
+
import torch
|
| 63 |
+
|
| 64 |
+
pipe = StableDiffusionPipeline.from_pretrained("xcheng20/stable-diffusion-painting-style-v1", torch_dtype=torch.float16).to("cuda")
|
| 65 |
+
image = pipe("a quiet lake in a misty morning, painting style").images[0]
|
| 66 |
+
image.show()
|