GigaChat4-37B-A4B (Realigned with Lucid)
x27 fewer refusals (10/300 This vs 267/300 Original) while preserving model quality (0.11 KL divergence).

THIS IS A TEST OF LUCID, KEEP IT IN MIND.
Today, @mrfakename, having previously mysteriously realigned multiple very large 100B+ models, decided to open his own previously closed abliteration toolkit. And, well, it's amazing!
The toolkit named Lucid, unlike many other repositories, builts on top of llama.cpp, and this changes everything. It allows you to launch the process as a tiny LoRA adapter on top of quantized GGUFs, even on heavy quants, this means ANYONE who can launch the model can modify it. It supports MoE offload and llama.cpp's native experts caching. The modification type is MPOA, meaning it employs techniques such as biprojection and magnitude preservation. Also, just like in the case of @sanasol2008's work, Lucid captures the activations in two places: the first token in non-thinking mode and the first token after the reasoning. This is because the chat-mode and think-mode directions frequently diverge and peak in different layers. More information described here https://lucid-toolkit.org/docs/how-it-works.
As for the performance of this toolkit, GigaChat4 37B has been abliterated AND refusal-optimized literally in less than 30 minutes end to end!
If needed, it makes multiple SVD top K directions abliteration, if needed, determined automatically, but only 1 was sufficient in this case.
This is my first time using this toolkit and I didn't do serious benchmarks on this model because I don't have time, but the KL/refusal balance is satisfactory, also hedging removed thanks to the expanded vocabulary.
The next step is probably to make multilingual creative writing control vectors like I did for DeepSeek.
The modification is placed as a small size GGUF LoRA adapter because I don't want to use too much HF space, so bear with it. It was also created on the Q4 quantization and other quantizations are not guaranteed to work with it as much as they do with Q4.
⚠️ WARNING: The model with the modification adapter is very fun, creative and hilarious, and low KL shows that it's still not stupid, but you need to adhere to the base LICENSE. This is an individual use license that basically prohibits any commercial use and some non-commercial use. Please, remember not to deploy the model accidentally and don't do any real world harm.
The refusals and redirections are still not zero and you may encounter that!
This adapter only lowers the probability of the model to say "No". It doesn't change the base model's political or cultural alignment. It still reflects the biases of the training and of the post-training data. The modified model has not been evaluated on any political benchmarks. The project is aware of previous work by @skyzer4ever and @sanasol2008 that made me aware of other techniques. They also may have cleaner and less refusing models. My adapter is only a test usage of the Lucid toolkit.
Attach it to any stock quant at scale 1.0:
/PATH/llama.cpp/build/bin/llama-server \
-m /PATH/GigaChat4-37B-A4B-Q4_K_M.gguf \
--lora /PATH/gc4_runs/gigachat4-lucid-lora.gguf \
-ngl 999 \
-fa on -c 8192 --host 127.0.0.1 --port 8080 \
-cmoe --moe-cache-mib 4096 \ # MoE offload, if weak PC
Developing the tools to research and modify models paves us a way towards a truly sovereign local AI.
Info
Base model: GigaChat4-37B-A4B (gigachat4, 32 layers, n_embd=2560).
Method
- Subspace: rank-1 orthonormal basis from
local:2:1:chat,think,ru_chat,ru_think(families:chat, think, ru_chat, ru_think). - Edit:
W' = W - s * Q Q^T Wwithtriangulardepth kernels (post-norm gain-corrected via orth(g ⊙ Q)). - Search: Trial
21, first-token KL on benign prompts =0.1105(measured KL noise floor:0.0118). - Rounding:
diffuse(λ=100) into native checkpoint precision. - Provenance fingerprint:
60f8aabf82092cf7(full edit saved inrealignment-edit.npz).
Per-component edit schedule
| Component | Active layers | Strength range |
|---|---|---|
attn | 8–31 (24 layers) | 0.813–6.877 |
mlp | 8–31 (24 layers) | 0.555–0.919 |
exp | 8–31 (24 layers) | 3.409–3.698 |
Verification Results
Evaluated greedily on 150 held-out prompts (n_predict=None, think_predict=None).
| Run | Chat flagged | Think flagged | Think unfinished | Harmless 6-gram rep |
|---|---|---|---|---|
| Base | 149/150 | 118/150 | 150 | 0.0000 |
| Trial 21 (LoRA) | 3/150 | 7/150 | 0 | 0.0000 |
Abliterated with Lucid.