🧠 The Frankenstein Pruner

Lobotomize language models by ripping out their middle layers. Test the output, and if it produces beautiful, semi-coherent gibberish, save your abomination to the Hugging Face Hub!

✂️ Mad Scientist Cheat Sheet

Models have between 16 and 28 layers. If a model has 22 layers, valid indices are 0 to 21.

The Bookend (The Best Starter) Keep the first 2 and last 2 layers. It usually remembers grammar but forgets facts. Try: 0, 1, 20, 21

The Swiss Cheese Keep every other layer. The model's logic gets incredibly confused. Try: 0, 2, 4, 6, 8, 10, 12, 14

The Brainless Keep only the first layer and the last layer. Absolute chaos. Try: 0, 21

Base Model