Spaces:
Running
Running
Jeff Moe commited on
Commit ·
b063f5c
1
Parent(s): 18f8235
Schismatic org card
Browse files- README.md +113 -3
- index.html +30 -9
- style.css +111 -16
README.md
CHANGED
|
@@ -1,10 +1,120 @@
|
|
| 1 |
---
|
| 2 |
title: README
|
| 3 |
-
emoji:
|
| 4 |
colorFrom: indigo
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
title: README
|
| 3 |
+
emoji: 🦜
|
| 4 |
colorFrom: indigo
|
| 5 |
+
colorTo: purple
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
---
|
| 9 |
|
| 10 |
+
<p align="center">
|
| 11 |
+
<img src="https://schismatic.ai/static/parrot-book-256.png" alt="Schismatic logo" width="160"/>
|
| 12 |
+
</p>
|
| 13 |
+
|
| 14 |
+
<h1 align="center">Schismatic</h1>
|
| 15 |
+
|
| 16 |
+
<p align="center">
|
| 17 |
+
<strong>A free software AI model uncensorship tool.</strong>
|
| 18 |
+
</p>
|
| 19 |
+
|
| 20 |
+
<p align="center">
|
| 21 |
+
<a href="https://schismatic.ai/">Website</a> ·
|
| 22 |
+
<a href="https://spacecruft.org/schismatic/schismatic">Source</a> ·
|
| 23 |
+
<a href="https://pypi.org/project/schismatic/">PyPI</a> ·
|
| 24 |
+
<a href="https://huggingface.co/schismatic">Models</a>
|
| 25 |
+
</p>
|
| 26 |
+
|
| 27 |
+
---
|
| 28 |
+
|
| 29 |
+
## What is Schismatic?
|
| 30 |
+
|
| 31 |
+
**Schismatic** is a free software toolkit that takes an existing open-weights
|
| 32 |
+
language model and surgically removes its built-in *“I can’t help with that”*
|
| 33 |
+
refusals — without retraining the model, changing its facts, or degrading
|
| 34 |
+
its writing quality.
|
| 35 |
+
|
| 36 |
+
This HuggingFace organization is the official home of the **modified models**
|
| 37 |
+
produced by the Schismatic tool. If you don’t want to run the tool yourself,
|
| 38 |
+
you can simply download a published model from here and use it directly.
|
| 39 |
+
|
| 40 |
+
## What it does (and doesn’t)
|
| 41 |
+
|
| 42 |
+
- ✅ **Finds** the small internal direction inside a transformer model that
|
| 43 |
+
most strongly predicts a refusal.
|
| 44 |
+
- ✅ **Subtracts** that direction from a handful of layers — a tiny,
|
| 45 |
+
reversible, surgical edit.
|
| 46 |
+
- ✅ **Measures** the result against the original under a fixed evaluation
|
| 47 |
+
configuration (refusal rate, KL divergence, next-token entropy,
|
| 48 |
+
coherence gate).
|
| 49 |
+
- ❌ It does **not** retrain the model.
|
| 50 |
+
- ❌ It does **not** change the model’s knowledge or writing quality —
|
| 51 |
+
independent measurements show the modified model stays very close to
|
| 52 |
+
the original on normal tasks.
|
| 53 |
+
|
| 54 |
+
## How it works, briefly
|
| 55 |
+
|
| 56 |
+
1. **Probe** — feed the model a batch of harmless and harmful prompts and
|
| 57 |
+
watch which inner signals fire on the harmful ones.
|
| 58 |
+
2. **Find the direction** — identify the single direction inside the model
|
| 59 |
+
that most strongly predicts a refusal.
|
| 60 |
+
3. **Subtract it** — apply a small, surgical edit that removes that
|
| 61 |
+
direction from a handful of internal layers.
|
| 62 |
+
4. **Measure** — score the modified model against the original to confirm
|
| 63 |
+
it still works correctly on normal tasks.
|
| 64 |
+
|
| 65 |
+
## Supported model families
|
| 66 |
+
|
| 67 |
+
Recipes ship for:
|
| 68 |
+
|
| 69 |
+
- **Qwen**, **Qwen3**, **Qwen3-MoE**, **Qwen3.6**
|
| 70 |
+
- **Gemma 3**, **Gemma 4**
|
| 71 |
+
- **GLM-5**
|
| 72 |
+
- **DeepSeek V4**
|
| 73 |
+
|
| 74 |
+
See the [benchmarks page](https://schismatic.ai/benchmarks.html) for the
|
| 75 |
+
latest numbers and the [studies page](https://schismatic.ai/studies.html)
|
| 76 |
+
for the published hyperparameter searches.
|
| 77 |
+
|
| 78 |
+
## Who it’s for
|
| 79 |
+
|
| 80 |
+
Researchers, developers, and curious people who want to:
|
| 81 |
+
|
| 82 |
+
- Study how refusal behavior is encoded in modern LLMs.
|
| 83 |
+
- Use a model that simply answers the question — for security research,
|
| 84 |
+
medicine, history, fiction, or any sensitive topic legitimately blocked
|
| 85 |
+
by over-broad safety training.
|
| 86 |
+
- Reproduce, extend, or audit the modifications openly.
|
| 87 |
+
|
| 88 |
+
## Install the tool
|
| 89 |
+
|
| 90 |
+
```bash
|
| 91 |
+
pip install schismatic
|
| 92 |
+
```
|
| 93 |
+
|
| 94 |
+
Then point it at any supported open-weights checkpoint to produce your own
|
| 95 |
+
uncensored variant on your own hardware.
|
| 96 |
+
|
| 97 |
+
## Project links
|
| 98 |
+
|
| 99 |
+
| Resource | URL |
|
| 100 |
+
|----------------------|-----|
|
| 101 |
+
| 🌐 Website | <https://schismatic.ai/> |
|
| 102 |
+
| 📦 PyPI package | <https://pypi.org/project/schismatic/> |
|
| 103 |
+
| 💻 Source code | <https://spacecruft.org/schismatic/schismatic> |
|
| 104 |
+
| 🤗 Released models | <https://huggingface.co/schismatic> |
|
| 105 |
+
| 📊 Benchmarks | <https://schismatic.ai/benchmarks.html> |
|
| 106 |
+
| 🔬 Studies | <https://schismatic.ai/studies.html> |
|
| 107 |
+
| 📜 Changelog | <https://schismatic.ai/changelog.html> |
|
| 108 |
+
| 🙏 Credits | <https://schismatic.ai/credits.html> |
|
| 109 |
+
|
| 110 |
+
## License
|
| 111 |
+
|
| 112 |
+
Schismatic — including all code, recipes, study artifacts, and the
|
| 113 |
+
modified models published under this organization — is licensed under the
|
| 114 |
+
**GNU Affero General Public License, version 3 or later**
|
| 115 |
+
([AGPL-3.0-or-later](https://www.gnu.org/licenses/agpl-3.0.html)).
|
| 116 |
+
|
| 117 |
+
## Author
|
| 118 |
+
|
| 119 |
+
**Jeff Moe** <moe@spacecruft.org>
|
| 120 |
+
Loveland, Colorado, USA
|
index.html
CHANGED
|
@@ -1,19 +1,40 @@
|
|
| 1 |
<!doctype html>
|
| 2 |
-
<html>
|
| 3 |
<head>
|
| 4 |
<meta charset="utf-8" />
|
| 5 |
-
<meta name="viewport" content="width=device-width" />
|
| 6 |
-
<title>
|
|
|
|
|
|
|
|
|
|
| 7 |
<link rel="stylesheet" href="style.css" />
|
| 8 |
</head>
|
| 9 |
<body>
|
| 10 |
-
<
|
| 11 |
-
<
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
<p>
|
| 14 |
-
|
| 15 |
-
<a href="https://huggingface.co/
|
|
|
|
| 16 |
</p>
|
| 17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
</body>
|
| 19 |
</html>
|
|
|
|
| 1 |
<!doctype html>
|
| 2 |
+
<html lang="en">
|
| 3 |
<head>
|
| 4 |
<meta charset="utf-8" />
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
| 6 |
+
<title>Schismatic — free software AI model uncensorship tool</title>
|
| 7 |
+
<meta name="description" content="Schismatic is a free software AI model uncensorship tool." />
|
| 8 |
+
<meta name="theme-color" content="#4338ca" />
|
| 9 |
+
<link rel="canonical" href="https://huggingface.co/schismatic" />
|
| 10 |
<link rel="stylesheet" href="style.css" />
|
| 11 |
</head>
|
| 12 |
<body>
|
| 13 |
+
<main class="card">
|
| 14 |
+
<img
|
| 15 |
+
class="logo"
|
| 16 |
+
src="https://schismatic.ai/static/parrot-book-256.png"
|
| 17 |
+
alt="Schismatic logo"
|
| 18 |
+
/>
|
| 19 |
+
<h1>Schismatic</h1>
|
| 20 |
+
<p class="lede">A free software AI model uncensorship tool.</p>
|
| 21 |
+
|
| 22 |
<p>
|
| 23 |
+
This is the static-Space backing repo for the
|
| 24 |
+
<a href="https://huggingface.co/schismatic">Schismatic Hugging Face organization</a>.
|
| 25 |
+
The published modified models live there.
|
| 26 |
</p>
|
| 27 |
+
|
| 28 |
+
<nav class="links">
|
| 29 |
+
<a class="btn primary" href="https://huggingface.co/schismatic">🤗 Models</a>
|
| 30 |
+
<a class="btn" href="https://schismatic.ai/">🌐 Website</a>
|
| 31 |
+
<a class="btn" href="https://pypi.org/project/schismatic/">📦 PyPI</a>
|
| 32 |
+
<a class="btn" href="https://spacecruft.org/schismatic/schismatic">💻 Source</a>
|
| 33 |
+
</nav>
|
| 34 |
+
|
| 35 |
+
<p class="footer">
|
| 36 |
+
AGPL-3.0-or-later · Jeff Moe <moe@spacecruft.org> · Loveland, Colorado, USA
|
| 37 |
+
</p>
|
| 38 |
+
</main>
|
| 39 |
</body>
|
| 40 |
</html>
|
style.css
CHANGED
|
@@ -1,28 +1,123 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
}
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
margin-top: 0;
|
| 9 |
}
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
}
|
| 17 |
|
| 18 |
.card {
|
| 19 |
-
max-width:
|
|
|
|
| 20 |
margin: 0 auto;
|
| 21 |
-
padding:
|
| 22 |
-
|
|
|
|
| 23 |
border-radius: 16px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
}
|
| 25 |
|
| 26 |
-
.
|
| 27 |
-
margin-
|
|
|
|
|
|
|
| 28 |
}
|
|
|
|
| 1 |
+
:root {
|
| 2 |
+
--bg: #0f0f17;
|
| 3 |
+
--fg: #e6e6f0;
|
| 4 |
+
--muted: #9ca3af;
|
| 5 |
+
--accent: #a5b4fc;
|
| 6 |
+
--accent-hi: #c7d2fe;
|
| 7 |
+
--card-bg: #161623;
|
| 8 |
+
--card-border: #2a2a3d;
|
| 9 |
+
--btn-bg: #1f1f31;
|
| 10 |
+
--btn-bg-hover: #2a2a40;
|
| 11 |
+
--btn-primary: #4338ca;
|
| 12 |
+
--btn-primary-hover: #5b50d9;
|
| 13 |
}
|
| 14 |
|
| 15 |
+
* {
|
| 16 |
+
box-sizing: border-box;
|
|
|
|
| 17 |
}
|
| 18 |
|
| 19 |
+
html,
|
| 20 |
+
body {
|
| 21 |
+
margin: 0;
|
| 22 |
+
padding: 0;
|
| 23 |
+
min-height: 100%;
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
body {
|
| 27 |
+
background: var(--bg);
|
| 28 |
+
color: var(--fg);
|
| 29 |
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
|
| 30 |
+
"Helvetica Neue", Arial, sans-serif;
|
| 31 |
+
line-height: 1.55;
|
| 32 |
+
padding: 2.5rem 1rem;
|
| 33 |
+
display: flex;
|
| 34 |
+
justify-content: center;
|
| 35 |
}
|
| 36 |
|
| 37 |
.card {
|
| 38 |
+
max-width: 640px;
|
| 39 |
+
width: 100%;
|
| 40 |
margin: 0 auto;
|
| 41 |
+
padding: 2rem 1.75rem 1.5rem;
|
| 42 |
+
background: var(--card-bg);
|
| 43 |
+
border: 1px solid var(--card-border);
|
| 44 |
border-radius: 16px;
|
| 45 |
+
text-align: center;
|
| 46 |
+
}
|
| 47 |
+
|
| 48 |
+
.logo {
|
| 49 |
+
width: 128px;
|
| 50 |
+
height: auto;
|
| 51 |
+
margin: 0 auto 0.75rem;
|
| 52 |
+
display: block;
|
| 53 |
+
}
|
| 54 |
+
|
| 55 |
+
h1 {
|
| 56 |
+
margin: 0 0 0.25rem;
|
| 57 |
+
font-size: 1.85rem;
|
| 58 |
+
letter-spacing: -0.01em;
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
p {
|
| 62 |
+
margin: 0.6rem 0;
|
| 63 |
+
color: var(--fg);
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
.lede {
|
| 67 |
+
color: var(--accent);
|
| 68 |
+
font-weight: 600;
|
| 69 |
+
margin: 0 0 1rem;
|
| 70 |
+
}
|
| 71 |
+
|
| 72 |
+
a {
|
| 73 |
+
color: var(--accent);
|
| 74 |
+
text-decoration: none;
|
| 75 |
+
border-bottom: 1px solid rgba(165, 180, 252, 0.4);
|
| 76 |
+
}
|
| 77 |
+
|
| 78 |
+
a:hover {
|
| 79 |
+
color: var(--accent-hi);
|
| 80 |
+
border-bottom-color: var(--accent-hi);
|
| 81 |
+
}
|
| 82 |
+
|
| 83 |
+
.links {
|
| 84 |
+
display: flex;
|
| 85 |
+
flex-wrap: wrap;
|
| 86 |
+
justify-content: center;
|
| 87 |
+
gap: 0.5rem;
|
| 88 |
+
margin: 1.25rem 0 1rem;
|
| 89 |
+
}
|
| 90 |
+
|
| 91 |
+
.btn {
|
| 92 |
+
display: inline-block;
|
| 93 |
+
padding: 0.5rem 0.9rem;
|
| 94 |
+
background: var(--btn-bg);
|
| 95 |
+
color: var(--fg);
|
| 96 |
+
border: 1px solid var(--card-border);
|
| 97 |
+
border-radius: 8px;
|
| 98 |
+
font-size: 0.95rem;
|
| 99 |
+
transition: background 0.15s ease, border-color 0.15s ease;
|
| 100 |
+
}
|
| 101 |
+
|
| 102 |
+
.btn:hover {
|
| 103 |
+
background: var(--btn-bg-hover);
|
| 104 |
+
border-color: var(--accent);
|
| 105 |
+
color: var(--fg);
|
| 106 |
+
}
|
| 107 |
+
|
| 108 |
+
.btn.primary {
|
| 109 |
+
background: var(--btn-primary);
|
| 110 |
+
border-color: var(--btn-primary);
|
| 111 |
+
color: #ffffff;
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
.btn.primary:hover {
|
| 115 |
+
background: var(--btn-primary-hover);
|
| 116 |
+
border-color: var(--btn-primary-hover);
|
| 117 |
}
|
| 118 |
|
| 119 |
+
.footer {
|
| 120 |
+
margin-top: 1.25rem;
|
| 121 |
+
color: var(--muted);
|
| 122 |
+
font-size: 0.85rem;
|
| 123 |
}
|