Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,40 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
datasets:
|
| 4 |
+
- trollek/ImagePromptHelper-v02
|
| 5 |
+
- Gustavosta/Stable-Diffusion-Prompts
|
| 6 |
+
- k-mktr/improved-flux-prompts
|
| 7 |
+
- Falah/image_generation_prompts_SDXL
|
| 8 |
+
- ChrisGoringe/flux_prompts
|
| 9 |
+
language:
|
| 10 |
+
- en
|
| 11 |
+
base_model:
|
| 12 |
+
- trollek/SmolImagePromptHelper-135M
|
| 13 |
+
library_name: transformers
|
| 14 |
+
tags:
|
| 15 |
+
- llama-factory
|
| 16 |
+
- full
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# Smol Image Prompt Helper
|
| 20 |
+
|
| 21 |
+
Quants of [SmolImagePromptHelper-135M](https://huggingface.co/trollek/SmolImagePromptHelper-135M)
|
| 22 |
+
|
| 23 |
+
## Model description
|
| 24 |
+
|
| 25 |
+
Lets say you have a node in ComfyUI to parse JSON and send the appropriate prompt to the text encoders. Tadaaa:
|
| 26 |
+
|
| 27 |
+
```
|
| 28 |
+
You are an AI assistant tasked with expanding and formatting image prompts. You are given an input that you will need to write image prompts for different text encoders.
|
| 29 |
+
Always respond with the following format:
|
| 30 |
+
{
|
| 31 |
+
"clip_l": "<keywords from image analysis>",
|
| 32 |
+
"clip_g": "<simple descriptions of the image>",
|
| 33 |
+
"t5xxl": "<complex semanticly rich description of the image>",
|
| 34 |
+
"negative": "<contrasting keywords for what is not in the image>"
|
| 35 |
+
}
|
| 36 |
+
```
|
| 37 |
+
|
| 38 |
+
## Intended uses & limitations
|
| 39 |
+
|
| 40 |
+
Have a look at the dataset that I created \([ImagePromptHelper-v02](https://huggingface.co/datasets/trollek/ImagePromptHelper-v02) \(CC BY 4.0\)\) and you will see whaaaaat I've doooone.
|