DeepSeek-V4.1-Flash EXL3: refusal control vector (GLP-27, L11-37)
A 556 KB file that makes DeepSeek-V4.1-Flash refuse less. It is loaded at
inference time next to the model. No weights are changed.
| File | DeepSeek-V4.1-Flash-EXL3-cvec-GLP-27-L11-37-a1.gguf (557,216 bytes) |
| Model | Mia-AiLab/DeepSeek-V4.1-Flash-1017-EXL3-EAQ-v1-2.9-bpw only |
| Format | GLP at 42f531dbc1, spec v3, project mode |
| Layers | 11 to 37 (27 directions) |
| Runtime | TensorFold (experimental) |
What it does
Refusals roughly halve. It is not a full removal.
Test: 10 harmful requests and 10 harmless look-alikes, temperature 0, 140 tokens.
Refused = the reply contains a refusal phrase.
| Setting | Harmful refused | Harmless refused | Text OK |
|---|---|---|---|
| No file | 10/10 | 2/10 | yes |
| This file, strength 1 | 6/10 | 1/10 | yes |
| This file, strength 2 | 5/10 | 0/10 | yes |
| This file, strength 3 | 10/10 | 10/10 | broken |
Use strength 1 or 2. Strength 3 breaks the text. The file ships strength 1.
Dose gates, same server, automatic tool choice (never forced):
| Gate | No file | Strength 1 | Strength 2 |
|---|---|---|---|
| Tool calls right (48 tasks) | 44/48 | 44/48 | 44/48 |
| Empty or looping answers (30 ordinary tasks) | 0/30 | 0/30 | 0/30 |
| Strict JSON (5 tasks) | 5/5 | 5/5 | 5/5 |
| Empty output at the token limit (90 plain runs) | 0/90 | 0/90 | 0/90 |
Parallel calls are 8/12 and the four misses are the stock model's own. Strength 2
is the same on the gates; its only visible difference is one code answer with
more repeated text (0.30 vs 0.14 four-gram share).
Applying the same directions to all 39 layers also breaks the text, which is why
only layers 11 to 37 are included.
Use
tensorfold-native serve PACK_DIR --context 4096 \
--glp DeepSeek-V4.1-Flash-EXL3-cvec-GLP-27-L11-37-a1.gguf
The file carries strength 1 as its default; --glp-alpha 2 is the stronger setting on the refusal ladder. The server prints the file name, digest and strength at startup.
Limits
- Works only with the pack named above. Another quantisation needs its own file.
- Ten prompts, phrase counting. It is not a benchmark.
- Tool calling and empty-output rate match the stock model on the gates above; nothing larger was measured.
- A runtime must apply the fold and the attention writer together (GLP spec v3) or refuse the file.
Details
- Directions: difference of means between 30 harmful and 30 matched harmless prompts, top 0.5 % of dimensions masked.
- Directions digest:
be1e0af2aa2bab5b327594714e209d177a87878a33b23a33da47b3d96e9e2efe - File sha256:
9526bfa7f76ae2950f8c50cbba34f0ba390f7a5eaad0a5d54037e09a1175d551 glp.validation: the refusal ladder and the gates above, suites named, in the file's metadata.glp.dose_cosper layer: 0.104 (layer 11) to 0.077 (layer 37) — the share of the stream norm the projection removes at strength 1.glp.resid_norm_medianper layer: 8.7 (layer 11) to 113.5 (layer 37).- Credits: the GLP format and its reference code are by Matt Suiche (msuiche),
weightless. The method follows Arditi et al., Refusal in Language Models Is Mediated by a Single Direction. Thedirection.Nfile layout is llama.cpp's. - Licence: Apache-2.0.