codeShare commited on
Commit
c8d02c9
1 Parent(s): c4972f8

Upload fusion_t2i_CLIP_interrogator.ipynb

Browse files
Google Colab Notebooks/fusion_t2i_CLIP_interrogator.ipynb CHANGED
@@ -52,7 +52,7 @@
52
  " for symbol in ['^']:\n",
53
  " result = result.replace(symbol,'')\n",
54
  " #------#\n",
55
- " result = result.replace('\\\\|','|')\n",
56
  " return result;\n",
57
  "\n",
58
  "\n",
@@ -429,9 +429,9 @@
429
  "newline_Separator = False # param {type:\"boolean\"}\n",
430
  "\n",
431
  "import random\n",
432
- "list_size2 = 1000 # param {type:'number'}\n",
433
- "start_at_index2 = 10000 # param {type:'number'}\n",
434
- "rate_percent = 0 # param {type:\"slider\", min:0, max:100, step:1}\n",
435
  "\n",
436
  "# @markdown Repeat output N times\n",
437
  "N = 7 # @param {type:\"slider\", min:0, max:10, step:1}\n",
@@ -537,7 +537,7 @@
537
  "\n",
538
  " # title Show the 100 most similiar suffix and prefix text-encodings to the text encoding\n",
539
  " RANGE = list_size\n",
540
- " separator = '|'\n",
541
  " if newline_Separator : separator = separator + '\\n'\n",
542
  "\n",
543
  " _prompts = ''\n",
 
52
  " for symbol in ['^']:\n",
53
  " result = result.replace(symbol,'')\n",
54
  " #------#\n",
55
+ " result = result.replace('\\\\|','|').replace(' |',' |')\n",
56
  " return result;\n",
57
  "\n",
58
  "\n",
 
429
  "newline_Separator = False # param {type:\"boolean\"}\n",
430
  "\n",
431
  "import random\n",
432
+ "list_size2 = 0 # param {type:'number'}\n",
433
+ "start_at_index2 = NUM_VOCAB_ITEMS # param {type:'number'}\n",
434
+ "rate_percent = -1 # param {type:\"slider\", min:0, max:100, step:1}\n",
435
  "\n",
436
  "# @markdown Repeat output N times\n",
437
  "N = 7 # @param {type:\"slider\", min:0, max:10, step:1}\n",
 
537
  "\n",
538
  " # title Show the 100 most similiar suffix and prefix text-encodings to the text encoding\n",
539
  " RANGE = list_size\n",
540
+ " separator = ' |'\n",
541
  " if newline_Separator : separator = separator + '\\n'\n",
542
  "\n",
543
  " _prompts = ''\n",