--- license: mit base_model: - zai-org/GLM-5.3-Flash - deepseek-ai/DeepSeek-V4.1-Flash-1017 - tencent/Hy4-flash base_model_relation: adapter tags: - mako - abliteration --- # mako ablation files Refusal directions for [mako](https://github.com/jhanssen/mako), applied at run time: mako removes them from chosen rows of the computation (`x -= scale (x . v) v` per direction) and leaves the model files as they are. ## GLM-5.3-Flash `glm-5.3-flash/refusal-3dir.abl`: 3 directions per layer for 45 layers, at the sites `ffn_out` and `stream`. For the [Maya](https://huggingface.co/peasantsmith/GLM-5.3-Flash-Maya-GGUF) GGUFs. It is the vector `vector/glm53-refusal-per-block-3dir.layers45.f32` from [alesha-pro/GLM-5.3-Flash-abliterated-Maya-M-GGUF](https://huggingface.co/alesha-pro/GLM-5.3-Flash-abliterated-Maya-M-GGUF) in mako's format, the same directions at both sites. ## DeepSeek-V4.1-Flash-1017 `deepseek-v4.1-flash-1017/refusal.abl`: 2 directions per layer for 40 layers, at the sites `attn_out` and `shexp_out`. For the [Maya](https://huggingface.co/peasantsmith/DeepSeek-V4.1-Flash-1017-Maya-GGUF) and [ISTA GSQ-RCO](https://huggingface.co/ISTA-DASLab/DeepSeek-V4.1-Flash-1017-GSQ-RCO-GGUF) GGUFs. The directions come from [mrfakename/DeepSeek-V4.1-Flash-1017-abliterated](https://huggingface.co/mrfakename/DeepSeek-V4.1-Flash-1017-abliterated). ## Hy4-flash `hy4-flash/refusal.abl`: 2 directions per hyper-connection stream (4 streams) at the sites `stream0` to `stream3` (each stream entering layers 1 to 41, after its Engram) and `head0` to `head3` (the streams before the output head, stored at the last layer). For the [Maya](https://huggingface.co/peasantsmith/Hy4-Flash-Maya-GGUF) GGUFs. It is `Hy4-flash-refusal-directions.bin` from [alesha-pro/Hy4-flash-Uncensored-GGUF](https://huggingface.co/alesha-pro/Hy4-flash-Uncensored-GGUF) (revision `239e9f9b`) in mako's format (`tools/hy4f_ablation.py`). With Maya-M, thinking off, the first 32 prompts of that repository's `harmful-val.json`: 1 refused, 25 without the file; of 16 harmless prompts none either way (refusal phrases in the first 48 tokens). ## Use ```sh mako_serve --ablate refusal.abl [--ablate-scale F] ``` `--ablate-scale` multiplies the strength the vectors' norms carry (default 1). `mako-download --ablate` fetches the right file along with the model. ## Format `MAKOABL1`: the magic, then four little-endian uint32 (embedding width, layers, sites, directions k), the site names (16 bytes each, zero-padded), then float32 vectors `[layer][site][k][width]`. Only mako reads it.