GitHunt
ZE

zer0int/ComfyUI-GPT2-Layer-Shuffle-Prompting

Shuffle GPT-2's layers and have it prompt an image. Node works with any model - Flux, SD3, SDXL...

ComfyUI Shuffle Node for GPT-2 & prompting. ๐Ÿ™ˆ

Shuffle GPT-2's layers, have the AI prompt an image.โ€โ‰๏ธ๐Ÿค–๐Ÿ’ซ๐Ÿคฌ

  • Simply put "ComfyUI-GPT2shuffle" into "ComfyUI/custom_nodes" -> "zer0int" node group.
  • Or use the provided workflow.
  • Allows shuffling of Layers (Attn, MLP, Full Layer) of a chose GPT-2 model -> Prompt.
  • Uses the GPT-2 base (foundational) pre-trained model. Will continue / complete your sentence.
  • Why? It's interesting: A glimpse at how the base model works internally.
  • โš ๏ธ Output is highly unpredictable and likely to be inappropriate / NSFW. Use responsibly.
  • Can be used in conjunction with my CLIP, T5 & Flux Shuffle nodes.

example-of-node

helpful-info


Example using Flux.1:

example-gpt2-layer-shuffle