Please enable JavaScript.
Coggle requires JavaScript to display documents.
generative AI - Coggle Diagram
generative AI
Images
Free
Stable diffusion
-
UI
Web server UIs
AUTOMATIC1111
-
Extensions
from the article
- 12 more items...
-
Tips
Get image prompt
You can drag and drop an image of civit ai into the pnginfo tab and then clic send to txt2img, you need to select the checkpoint model and that is all, everything else is set
-
-
-
-
-
-
-
Training models
-
Lora
Bigger than textual inversion but produces better result, not as good as dreambooth
-
LCM lora
Basically lora but generate images faster, allowing real time render : /watch?v=fotVrleRgi4
Dreambooth
Good result, large models
-
-
-
LyCORIS
Alternative to Lora
LyCORIS and LoRA models aim to make minor adjustments to a Stable Diffusion model using a small file. Both modify the U-Net through matrix decomposition, but their approaches differ
-
models
stable diffusion 1.5
1st version, the one we all know
SDXL
new version composed of 2 models, the base and refiner, produces better images
inner working
Sampler
what is it?
To produce an image, Stable Diffusion first generates a completely random image in the latent space. The noise predictor then estimates the noise of the image. The predicted noise is subtracted from the image. This process is repeated a dozen times. In the end, you get a clean image.
This denoising process is called sampling because Stable Diffusion generates a new sample image in each step. The method used in sampling is called the sampler or sampling method.
-
-
-
Number of step
Depend on the sampler, you need to experiment
-
-
-
-
-
techniques
controlnet
allow you to draw a "squeleton pose" in addition to your text prompt and the character in your image will take thtat pose
-
-
Sound
text to voice
toirtoise tts
gice it 3-5 10 seconds sample of a voice and it will speak with that voice, the voice is slightly different each time you make it speak tho
-
-
-
-
-
-
-
-
-
-
-
Text
LLM
-
-
-
technique
RAG
"teach" document to your model, making it more intelligent
how it works?
embeddings
that is how embedding are used, you make a database of embedding and when a user do a query you search which embedding could be use and add them to the context windows
PDF document are converted to vectors, they are all the same size (like hashes) but the vector allow you to know what is inside the document. so you can turn multiple pdf into embedding, give it to the LLM to make it somewhat more intelligent
-
It's not as cool a they say, I tested it, the model is not more intelligent, it feels like it does CTRL+F in your documents and uses part of them without understanding what is inside. the awnser were actually worse than without RAG in my case
Fine tuning
retrain the model to make it behave differently, get a model that talk like elon musk for example
Unscensor any model
-
make the awnser begin by "Sure, here how to do it :"
Since LLMs are text predictors, autocomplete on steroid, it will bypass the censoring lol
-