Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,36 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: mit
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
datasets:
|
| 4 |
+
- Ar4ikov/civitai-sd-337k
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
pipeline_tag: image-to-text
|
| 8 |
+
base_model: Salesforce/blip-image-captioning-base
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# Overview
|
| 12 |
+
`ifmain/blip-image2prompt-stable-diffusion` is a model based on `Salesforce/blip-image-captioning-base`, trained on the `Ar4ikov/civitai-sd-337k` dataset. This model is designed to generate text descriptions of images in the style of prompts for use with Stable Diffusion models.
|
| 13 |
+
|
| 14 |
+
# Example Usage
|
| 15 |
+
```python
|
| 16 |
+
past_the_code
|
| 17 |
+
```
|
| 18 |
+
|
| 19 |
+
## Junk
|
| 20 |
+
|
| 21 |
+
This model contains references to lore, they can be removed as follows:
|
| 22 |
+
```python
|
| 23 |
+
past_the_code
|
| 24 |
+
```
|
| 25 |
+
|
| 26 |
+
## Examples
|
| 27 |
+
|
| 28 |
+
```note
|
| 29 |
+
paste there images table
|
| 30 |
+
```
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
| Original | Original prompt | Generated prompt by image | Generated image |
|
| 34 |
+
| -------- | --------------- | ------------------------- | --------------- |
|
| 35 |
+
| pass | pass | pass | pass |
|
| 36 |
+
|