Upload sd_token_similarity_calculator.ipynb
Browse files- sd_token_similarity_calculator.ipynb +555 -130
sd_token_similarity_calculator.ipynb
CHANGED
|
@@ -30,7 +30,7 @@
|
|
| 30 |
"source": [
|
| 31 |
"# @title ✳️ Load/initialize values\n",
|
| 32 |
"#Imports\n",
|
| 33 |
-
"
|
| 34 |
"from safetensors.torch import load_file\n",
|
| 35 |
"import json , os , shelve , torch\n",
|
| 36 |
"import pandas as pd\n",
|
|
@@ -46,7 +46,7 @@
|
|
| 46 |
" id = id-id_max\n",
|
| 47 |
" return id\n",
|
| 48 |
"\n",
|
| 49 |
-
"def getPrompts(_path):\n",
|
| 50 |
" path = _path + '/text'\n",
|
| 51 |
" path_enc = _path + '/text_encodings'\n",
|
| 52 |
" #-----#\n",
|
|
@@ -75,6 +75,7 @@
|
|
| 75 |
" #Read the 'header' file in the JSON\n",
|
| 76 |
" if _index <= 0 :\n",
|
| 77 |
" _NUM_ITEMS = int(value)\n",
|
|
|
|
| 78 |
" index = index + 1\n",
|
| 79 |
" continue\n",
|
| 80 |
" if _index <= 1 :\n",
|
|
@@ -85,12 +86,13 @@
|
|
| 85 |
" text_encodings[f'{index-1}'] = _text_encodings[f'{_index-1}']\n",
|
| 86 |
" text_encodings[f'{index}'] = _text_encodings[f'{_index}']\n",
|
| 87 |
" #------#\n",
|
|
|
|
| 88 |
" index = index + 1\n",
|
| 89 |
" continue\n",
|
| 90 |
" #------#\n",
|
| 91 |
" #Read the text_encodings + prompts\n",
|
| 92 |
" text_encodings[f'{index}'] = _text_encodings[f'{_index}']\n",
|
| 93 |
-
" prompts[f'{index}'] = _prompts[f'{_index}']\n",
|
| 94 |
" index = index + 1\n",
|
| 95 |
" continue\n",
|
| 96 |
" #-------#\n",
|
|
@@ -98,41 +100,354 @@
|
|
| 98 |
" #_text_encodings.close() #close the text_encodings file\n",
|
| 99 |
" file_index = file_index + 1\n",
|
| 100 |
" #----------#\n",
|
| 101 |
-
" NUM_ITEMS = index\n",
|
| 102 |
" return prompts , text_encodings , NUM_ITEMS\n",
|
| 103 |
-
"
|
| 104 |
"\n",
|
| 105 |
-
"
|
| 106 |
-
"
|
| 107 |
-
"
|
| 108 |
-
"
|
| 109 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 110 |
],
|
| 111 |
"metadata": {
|
| 112 |
"id": "rUXQ73IbonHY"
|
| 113 |
},
|
| 114 |
-
"execution_count":
|
| 115 |
"outputs": []
|
| 116 |
},
|
| 117 |
{
|
| 118 |
"cell_type": "code",
|
| 119 |
"source": [
|
| 120 |
-
"# @title
|
| 121 |
-
"
|
|
|
|
|
|
|
|
|
|
| 122 |
"\n",
|
|
|
|
| 123 |
"%cd /content/\n",
|
| 124 |
"!git clone https://huggingface.co/datasets/codeShare/text-to-image-prompts\n",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 125 |
"#------#\n",
|
| 126 |
-
"path = '/content/text-to-image-prompts/civitai-prompts/green'\n",
|
| 127 |
-
"prompts , text_encodings, NUM_VOCAB_ITEMS = getPrompts(path)\n",
|
| 128 |
"\n",
|
| 129 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 130 |
],
|
| 131 |
"metadata": {
|
| 132 |
-
"id": "ZMG4CThUAmwW"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 133 |
},
|
| 134 |
-
"execution_count":
|
| 135 |
-
"outputs": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 136 |
},
|
| 137 |
{
|
| 138 |
"cell_type": "code",
|
|
@@ -155,6 +470,7 @@
|
|
| 155 |
"\n",
|
| 156 |
"sims = torch.zeros(NUM_VOCAB_ITEMS)\n",
|
| 157 |
"for index in range(NUM_VOCAB_ITEMS):\n",
|
|
|
|
| 158 |
" text_features = text_encodings[f'{index}']\n",
|
| 159 |
" sims[index] = torch.nn.functional.cosine_similarity(text_features, text_features_A)\n",
|
| 160 |
"#------#\n",
|
|
@@ -164,7 +480,7 @@
|
|
| 164 |
"metadata": {
|
| 165 |
"id": "xc-PbIYF428y"
|
| 166 |
},
|
| 167 |
-
"execution_count":
|
| 168 |
"outputs": []
|
| 169 |
},
|
| 170 |
{
|
|
@@ -183,7 +499,6 @@
|
|
| 183 |
"# title Show the 100 most similiar suffix and prefix text-encodings to the text encoding\n",
|
| 184 |
"RANGE = list_size\n",
|
| 185 |
"separator = '|'\n",
|
| 186 |
-
"if append_Whitespace : separator = ' ' + separator\n",
|
| 187 |
"if newline_Separator : separator = separator + '\\n'\n",
|
| 188 |
"\n",
|
| 189 |
"_prompts = '{'\n",
|
|
@@ -213,10 +528,121 @@
|
|
| 213 |
"#-------#"
|
| 214 |
],
|
| 215 |
"metadata": {
|
| 216 |
-
"id": "_vnVbxcFf7WV"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 217 |
},
|
| 218 |
-
"execution_count":
|
| 219 |
-
"outputs": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 220 |
},
|
| 221 |
{
|
| 222 |
"cell_type": "markdown",
|
|
@@ -274,13 +700,13 @@
|
|
| 274 |
],
|
| 275 |
"metadata": {
|
| 276 |
"id": "ke6mZ1RZDOeB",
|
| 277 |
-
"outputId": "
|
| 278 |
"colab": {
|
| 279 |
"base_uri": "https://localhost:8080/",
|
| 280 |
"height": 1000
|
| 281 |
}
|
| 282 |
},
|
| 283 |
-
"execution_count":
|
| 284 |
"outputs": [
|
| 285 |
{
|
| 286 |
"output_type": "display_data",
|
|
@@ -324,7 +750,7 @@
|
|
| 324 |
"metadata": {
|
| 325 |
"id": "rebogpoyOG8k"
|
| 326 |
},
|
| 327 |
-
"execution_count":
|
| 328 |
"outputs": []
|
| 329 |
},
|
| 330 |
{
|
|
@@ -343,7 +769,6 @@
|
|
| 343 |
"# title Show the 100 most similiar suffix and prefix text-encodings to the text encoding\n",
|
| 344 |
"RANGE = list_size\n",
|
| 345 |
"separator = '|'\n",
|
| 346 |
-
"if append_Whitespace : separator = ' ' + separator\n",
|
| 347 |
"if newline_Separator : separator = separator + '\\n'\n",
|
| 348 |
"\n",
|
| 349 |
"_prompts = '{'\n",
|
|
@@ -377,114 +802,114 @@
|
|
| 377 |
"colab": {
|
| 378 |
"base_uri": "https://localhost:8080/"
|
| 379 |
},
|
| 380 |
-
"outputId": "
|
| 381 |
},
|
| 382 |
-
"execution_count":
|
| 383 |
"outputs": [
|
| 384 |
{
|
| 385 |
"output_type": "stream",
|
| 386 |
"name": "stdout",
|
| 387 |
"text": [
|
| 388 |
-
"{beautiful avatar pictures
|
| 389 |
-
"purple hair crowned standing in storm background
|
| 390 |
-
"
|
| 391 |
-
"
|
| 392 |
-
"
|
| 393 |
-
"visually striking spectacle inspired by the works
|
| 394 |
-
"
|
| 395 |
-
"a
|
| 396 |
-
"a sexy scifi warrior
|
| 397 |
-
"
|
| 398 |
-
"
|
| 399 |
-
"
|
| 400 |
-
"beautiful
|
| 401 |
-
"
|
| 402 |
-
"
|
| 403 |
-
"
|
| 404 |
-
"
|
| 405 |
-
"
|
| 406 |
-
"
|
| 407 |
-
"
|
| 408 |
-
"
|
| 409 |
-
"
|
| 410 |
-
"
|
| 411 |
-
"
|
| 412 |
-
"
|
| 413 |
-
"
|
| 414 |
-
"
|
| 415 |
-
"
|
| 416 |
-
"
|
| 417 |
-
"
|
| 418 |
-
"
|
| 419 |
-
"
|
| 420 |
-
"
|
| 421 |
-
"
|
| 422 |
-
"
|
| 423 |
-
"
|
| 424 |
-
"
|
| 425 |
-
"
|
| 426 |
-
"
|
| 427 |
-
"
|
| 428 |
-
"
|
| 429 |
-
"
|
| 430 |
-
"
|
| 431 |
-
"
|
| 432 |
-
"
|
| 433 |
-
"
|
| 434 |
-
"
|
| 435 |
-
"
|
| 436 |
-
"
|
| 437 |
-
"
|
| 438 |
-
"
|
| 439 |
-
"
|
| 440 |
-
"
|
| 441 |
-
"
|
| 442 |
-
"
|
| 443 |
-
"
|
| 444 |
-
"
|
| 445 |
-
"
|
| 446 |
-
"
|
| 447 |
-
"
|
| 448 |
-
"
|
| 449 |
-
"
|
| 450 |
-
"
|
| 451 |
-
"
|
| 452 |
-
"
|
| 453 |
-
"
|
| 454 |
-
"
|
| 455 |
-
"
|
| 456 |
-
"
|
| 457 |
-
"
|
| 458 |
-
"
|
| 459 |
-
"
|
| 460 |
-
"
|
| 461 |
-
"
|
| 462 |
-
"
|
| 463 |
-
"female
|
| 464 |
-
"
|
| 465 |
-
"
|
| 466 |
-
"
|
| 467 |
-
"
|
| 468 |
-
"
|
| 469 |
-
"
|
| 470 |
-
"
|
| 471 |
-
"
|
| 472 |
-
"
|
| 473 |
-
"
|
| 474 |
-
"
|
| 475 |
-
"
|
| 476 |
-
"
|
| 477 |
-
"cinematic
|
| 478 |
-
"
|
| 479 |
-
"
|
| 480 |
-
"
|
| 481 |
-
"
|
| 482 |
-
"
|
| 483 |
-
"
|
| 484 |
-
"
|
| 485 |
-
"
|
| 486 |
-
"
|
| 487 |
-
"
|
| 488 |
]
|
| 489 |
}
|
| 490 |
]
|
|
|
|
| 30 |
"source": [
|
| 31 |
"# @title ✳️ Load/initialize values\n",
|
| 32 |
"#Imports\n",
|
| 33 |
+
"#!pip install safetensors\n",
|
| 34 |
"from safetensors.torch import load_file\n",
|
| 35 |
"import json , os , shelve , torch\n",
|
| 36 |
"import pandas as pd\n",
|
|
|
|
| 46 |
" id = id-id_max\n",
|
| 47 |
" return id\n",
|
| 48 |
"\n",
|
| 49 |
+
"def getPrompts(_path, separator):\n",
|
| 50 |
" path = _path + '/text'\n",
|
| 51 |
" path_enc = _path + '/text_encodings'\n",
|
| 52 |
" #-----#\n",
|
|
|
|
| 75 |
" #Read the 'header' file in the JSON\n",
|
| 76 |
" if _index <= 0 :\n",
|
| 77 |
" _NUM_ITEMS = int(value)\n",
|
| 78 |
+
" prompts[f'{index}'] = _prompts[f'{_index}'] + separator\n",
|
| 79 |
" index = index + 1\n",
|
| 80 |
" continue\n",
|
| 81 |
" if _index <= 1 :\n",
|
|
|
|
| 86 |
" text_encodings[f'{index-1}'] = _text_encodings[f'{_index-1}']\n",
|
| 87 |
" text_encodings[f'{index}'] = _text_encodings[f'{_index}']\n",
|
| 88 |
" #------#\n",
|
| 89 |
+
" prompts[f'{index}'] = _prompts[f'{_index}'] + separator\n",
|
| 90 |
" index = index + 1\n",
|
| 91 |
" continue\n",
|
| 92 |
" #------#\n",
|
| 93 |
" #Read the text_encodings + prompts\n",
|
| 94 |
" text_encodings[f'{index}'] = _text_encodings[f'{_index}']\n",
|
| 95 |
+
" prompts[f'{index}'] = _prompts[f'{_index}'] + separator\n",
|
| 96 |
" index = index + 1\n",
|
| 97 |
" continue\n",
|
| 98 |
" #-------#\n",
|
|
|
|
| 100 |
" #_text_encodings.close() #close the text_encodings file\n",
|
| 101 |
" file_index = file_index + 1\n",
|
| 102 |
" #----------#\n",
|
| 103 |
+
" NUM_ITEMS = index -1\n",
|
| 104 |
" return prompts , text_encodings , NUM_ITEMS\n",
|
| 105 |
+
"#--------#\n",
|
| 106 |
"\n",
|
| 107 |
+
"def append_from_url(dictA, tensA , nA , url , separator):\n",
|
| 108 |
+
" dictB , tensB, nB = getPrompts(url, separator)\n",
|
| 109 |
+
" dictAB = dictA\n",
|
| 110 |
+
" tensAB = tensA\n",
|
| 111 |
+
" nAB = nA\n",
|
| 112 |
+
" for key in dictB:\n",
|
| 113 |
+
" nAB = nAB + 1\n",
|
| 114 |
+
" dictAB[f'{nA + int(key)}'] = dictB[key]\n",
|
| 115 |
+
" tensAB[f'{nA + int(key)}'] = tensB[key]\n",
|
| 116 |
+
" #-----#\n",
|
| 117 |
+
" return dictAB, tensAB , nAB-1\n",
|
| 118 |
+
"#-------#\n"
|
| 119 |
],
|
| 120 |
"metadata": {
|
| 121 |
"id": "rUXQ73IbonHY"
|
| 122 |
},
|
| 123 |
+
"execution_count": 54,
|
| 124 |
"outputs": []
|
| 125 |
},
|
| 126 |
{
|
| 127 |
"cell_type": "code",
|
| 128 |
"source": [
|
| 129 |
+
"# @title ✳️ Select items for the vocab\n",
|
| 130 |
+
"prompt_features = True # @param {\"type\":\"boolean\",\"placeholder\":\"🦜\"}\n",
|
| 131 |
+
"suffix = True # @param {\"type\":\"boolean\",\"placeholder\":\"🔹\"}\n",
|
| 132 |
+
"prefix = True # @param {\"type\":\"boolean\",\"placeholder\":\"🔸\"}\n",
|
| 133 |
+
"debug = False\n",
|
| 134 |
"\n",
|
| 135 |
+
"#🔸🔹\n",
|
| 136 |
"%cd /content/\n",
|
| 137 |
"!git clone https://huggingface.co/datasets/codeShare/text-to-image-prompts\n",
|
| 138 |
+
"\n",
|
| 139 |
+
"#------#\n",
|
| 140 |
+
"prompts = {}\n",
|
| 141 |
+
"text_encodings = {}\n",
|
| 142 |
+
"nA = 0\n",
|
| 143 |
+
"#--------#\n",
|
| 144 |
+
"\n",
|
| 145 |
+
"if prompt_features:\n",
|
| 146 |
+
" url = '/content/text-to-image-prompts/civitai-prompts/green'\n",
|
| 147 |
+
" prompts , text_encodings, nA = append_from_url(prompts , text_encodings, nA , url , '')\n",
|
| 148 |
+
" if debug:\n",
|
| 149 |
+
" print(prompts[f'{nA}'])\n",
|
| 150 |
+
" print(text_encodings[f'{nA}'])\n",
|
| 151 |
+
"#--------#\n",
|
| 152 |
+
"\n",
|
| 153 |
+
"if suffix :\n",
|
| 154 |
+
" tmp = '/content/text-to-image-prompts/tokens/suffix/'\n",
|
| 155 |
+
" for item in ['common','average','rare','weird','exotic'] :\n",
|
| 156 |
+
" url = tmp + item\n",
|
| 157 |
+
" prompts , text_encodings, nA = append_from_url(prompts , text_encodings, nA , url , '')\n",
|
| 158 |
+
" if debug:\n",
|
| 159 |
+
" print(prompts[f'{nA}'])\n",
|
| 160 |
+
" print(text_encodings[f'{nA}'])\n",
|
| 161 |
+
"#------#\n",
|
| 162 |
+
"\n",
|
| 163 |
+
"if prefix :\n",
|
| 164 |
+
" tmp = '/content/text-to-image-prompts/tokens/prefix/'\n",
|
| 165 |
+
" for item in ['common','average','rare','weird','exotic'] :\n",
|
| 166 |
+
" url = tmp + item\n",
|
| 167 |
+
" prompts , text_encodings, nA = append_from_url(prompts , text_encodings, nA , url , '-')\n",
|
| 168 |
+
" if debug:\n",
|
| 169 |
+
" print(prompts[f'{nA}'])\n",
|
| 170 |
+
" print(text_encodings[f'{nA}'])\n",
|
| 171 |
"#------#\n",
|
|
|
|
|
|
|
| 172 |
"\n",
|
| 173 |
+
"if debug:\n",
|
| 174 |
+
" index = 0\n",
|
| 175 |
+
" for key in prompts: index = index + 1\n",
|
| 176 |
+
" print(index)\n",
|
| 177 |
+
" index = 0\n",
|
| 178 |
+
" for key in text_encodings : index = index + 1\n",
|
| 179 |
+
" print(index)\n",
|
| 180 |
+
"#------#\n",
|
| 181 |
+
"\n",
|
| 182 |
+
"NUM_VOCAB_ITEMS = nA\n"
|
| 183 |
],
|
| 184 |
"metadata": {
|
| 185 |
+
"id": "ZMG4CThUAmwW",
|
| 186 |
+
"outputId": "c34b6fcc-e4c5-4fa1-a55b-d8175ccb8f67",
|
| 187 |
+
"colab": {
|
| 188 |
+
"base_uri": "https://localhost:8080/"
|
| 189 |
+
}
|
| 190 |
},
|
| 191 |
+
"execution_count": 55,
|
| 192 |
+
"outputs": [
|
| 193 |
+
{
|
| 194 |
+
"output_type": "stream",
|
| 195 |
+
"name": "stdout",
|
| 196 |
+
"text": [
|
| 197 |
+
"/content\n",
|
| 198 |
+
"fatal: destination path 'text-to-image-prompts' already exists and is not an empty directory.\n",
|
| 199 |
+
"reading 🦜 fusion-t2i-prompt-features-23.json....\n",
|
| 200 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text\n",
|
| 201 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text_encodings\n",
|
| 202 |
+
"reading 🦜 fusion-t2i-prompt-features-9.json....\n",
|
| 203 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text\n",
|
| 204 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text_encodings\n",
|
| 205 |
+
"reading 🦜 fusion-t2i-prompt-features-4.json....\n",
|
| 206 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text\n",
|
| 207 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text_encodings\n",
|
| 208 |
+
"reading 🦜 fusion-t2i-prompt-features-2.json....\n",
|
| 209 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text\n",
|
| 210 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text_encodings\n",
|
| 211 |
+
"reading 🦜 fusion-t2i-prompt-features-25.json....\n",
|
| 212 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text\n",
|
| 213 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text_encodings\n",
|
| 214 |
+
"reading 🦜 fusion-t2i-prompt-features-6.json....\n",
|
| 215 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text\n",
|
| 216 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text_encodings\n",
|
| 217 |
+
"reading 🦜 fusion-t2i-prompt-features-19.json....\n",
|
| 218 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text\n",
|
| 219 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text_encodings\n",
|
| 220 |
+
"reading 🦜 fusion-t2i-prompt-features-33.json....\n",
|
| 221 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text\n",
|
| 222 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text_encodings\n",
|
| 223 |
+
"reading 🦜 fusion-t2i-prompt-features-18.json....\n",
|
| 224 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text\n",
|
| 225 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text_encodings\n",
|
| 226 |
+
"reading 🦜 fusion-t2i-prompt-features-22.json....\n",
|
| 227 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text\n",
|
| 228 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text_encodings\n",
|
| 229 |
+
"reading 🦜 fusion-t2i-prompt-features-31.json....\n",
|
| 230 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text\n",
|
| 231 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text_encodings\n",
|
| 232 |
+
"reading 🦜 fusion-t2i-prompt-features-3.json....\n",
|
| 233 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text\n",
|
| 234 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text_encodings\n",
|
| 235 |
+
"reading 🦜 fusion-t2i-prompt-features-8.json....\n",
|
| 236 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text\n",
|
| 237 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text_encodings\n",
|
| 238 |
+
"reading 🦜 fusion-t2i-prompt-features-7.json....\n",
|
| 239 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text\n",
|
| 240 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text_encodings\n",
|
| 241 |
+
"reading 🦜 fusion-t2i-prompt-features-13.json....\n",
|
| 242 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text\n",
|
| 243 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text_encodings\n",
|
| 244 |
+
"reading 🦜 fusion-t2i-prompt-features-34.json....\n",
|
| 245 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text\n",
|
| 246 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text_encodings\n",
|
| 247 |
+
"reading 🦜 fusion-t2i-prompt-features-14.json....\n",
|
| 248 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text\n",
|
| 249 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text_encodings\n",
|
| 250 |
+
"reading 🦜 fusion-t2i-prompt-features-12.json....\n",
|
| 251 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text\n",
|
| 252 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text_encodings\n",
|
| 253 |
+
"reading 🦜 fusion-t2i-prompt-features-17.json....\n",
|
| 254 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text\n",
|
| 255 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text_encodings\n",
|
| 256 |
+
"reading 🦜 fusion-t2i-prompt-features-21.json....\n",
|
| 257 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text\n",
|
| 258 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text_encodings\n",
|
| 259 |
+
"reading 🦜 fusion-t2i-prompt-features-24.json....\n",
|
| 260 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text\n",
|
| 261 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text_encodings\n",
|
| 262 |
+
"reading 🦜 fusion-t2i-prompt-features-32.json....\n",
|
| 263 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text\n",
|
| 264 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text_encodings\n",
|
| 265 |
+
"reading 🦜 fusion-t2i-prompt-features-5.json....\n",
|
| 266 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text\n",
|
| 267 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text_encodings\n",
|
| 268 |
+
"reading 🦜 fusion-t2i-prompt-features-20.json....\n",
|
| 269 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text\n",
|
| 270 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text_encodings\n",
|
| 271 |
+
"reading 🦜 fusion-t2i-prompt-features-16.json....\n",
|
| 272 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text\n",
|
| 273 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text_encodings\n",
|
| 274 |
+
"reading 🦜 fusion-t2i-prompt-features-28.json....\n",
|
| 275 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text\n",
|
| 276 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text_encodings\n",
|
| 277 |
+
"reading 🦜 fusion-t2i-prompt-features-10.json....\n",
|
| 278 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text\n",
|
| 279 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text_encodings\n",
|
| 280 |
+
"reading 🦜 fusion-t2i-prompt-features-15.json....\n",
|
| 281 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text\n",
|
| 282 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text_encodings\n",
|
| 283 |
+
"reading 🦜 fusion-t2i-prompt-features-26.json....\n",
|
| 284 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text\n",
|
| 285 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text_encodings\n",
|
| 286 |
+
"reading 🦜 fusion-t2i-prompt-features-27.json....\n",
|
| 287 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text\n",
|
| 288 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text_encodings\n",
|
| 289 |
+
"reading 🦜 fusion-t2i-prompt-features-1.json....\n",
|
| 290 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text\n",
|
| 291 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text_encodings\n",
|
| 292 |
+
"reading 🦜 fusion-t2i-prompt-features-29.json....\n",
|
| 293 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text\n",
|
| 294 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text_encodings\n",
|
| 295 |
+
"reading 🦜 fusion-t2i-prompt-features-30.json....\n",
|
| 296 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text\n",
|
| 297 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text_encodings\n",
|
| 298 |
+
"reading 🦜 fusion-t2i-prompt-features-11.json....\n",
|
| 299 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text\n",
|
| 300 |
+
"/content/text-to-image-prompts/civitai-prompts/green/text_encodings\n",
|
| 301 |
+
"reading 🔹 fusion-t2i-sd15-clip-tokens-common-suffix-5 Tokens.json....\n",
|
| 302 |
+
"/content/text-to-image-prompts/tokens/suffix/common/text\n",
|
| 303 |
+
"/content/text-to-image-prompts/tokens/suffix/common/text_encodings\n",
|
| 304 |
+
"reading 🔹 fusion-t2i-sd15-clip-tokens-common-suffix-2 Tokens.json....\n",
|
| 305 |
+
"/content/text-to-image-prompts/tokens/suffix/common/text\n",
|
| 306 |
+
"/content/text-to-image-prompts/tokens/suffix/common/text_encodings\n",
|
| 307 |
+
"reading 🔹 fusion-t2i-sd15-clip-tokens-common-suffix-3 Tokens.json....\n",
|
| 308 |
+
"/content/text-to-image-prompts/tokens/suffix/common/text\n",
|
| 309 |
+
"/content/text-to-image-prompts/tokens/suffix/common/text_encodings\n",
|
| 310 |
+
"reading 🔹 fusion-t2i-sd15-clip-tokens-common-suffix-4 Tokens.json....\n",
|
| 311 |
+
"/content/text-to-image-prompts/tokens/suffix/common/text\n",
|
| 312 |
+
"/content/text-to-image-prompts/tokens/suffix/common/text_encodings\n",
|
| 313 |
+
"reading 🔹 fusion-t2i-sd15-clip-tokens-common-suffix-1 Tokens.json....\n",
|
| 314 |
+
"/content/text-to-image-prompts/tokens/suffix/common/text\n",
|
| 315 |
+
"/content/text-to-image-prompts/tokens/suffix/common/text_encodings\n",
|
| 316 |
+
"reading 🔹 fusion-t2i-sd15-clip-tokens-common-suffix-6 Tokens.json....\n",
|
| 317 |
+
"/content/text-to-image-prompts/tokens/suffix/common/text\n",
|
| 318 |
+
"/content/text-to-image-prompts/tokens/suffix/common/text_encodings\n",
|
| 319 |
+
"reading 🔹 fusion-t2i-sd15-clip-tokens-average-suffix-5 Tokens.json....\n",
|
| 320 |
+
"/content/text-to-image-prompts/tokens/suffix/average/text\n",
|
| 321 |
+
"/content/text-to-image-prompts/tokens/suffix/average/text_encodings\n",
|
| 322 |
+
"reading 🔹 fusion-t2i-sd15-clip-tokens-average-suffix-1 Tokens.json....\n",
|
| 323 |
+
"/content/text-to-image-prompts/tokens/suffix/average/text\n",
|
| 324 |
+
"/content/text-to-image-prompts/tokens/suffix/average/text_encodings\n",
|
| 325 |
+
"reading 🔹 fusion-t2i-sd15-clip-tokens-average-suffix-6 Tokens.json....\n",
|
| 326 |
+
"/content/text-to-image-prompts/tokens/suffix/average/text\n",
|
| 327 |
+
"/content/text-to-image-prompts/tokens/suffix/average/text_encodings\n",
|
| 328 |
+
"reading 🔹 fusion-t2i-sd15-clip-tokens-average-suffix-2 Tokens.json....\n",
|
| 329 |
+
"/content/text-to-image-prompts/tokens/suffix/average/text\n",
|
| 330 |
+
"/content/text-to-image-prompts/tokens/suffix/average/text_encodings\n",
|
| 331 |
+
"reading 🔹 fusion-t2i-sd15-clip-tokens-average-suffix-3 Tokens.json....\n",
|
| 332 |
+
"/content/text-to-image-prompts/tokens/suffix/average/text\n",
|
| 333 |
+
"/content/text-to-image-prompts/tokens/suffix/average/text_encodings\n",
|
| 334 |
+
"reading 🔹 fusion-t2i-sd15-clip-tokens-average-suffix-7 Tokens.json....\n",
|
| 335 |
+
"/content/text-to-image-prompts/tokens/suffix/average/text\n",
|
| 336 |
+
"/content/text-to-image-prompts/tokens/suffix/average/text_encodings\n",
|
| 337 |
+
"reading 🔹 fusion-t2i-sd15-clip-tokens-average-suffix-4 Tokens.json....\n",
|
| 338 |
+
"/content/text-to-image-prompts/tokens/suffix/average/text\n",
|
| 339 |
+
"/content/text-to-image-prompts/tokens/suffix/average/text_encodings\n",
|
| 340 |
+
"reading 🔹 fusion-t2i-sd15-clip-tokens-rare-suffix-6 Tokens.json....\n",
|
| 341 |
+
"/content/text-to-image-prompts/tokens/suffix/rare/text\n",
|
| 342 |
+
"/content/text-to-image-prompts/tokens/suffix/rare/text_encodings\n",
|
| 343 |
+
"reading 🔹 fusion-t2i-sd15-clip-tokens-rare-suffix-1 Tokens.json....\n",
|
| 344 |
+
"/content/text-to-image-prompts/tokens/suffix/rare/text\n",
|
| 345 |
+
"/content/text-to-image-prompts/tokens/suffix/rare/text_encodings\n",
|
| 346 |
+
"reading 🔹 fusion-t2i-sd15-clip-tokens-rare-suffix-5 Tokens.json....\n",
|
| 347 |
+
"/content/text-to-image-prompts/tokens/suffix/rare/text\n",
|
| 348 |
+
"/content/text-to-image-prompts/tokens/suffix/rare/text_encodings\n",
|
| 349 |
+
"reading 🔹 fusion-t2i-sd15-clip-tokens-rare-suffix-2 Tokens.json....\n",
|
| 350 |
+
"/content/text-to-image-prompts/tokens/suffix/rare/text\n",
|
| 351 |
+
"/content/text-to-image-prompts/tokens/suffix/rare/text_encodings\n",
|
| 352 |
+
"reading 🔹 fusion-t2i-sd15-clip-tokens-rare-suffix-7 Tokens.json....\n",
|
| 353 |
+
"/content/text-to-image-prompts/tokens/suffix/rare/text\n",
|
| 354 |
+
"/content/text-to-image-prompts/tokens/suffix/rare/text_encodings\n",
|
| 355 |
+
"reading 🔹 fusion-t2i-sd15-clip-tokens-rare-suffix-3 Tokens.json....\n",
|
| 356 |
+
"/content/text-to-image-prompts/tokens/suffix/rare/text\n",
|
| 357 |
+
"/content/text-to-image-prompts/tokens/suffix/rare/text_encodings\n",
|
| 358 |
+
"reading 🔹 fusion-t2i-sd15-clip-tokens-rare-suffix-4 Tokens.json....\n",
|
| 359 |
+
"/content/text-to-image-prompts/tokens/suffix/rare/text\n",
|
| 360 |
+
"/content/text-to-image-prompts/tokens/suffix/rare/text_encodings\n",
|
| 361 |
+
"reading 🔹 fusion-t2i-sd15-clip-tokens-weird-suffix-6 Tokens.json....\n",
|
| 362 |
+
"/content/text-to-image-prompts/tokens/suffix/weird/text\n",
|
| 363 |
+
"/content/text-to-image-prompts/tokens/suffix/weird/text_encodings\n",
|
| 364 |
+
"reading 🔹 fusion-t2i-sd15-clip-tokens-weird-suffix-3 Tokens.json....\n",
|
| 365 |
+
"/content/text-to-image-prompts/tokens/suffix/weird/text\n",
|
| 366 |
+
"/content/text-to-image-prompts/tokens/suffix/weird/text_encodings\n",
|
| 367 |
+
"reading 🔹 fusion-t2i-sd15-clip-tokens-weird-suffix-5 Tokens.json....\n",
|
| 368 |
+
"/content/text-to-image-prompts/tokens/suffix/weird/text\n",
|
| 369 |
+
"/content/text-to-image-prompts/tokens/suffix/weird/text_encodings\n",
|
| 370 |
+
"reading 🔹 fusion-t2i-sd15-clip-tokens-weird-suffix-1 Tokens.json....\n",
|
| 371 |
+
"/content/text-to-image-prompts/tokens/suffix/weird/text\n",
|
| 372 |
+
"/content/text-to-image-prompts/tokens/suffix/weird/text_encodings\n",
|
| 373 |
+
"reading 🔹 fusion-t2i-sd15-clip-tokens-weird-suffix-4 Tokens.json....\n",
|
| 374 |
+
"/content/text-to-image-prompts/tokens/suffix/weird/text\n",
|
| 375 |
+
"/content/text-to-image-prompts/tokens/suffix/weird/text_encodings\n",
|
| 376 |
+
"reading 🔹 fusion-t2i-sd15-clip-tokens-weird-suffix-2 Tokens.json....\n",
|
| 377 |
+
"/content/text-to-image-prompts/tokens/suffix/weird/text\n",
|
| 378 |
+
"/content/text-to-image-prompts/tokens/suffix/weird/text_encodings\n",
|
| 379 |
+
"reading 🔹 fusion-t2i-sd15-clip-tokens-weird-suffix-7 Tokens.json....\n",
|
| 380 |
+
"/content/text-to-image-prompts/tokens/suffix/weird/text\n",
|
| 381 |
+
"/content/text-to-image-prompts/tokens/suffix/weird/text_encodings\n",
|
| 382 |
+
"reading 🔹 fusion-t2i-sd15-clip-tokens-exotic-suffix-4 Tokens.json....\n",
|
| 383 |
+
"/content/text-to-image-prompts/tokens/suffix/exotic/text\n",
|
| 384 |
+
"/content/text-to-image-prompts/tokens/suffix/exotic/text_encodings\n",
|
| 385 |
+
"reading 🔹 fusion-t2i-sd15-clip-tokens-exotic-suffix-2 Tokens.json....\n",
|
| 386 |
+
"/content/text-to-image-prompts/tokens/suffix/exotic/text\n",
|
| 387 |
+
"/content/text-to-image-prompts/tokens/suffix/exotic/text_encodings\n",
|
| 388 |
+
"reading 🔹 fusion-t2i-sd15-clip-tokens-exotic-suffix-3 Tokens.json....\n",
|
| 389 |
+
"/content/text-to-image-prompts/tokens/suffix/exotic/text\n",
|
| 390 |
+
"/content/text-to-image-prompts/tokens/suffix/exotic/text_encodings\n",
|
| 391 |
+
"reading 🔹 fusion-t2i-sd15-clip-tokens-exotic-suffix-1 Tokens.json....\n",
|
| 392 |
+
"/content/text-to-image-prompts/tokens/suffix/exotic/text\n",
|
| 393 |
+
"/content/text-to-image-prompts/tokens/suffix/exotic/text_encodings\n",
|
| 394 |
+
"reading 🔹 fusion-t2i-sd15-clip-tokens-exotic-suffix-7 Tokens.json....\n",
|
| 395 |
+
"/content/text-to-image-prompts/tokens/suffix/exotic/text\n",
|
| 396 |
+
"/content/text-to-image-prompts/tokens/suffix/exotic/text_encodings\n",
|
| 397 |
+
"reading 🔹 fusion-t2i-sd15-clip-tokens-exotic-suffix-6 Tokens.json....\n",
|
| 398 |
+
"/content/text-to-image-prompts/tokens/suffix/exotic/text\n",
|
| 399 |
+
"/content/text-to-image-prompts/tokens/suffix/exotic/text_encodings\n",
|
| 400 |
+
"reading 🔹 fusion-t2i-sd15-clip-tokens-exotic-suffix-5 Tokens.json....\n",
|
| 401 |
+
"/content/text-to-image-prompts/tokens/suffix/exotic/text\n",
|
| 402 |
+
"/content/text-to-image-prompts/tokens/suffix/exotic/text_encodings\n",
|
| 403 |
+
"reading 🔸 fusion-t2i-sd15-clip-tokens-common-prefix-1 Tokens.json....\n",
|
| 404 |
+
"/content/text-to-image-prompts/tokens/prefix/common/text\n",
|
| 405 |
+
"/content/text-to-image-prompts/tokens/prefix/common/text_encodings\n",
|
| 406 |
+
"reading 🔸 fusion-t2i-sd15-clip-tokens-common-prefix-3 Tokens.json....\n",
|
| 407 |
+
"/content/text-to-image-prompts/tokens/prefix/common/text\n",
|
| 408 |
+
"/content/text-to-image-prompts/tokens/prefix/common/text_encodings\n",
|
| 409 |
+
"reading 🔸 fusion-t2i-sd15-clip-tokens-common-prefix-2 Tokens.json....\n",
|
| 410 |
+
"/content/text-to-image-prompts/tokens/prefix/common/text\n",
|
| 411 |
+
"/content/text-to-image-prompts/tokens/prefix/common/text_encodings\n",
|
| 412 |
+
"reading 🔸 fusion-t2i-sd15-clip-tokens-average-prefix-3 Tokens.json....\n",
|
| 413 |
+
"/content/text-to-image-prompts/tokens/prefix/average/text\n",
|
| 414 |
+
"/content/text-to-image-prompts/tokens/prefix/average/text_encodings\n",
|
| 415 |
+
"reading 🔸 fusion-t2i-sd15-clip-tokens-average-prefix-2 Tokens.json....\n",
|
| 416 |
+
"/content/text-to-image-prompts/tokens/prefix/average/text\n",
|
| 417 |
+
"/content/text-to-image-prompts/tokens/prefix/average/text_encodings\n",
|
| 418 |
+
"reading 🔸 fusion-t2i-sd15-clip-tokens-average-prefix-1 Tokens.json....\n",
|
| 419 |
+
"/content/text-to-image-prompts/tokens/prefix/average/text\n",
|
| 420 |
+
"/content/text-to-image-prompts/tokens/prefix/average/text_encodings\n",
|
| 421 |
+
"reading 🔸 fusion-t2i-sd15-clip-tokens-rare-prefix-1 Tokens.json....\n",
|
| 422 |
+
"/content/text-to-image-prompts/tokens/prefix/rare/text\n",
|
| 423 |
+
"/content/text-to-image-prompts/tokens/prefix/rare/text_encodings\n",
|
| 424 |
+
"reading 🔸 fusion-t2i-sd15-clip-tokens-rare-prefix-3 Tokens.json....\n",
|
| 425 |
+
"/content/text-to-image-prompts/tokens/prefix/rare/text\n",
|
| 426 |
+
"/content/text-to-image-prompts/tokens/prefix/rare/text_encodings\n",
|
| 427 |
+
"reading 🔸 fusion-t2i-sd15-clip-tokens-rare-prefix-2 Tokens.json....\n",
|
| 428 |
+
"/content/text-to-image-prompts/tokens/prefix/rare/text\n",
|
| 429 |
+
"/content/text-to-image-prompts/tokens/prefix/rare/text_encodings\n",
|
| 430 |
+
"reading 🔸 fusion-t2i-sd15-clip-tokens-weird-prefix-1 Tokens.json....\n",
|
| 431 |
+
"/content/text-to-image-prompts/tokens/prefix/weird/text\n",
|
| 432 |
+
"/content/text-to-image-prompts/tokens/prefix/weird/text_encodings\n",
|
| 433 |
+
"reading 🔸 fusion-t2i-sd15-clip-tokens-weird-prefix-3 Tokens.json....\n",
|
| 434 |
+
"/content/text-to-image-prompts/tokens/prefix/weird/text\n",
|
| 435 |
+
"/content/text-to-image-prompts/tokens/prefix/weird/text_encodings\n",
|
| 436 |
+
"reading 🔸 fusion-t2i-sd15-clip-tokens-weird-prefix-2 Tokens.json....\n",
|
| 437 |
+
"/content/text-to-image-prompts/tokens/prefix/weird/text\n",
|
| 438 |
+
"/content/text-to-image-prompts/tokens/prefix/weird/text_encodings\n",
|
| 439 |
+
"reading 🔸 fusion-t2i-sd15-clip-tokens-exotic-prefix-1 Tokens.json....\n",
|
| 440 |
+
"/content/text-to-image-prompts/tokens/prefix/exotic/text\n",
|
| 441 |
+
"/content/text-to-image-prompts/tokens/prefix/exotic/text_encodings\n",
|
| 442 |
+
"reading 🔸 fusion-t2i-sd15-clip-tokens-exotic-prefix-2 Tokens.json....\n",
|
| 443 |
+
"/content/text-to-image-prompts/tokens/prefix/exotic/text\n",
|
| 444 |
+
"/content/text-to-image-prompts/tokens/prefix/exotic/text_encodings\n",
|
| 445 |
+
"reading 🔸 fusion-t2i-sd15-clip-tokens-exotic-prefix-3 Tokens.json....\n",
|
| 446 |
+
"/content/text-to-image-prompts/tokens/prefix/exotic/text\n",
|
| 447 |
+
"/content/text-to-image-prompts/tokens/prefix/exotic/text_encodings\n"
|
| 448 |
+
]
|
| 449 |
+
}
|
| 450 |
+
]
|
| 451 |
},
|
| 452 |
{
|
| 453 |
"cell_type": "code",
|
|
|
|
| 470 |
"\n",
|
| 471 |
"sims = torch.zeros(NUM_VOCAB_ITEMS)\n",
|
| 472 |
"for index in range(NUM_VOCAB_ITEMS):\n",
|
| 473 |
+
" if index<2: continue\n",
|
| 474 |
" text_features = text_encodings[f'{index}']\n",
|
| 475 |
" sims[index] = torch.nn.functional.cosine_similarity(text_features, text_features_A)\n",
|
| 476 |
"#------#\n",
|
|
|
|
| 480 |
"metadata": {
|
| 481 |
"id": "xc-PbIYF428y"
|
| 482 |
},
|
| 483 |
+
"execution_count": 56,
|
| 484 |
"outputs": []
|
| 485 |
},
|
| 486 |
{
|
|
|
|
| 499 |
"# title Show the 100 most similiar suffix and prefix text-encodings to the text encoding\n",
|
| 500 |
"RANGE = list_size\n",
|
| 501 |
"separator = '|'\n",
|
|
|
|
| 502 |
"if newline_Separator : separator = separator + '\\n'\n",
|
| 503 |
"\n",
|
| 504 |
"_prompts = '{'\n",
|
|
|
|
| 528 |
"#-------#"
|
| 529 |
],
|
| 530 |
"metadata": {
|
| 531 |
+
"id": "_vnVbxcFf7WV",
|
| 532 |
+
"outputId": "b9c6a86b-1239-410b-e240-aca1c8301249",
|
| 533 |
+
"colab": {
|
| 534 |
+
"base_uri": "https://localhost:8080/"
|
| 535 |
+
}
|
| 536 |
},
|
| 537 |
+
"execution_count": 50,
|
| 538 |
+
"outputs": [
|
| 539 |
+
{
|
| 540 |
+
"output_type": "stream",
|
| 541 |
+
"name": "stdout",
|
| 542 |
+
"text": [
|
| 543 |
+
"{her car behind on the road</w>|\n",
|
| 544 |
+
"the race car driver sits behind the wheel</w>|\n",
|
| 545 |
+
"speed-|\n",
|
| 546 |
+
"driving-|\n",
|
| 547 |
+
"highway-|\n",
|
| 548 |
+
"road-|\n",
|
| 549 |
+
"fast-|\n",
|
| 550 |
+
"drive-|\n",
|
| 551 |
+
"racing car in the background</w>|\n",
|
| 552 |
+
"traffic-|\n",
|
| 553 |
+
"driver-|\n",
|
| 554 |
+
"thats-|\n",
|
| 555 |
+
"roadto-|\n",
|
| 556 |
+
"slow-|\n",
|
| 557 |
+
"cause-|\n",
|
| 558 |
+
"cruise-|\n",
|
| 559 |
+
"cyber car looking_upscenery</w>|\n",
|
| 560 |
+
"cyber car looking_upscenery</w>|\n",
|
| 561 |
+
"travel-|\n",
|
| 562 |
+
"truck-|\n",
|
| 563 |
+
"car-|\n",
|
| 564 |
+
"that-|\n",
|
| 565 |
+
"destination-|\n",
|
| 566 |
+
"way-|\n",
|
| 567 |
+
"a beautiful</w>|\n",
|
| 568 |
+
"a beautiful</w>|\n",
|
| 569 |
+
"just-|\n",
|
| 570 |
+
"grat-|\n",
|
| 571 |
+
"rolling-|\n",
|
| 572 |
+
"simply-|\n",
|
| 573 |
+
"cruis-|\n",
|
| 574 |
+
"speed</w>|\n",
|
| 575 |
+
"something-|\n",
|
| 576 |
+
"cool-|\n",
|
| 577 |
+
"roadtrip</w>|\n",
|
| 578 |
+
"onlyin-|\n",
|
| 579 |
+
"random-|\n",
|
| 580 |
+
"because-|\n",
|
| 581 |
+
"carr-|\n",
|
| 582 |
+
"shre-|\n",
|
| 583 |
+
"driving</w>|\n",
|
| 584 |
+
"funny-|\n",
|
| 585 |
+
"street-|\n",
|
| 586 |
+
"dding-|\n",
|
| 587 |
+
"aand-|\n",
|
| 588 |
+
"ontheroad</w>|\n",
|
| 589 |
+
"classic-|\n",
|
| 590 |
+
"beauti-|\n",
|
| 591 |
+
"quick-|\n",
|
| 592 |
+
"reall-|\n",
|
| 593 |
+
"wast-|\n",
|
| 594 |
+
"wait-|\n",
|
| 595 |
+
"on the crowded streets</w>|\n",
|
| 596 |
+
"haun-|\n",
|
| 597 |
+
"epic-|\n",
|
| 598 |
+
"lest-|\n",
|
| 599 |
+
"faster</w>|\n",
|
| 600 |
+
"stoo-|\n",
|
| 601 |
+
"quality-|\n",
|
| 602 |
+
"fantastic-|\n",
|
| 603 |
+
"seem-|\n",
|
| 604 |
+
"love-|\n",
|
| 605 |
+
"yeah-|\n",
|
| 606 |
+
"well-|\n",
|
| 607 |
+
"moving-|\n",
|
| 608 |
+
"nice-|\n",
|
| 609 |
+
"late-|\n",
|
| 610 |
+
"camer-|\n",
|
| 611 |
+
"sure-|\n",
|
| 612 |
+
"only-|\n",
|
| 613 |
+
"chasing-|\n",
|
| 614 |
+
"loving-|\n",
|
| 615 |
+
"the image should have</w>|\n",
|
| 616 |
+
"best-|\n",
|
| 617 |
+
"reali-|\n",
|
| 618 |
+
"takes off down the track</w>|\n",
|
| 619 |
+
"and you can't help but feel</w>|\n",
|
| 620 |
+
"dazz-|\n",
|
| 621 |
+
"followthe-|\n",
|
| 622 |
+
"awesome-|\n",
|
| 623 |
+
"words-|\n",
|
| 624 |
+
"lifein-|\n",
|
| 625 |
+
"eng-|\n",
|
| 626 |
+
"herit-|\n",
|
| 627 |
+
"oneof-|\n",
|
| 628 |
+
"but now seems to exude</w>|\n",
|
| 629 |
+
"then-|\n",
|
| 630 |
+
"beast-|\n",
|
| 631 |
+
"thisis-|\n",
|
| 632 |
+
"goodday-|\n",
|
| 633 |
+
"thisi-|\n",
|
| 634 |
+
"right-|\n",
|
| 635 |
+
"is appropriate for the time period</w>|\n",
|
| 636 |
+
"amazing-|\n",
|
| 637 |
+
"race-|\n",
|
| 638 |
+
"madd-|\n",
|
| 639 |
+
"coming-|\n",
|
| 640 |
+
"zoom-|\n",
|
| 641 |
+
"picture-|\n",
|
| 642 |
+
"ight-}\n"
|
| 643 |
+
]
|
| 644 |
+
}
|
| 645 |
+
]
|
| 646 |
},
|
| 647 |
{
|
| 648 |
"cell_type": "markdown",
|
|
|
|
| 700 |
],
|
| 701 |
"metadata": {
|
| 702 |
"id": "ke6mZ1RZDOeB",
|
| 703 |
+
"outputId": "53b9280f-b8ba-4036-c720-e679bd0a162c",
|
| 704 |
"colab": {
|
| 705 |
"base_uri": "https://localhost:8080/",
|
| 706 |
"height": 1000
|
| 707 |
}
|
| 708 |
},
|
| 709 |
+
"execution_count": 51,
|
| 710 |
"outputs": [
|
| 711 |
{
|
| 712 |
"output_type": "display_data",
|
|
|
|
| 750 |
"metadata": {
|
| 751 |
"id": "rebogpoyOG8k"
|
| 752 |
},
|
| 753 |
+
"execution_count": 52,
|
| 754 |
"outputs": []
|
| 755 |
},
|
| 756 |
{
|
|
|
|
| 769 |
"# title Show the 100 most similiar suffix and prefix text-encodings to the text encoding\n",
|
| 770 |
"RANGE = list_size\n",
|
| 771 |
"separator = '|'\n",
|
|
|
|
| 772 |
"if newline_Separator : separator = separator + '\\n'\n",
|
| 773 |
"\n",
|
| 774 |
"_prompts = '{'\n",
|
|
|
|
| 802 |
"colab": {
|
| 803 |
"base_uri": "https://localhost:8080/"
|
| 804 |
},
|
| 805 |
+
"outputId": "68e866ad-9cc7-43f6-ad67-d72c28fa0b46"
|
| 806 |
},
|
| 807 |
+
"execution_count": 53,
|
| 808 |
"outputs": [
|
| 809 |
{
|
| 810 |
"output_type": "stream",
|
| 811 |
"name": "stdout",
|
| 812 |
"text": [
|
| 813 |
+
"{beautiful avatar pictures</w>|\n",
|
| 814 |
+
"purple hair crowned standing in storm background</w>|\n",
|
| 815 |
+
"warcraft</w>|\n",
|
| 816 |
+
"beautiful celebrity futuristic sci-fi</w>|\n",
|
| 817 |
+
"by magali villeneuve</w>|\n",
|
| 818 |
+
"visually striking spectacle inspired by the works</w>|\n",
|
| 819 |
+
"visually striking spectacle inspired by the works</w>|\n",
|
| 820 |
+
"a beautiful female warrior</w>|\n",
|
| 821 |
+
"a sexy scifi warrior</w>|\n",
|
| 822 |
+
"a sexy scifi warrior</w>|\n",
|
| 823 |
+
"film still from halo live action adaptation</w>|\n",
|
| 824 |
+
"cinematic film still from captain marvel</w>|\n",
|
| 825 |
+
"beautiful female warrior</w>|\n",
|
| 826 |
+
"beautiful female warrior</w>|\n",
|
| 827 |
+
"film still from halo live-action movie adaptation</w>|\n",
|
| 828 |
+
"outlandish costume design</w>|\n",
|
| 829 |
+
"defend-|\n",
|
| 830 |
+
"beautiful indian warrior queen</w>|\n",
|
| 831 |
+
"genie</w>|\n",
|
| 832 |
+
"of female space soldier</w>|\n",
|
| 833 |
+
"vfx</w>|\n",
|
| 834 |
+
"blue light on her face she appears calm</w>|\n",
|
| 835 |
+
"a female scifi warrior</w>|\n",
|
| 836 |
+
"a female scifi warrior</w>|\n",
|
| 837 |
+
"orian</w>|\n",
|
| 838 |
+
"nebula in her streak hair</w>|\n",
|
| 839 |
+
"wall-|\n",
|
| 840 |
+
"of brown skinned indian warrior queen</w>|\n",
|
| 841 |
+
"played by young dove cameron</w>|\n",
|
| 842 |
+
"thora</w>|\n",
|
| 843 |
+
"has runes on her body</w>|\n",
|
| 844 |
+
"has runes on her body</w>|\n",
|
| 845 |
+
"beautiful light makeup female sorceress</w>|\n",
|
| 846 |
+
"a gorgeous female void thrall</w>|\n",
|
| 847 |
+
"a gorgeous female void thrall</w>|\n",
|
| 848 |
+
"beautiful female elf queen</w>|\n",
|
| 849 |
+
"captivating mystique</w>|\n",
|
| 850 |
+
"captivating mystique</w>|\n",
|
| 851 |
+
"symbolizing her role as the goddess</w>|\n",
|
| 852 |
+
"blu-|\n",
|
| 853 |
+
"character integrated into the background</w>|\n",
|
| 854 |
+
"swirling black light around the character</w>|\n",
|
| 855 |
+
"very beautiful jean grey wearing</w>|\n",
|
| 856 |
+
"lightly blued metal armor</w>|\n",
|
| 857 |
+
"multiple different characters in the background</w>|\n",
|
| 858 |
+
"raid</w>|\n",
|
| 859 |
+
"tributes</w>|\n",
|
| 860 |
+
"cinematic still from conan</w>|\n",
|
| 861 |
+
"yo person as dark elf queen</w>|\n",
|
| 862 |
+
"descendants</w>|\n",
|
| 863 |
+
"trending at cgsociety</w>|\n",
|
| 864 |
+
"exodus</w>|\n",
|
| 865 |
+
"scarlett</w>|\n",
|
| 866 |
+
"femaleastronaut exalted human futuristic warrior</w>|\n",
|
| 867 |
+
"femaleastronaut exalted human futuristic warrior</w>|\n",
|
| 868 |
+
"indigo</w>|\n",
|
| 869 |
+
"epic fantasy greek priestess</w>|\n",
|
| 870 |
+
"epic fantasy greek priestess</w>|\n",
|
| 871 |
+
"female draenei world</w>|\n",
|
| 872 |
+
"genetically engineered soldiers</w>|\n",
|
| 873 |
+
"genetically engineered soldiers</w>|\n",
|
| 874 |
+
"visually striking scene the lighting</w>|\n",
|
| 875 |
+
"the female soldier marches in formation</w>|\n",
|
| 876 |
+
"the female soldier marches in formation</w>|\n",
|
| 877 |
+
"revealing costume design</w>|\n",
|
| 878 |
+
"pandora_smith_magister</w>|\n",
|
| 879 |
+
"pandora_smith_magister</w>|\n",
|
| 880 |
+
"his sorceress in the back ground</w>|\n",
|
| 881 |
+
"tali</w>|\n",
|
| 882 |
+
"gorgeous muscular elven ukrainian</w>|\n",
|
| 883 |
+
"gorgeous muscular elven ukrainian</w>|\n",
|
| 884 |
+
"womenshistorymonth</w>|\n",
|
| 885 |
+
"water elemental officer jenny</w>|\n",
|
| 886 |
+
"ontari-|\n",
|
| 887 |
+
"bleedblue</w>|\n",
|
| 888 |
+
"norse female goddess</w>|\n",
|
| 889 |
+
"matte fantasy painting</w>|\n",
|
| 890 |
+
"thanos</w>|\n",
|
| 891 |
+
"periwinkle purple skin</w>|\n",
|
| 892 |
+
"xmen</w>|\n",
|
| 893 |
+
"of norse female goddess</w>|\n",
|
| 894 |
+
"mujer de ojos rojos y pelo azulado</w>|\n",
|
| 895 |
+
"strength the battle scene around her</w>|\n",
|
| 896 |
+
"a beautiful young redhead warrior</w>|\n",
|
| 897 |
+
"a beautiful young redhead warrior</w>|\n",
|
| 898 |
+
"moody cinematic epic concept art</w>|\n",
|
| 899 |
+
"hypnotically beautiful wood elf in</w>|\n",
|
| 900 |
+
"hypnotically beautiful wood elf in</w>|\n",
|
| 901 |
+
"loraemmawatsonlora_v</w>|\n",
|
| 902 |
+
"alphonse mucha cinematic epic + rule</w>|\n",
|
| 903 |
+
"alphonse mucha cinematic epic + rule</w>|\n",
|
| 904 |
+
"an actress standing behind</w>|\n",
|
| 905 |
+
"fking_scifi_v amazing</w>|\n",
|
| 906 |
+
"shine like sapphires</w>|\n",
|
| 907 |
+
"defence</w>|\n",
|
| 908 |
+
"female elemental water wizard</w>|\n",
|
| 909 |
+
"female elemental water wizard</w>|\n",
|
| 910 |
+
"beautiful character design</w>|\n",
|
| 911 |
+
"horde</w>|\n",
|
| 912 |
+
"female warriors protecting an underwater temple</w>}\n"
|
| 913 |
]
|
| 914 |
}
|
| 915 |
]
|