modelify / README.md
acecalisto3's picture
Upload 9 files
d072c3b verified
|
Raw History Blame Contribute Delete
907 Bytes

A newer version of the Gradio SDK is available: 6.32.0

Upgrade
metadata
title: Modelifier
emoji: ✂️
colorFrom: gray
colorTo: green
sdk: gradio
sdk_version: 4.44.1
app_file: app.py
pinned: false
license: apache-2.0
short_description: Point at a model, add water, cut the weights, create it

Modelifier

Point at a Hugging Face model. Point at datasets or other models as water. The system reads the files it needs, finds a direction from that water, and cuts it into the residual out-projection:

w_j <- w_j - alpha * (u^T w_j) * u

alpha = 1 removes the component. alpha = 6, the published strength, multiplies it by -5.

Test writes nothing. Create needs a write token and nothing else. It makes the named model under your account and, if you leave the toggle on, a chat Space next to it.

Untouched files are copied on the Hub. Only the dirty shard is downloaded, edited, and uploaded. The token is used for that request and is not written to disk.