|
|
|
|
|
by vipermu
1364 days ago
|
|
You can use the code in https://github.com/krea-ai/prompt-search to do so. You first want to compute the CLIP embeddings of each prompt, index them using something like K-Nearest Neighbors (so you can get search for similarities fast), and then, given an input prompt, you will be able to find other indexed prompts that share their semantics. |
|
I now expect that the next model like GPT-3 will be multi-modal like Stable Diffusion, to better account for those semantic connections