File size: 1,962 Bytes
1d1a873
 
 
 
 
 
66a3420
1d1a873
 
66a3420
 
1d1a873
 
 
 
 
5ad8a8c
66a3420
5ad8a8c
66a3420
 
5ad8a8c
66a3420
1d1a873
66a3420
1d1a873
66a3420
1d1a873
 
 
 
66a3420
1d1a873
 
66a3420
 
1d1a873
 
66a3420
 
1d1a873
 
 
5ad8a8c
1d1a873
66a3420
 
 
1d1a873
66a3420
 
 
 
 
1d1a873
5ad8a8c
66a3420
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
datasets:
- huggan/wikiart
base_model:
- CompVis/stable-diffusion-v1-4
---
# Model Card: Stable Diffusion v1-4 Fine-tuned on WikiArt

<!-- Provide a quick summary of what the model is/does. -->
This model is a fine-tuned version of the **Stable Diffusion v1.4** model on the **WikiArt** dataset.  
It can generate images in various artistic styles learned from WikiArt.

## Model Details

### Model Description

- **Developed by:** potatopizza
- **Funded by [optional]:** N/A
- **Shared by [optional]:** potatopizza
- **Model type:** Text-to-Image
- **Language(s) (NLP):** N/A (this is a text-to-image generation model)
- **License:** [CreativeML Open RAIL-M](https://huggingface.co/spaces/CompVis/stable-diffusion-license) 
- **Finetuned from model:** [CompVis/stable-diffusion-v1-4](https://huggingface.co/CompVis/stable-diffusion-v1-4)

### Model Sources

- **Repository (Hugging Face):** [YourUsername/Stable-Diffusion-v1-4-wikiart](https://huggingface.co/YourUsername/Stable-Diffusion-v1-4-wikiart)

## Uses

### Direct Use
- Text-to-Image generation, specifically in various WikiArt styles.

### Out-of-Scope Use
- Generating harmful, explicit, or disallowed content per the license.
- Any usage that violates the **CreativeML Open RAIL** license terms.

## Bias, Risks, and Limitations
- The generated images might reflect biases present in the WikiArt dataset (art style bias, cultural bias, etc.).
- Potential misuse for generating disallowed content (users should comply with the usage policy).

## How to Get Started with the Model

Use Model code:

```python
from diffusers import StableDiffusionPipeline
import torch

model_id = "YourUsername/Stable-Diffusion-v1-4-wikiart"  # 변경 필요
pipe = StableDiffusionPipeline.from_pretrained(
    model_id,
    torch_dtype=torch.float16
).to("cuda")

prompt = "A beautiful painting of a sunset over the mountains, in the style of eric fischl"
image = pipe(prompt).images[0]
image.save("example.png")