File size: 2,577 Bytes
ffdf419
 
 
 
4fb0f6d
 
ffdf419
 
 
 
4fb0f6d
ffdf419
 
 
f2b3143
ffdf419
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26a7b45
b83c34a
 
 
 
 
5df3a87
ffdf419
26a7b45
b83c34a
 
ffdf419
 
 
 
 
 
 
 
 
 
 
 
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
---
language:
- en
license: creativeml-openrail-m
thumbnail: >-
  https://huggingface.co/datasets/Nerfgun3/bad_prompt/resolve/main/bad_prompt_showcase.jpg
tags:
- stable-diffusion
- text-to-image
- image-to-image
- art
inference: false
---

# Negative Embedding / Textual Inversion

<img alt="Showcase" src="https://huggingface.co/datasets/Nerfgun3/bad_prompt/resolve/main/bad_prompt_showcase.jpg"/>

## Idea

The idea behind this embedding was to somehow train the negative prompt as an embedding, thus unifying the basis of the negative prompt into one word or embedding. 

Side note: Embedding has proven to be very helpful for the generation of hands! :)

## Usage

To use this embedding you have to download the file aswell as drop it into the "\stable-diffusion-webui\embeddings" folder.

**Please put the embedding in the negative prompt to get the right results!**

For special negative tags such as "malformed sword", you still need to add them yourself. The negative embedding is trained on a basic skeleton for the negative prompt, which should provide a high-resolution image as a result.

### Version 1:

Issue: Changing the style to much.

To use it in the negative prompt: ```"bad_prompt"```

Personally, I would recommend to use my embeddings with a strength of 0.8 even the negative embeddings, like ```"(bad_prompt:0.8)"```

### Version 2:

With this version I tried to reduce the amount of vectors used, aswell as the issue with the changing artstyle. The newer version is still a work in progress, but its already way better than the first version. Its in files section!

I hope you enjoy the embedding. If you have any questions, you can ask me anything via Discord: "Nerfgun3#7508"

## License

This embedding is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage.
The CreativeML OpenRAIL License specifies: 

1. You can't use the embedding to deliberately produce nor share illegal or harmful outputs or content 
2. The authors claims no rights on the outputs you generate, you are free to use them and are accountable for their use which must not go against the provisions set in the license
3. You may re-distribute the weights and use the embedding commercially and/or as a service. If you do, please be aware you have to include the same use restrictions as the ones in the license and share a copy of the CreativeML OpenRAIL-M to all your users (please read the license entirely and carefully)
[Please read the full license here](https://huggingface.co/spaces/CompVis/stable-diffusion-license)