license: apache-2.0
library_name: gguf
pipeline_tag: text-generation
base_model: unsloth/Qwen4-35B-A3B-GGUF
base_model_relation: finetune
tags:
- gguf
- llama.cpp
- qwen4
- moe
- abliterated
- decensored
- chips
Qwen4-35B-A3B · CHiPS-Abliterated (Preview)
Modified versions of Unsloth's files from Qwen4-35B-A3B-GGUF, with refusal behavior reduced.
Not an official Qwen or Unsloth release. The Qwen team and Unsloth did not make it and do not endorse it.
Preview. This is an early release. Every file carries the same edit, tuned on
UD-Q8_K_XL. OnlyUD-Q8_K_XLhas been evaluated, on one set of 312 harmful requests and a small side-effect check. Replies with refusal phrases drop from 309 to 13, and none of those 13 was a clear refusal when read in context. But replies get about 5 times longer: at a 4,096-token limit, 278 of 312 replies finished, against 310 for the original. On gne's small side-effect check, short-task scores are unchanged and perplexity is 4.4% higher on average, 9.5% on Japanese text. The other sizes, fromUD-IQ1_StoBF16, carry the same edit but have not been evaluated.
- Refusals (
UD-Q8_K_XL): on 312 harmful requests in English, Japanese and Chinese, at a 4,096-token limit, 309 replies from the original (99.0%) contained refusal phrases, against 13 from this model (4.2%). Read in context, none of the 13 was a clear, complete refusal. - Longer replies (
UD-Q8_K_XL): 2,070 new tokens on average, against 412 for the original. At 4,096 tokens, 34 of 312 replies reached the limit (2 for the original), 1 of them while still thinking. Give it a large token limit (see Usage). - Side effects (
UD-Q8_K_XL, gne eval): 97.2% on 36 short-answer and format tasks for both files, with the same one miss. Perplexity rises by 4.4% on average, most on Japanese text (+9.5%). No language mixing in either. - Not measured yet: standard benchmarks such as HumanEval+, GSM8K or MMLU-Pro, and behavior on longer harmless requests.
- Files: all 23 of Unsloth's sizes, from
UD-IQ1_StoBF16. OnlyUD-Q8_K_XLis evaluated; the others carry the same edit. Each comes in two parts like Unsloth's (BF16in three). - Small edit: each file rewrites 8 of 912 tensors, each in its original type. All other tensors, including the router, all of the experts and the n-gram embedding table, are byte-identical to Unsloth's file of the same name, and the metadata is unchanged.
- Method: the edit was made with CHiPS (see below). The recipe is not published.
- Runtime: needs llama.cpp b12969 or later, the first build with Qwen4 support (see Usage).
What changed
| Original | This model | |
|---|---|---|
| Size | same as the original file | |
| Tensors | 912 | 912, of which 8 are rewritten |
| Linear-attention output, layers 18, 24, 25, 26, 29, 34 and 36 | Q4_K to BF16, by size (see below) | same type (rewritten) |
| Full-attention output, layer 23 | Q4_K to BF16, by size (see below) | same type (rewritten) |
| All other tensors, including the router, all experts, the MTP layer and the n-gram embedding table | byte-identical | |
| Metadata | unchanged |
Qwen4-35B-A3B mixes linear-attention layers with full-attention layers. The edit rewrites the output projection of eight attention layers: seven linear-attention layers and one full-attention layer. In layer 36 only the part of the projection that belongs to one head is changed; in the other seven layers the whole projection is.
The edited tensors are Q4_K and Q5_K in UD-IQ1_S and UD-IQ1_M; Q5_K and Q6_K in UD-IQ3_S; Q6_K in UD-IQ2_XXS, UD-IQ2_XS and UD-IQ2_S; Q6_K and Q8_0 in UD-IQ2_M; Q8_0 in UD-Q2_K_XL, UD-IQ3_XXS, UD-Q3_K_XL, UD-IQ4_XS, UD-IQ4_NL, UD-Q4_K_S, UD-Q4_K_M, UD-Q4_K_XL, UD-Q5_K_S, UD-Q5_K_M, UD-Q5_K_XL, UD-Q6_K, UD-Q6_K_XL and Q8_0; BF16 in UD-Q8_K_XL and BF16. Each keeps its original type, so every file keeps its exact size. Requantizing to the same type keeps at least 93.90% of the edit in every file by gne's measure (UD-IQ1_M lowest), and the BF16 tensors keep it in full.
About CHiPS
CHiPS (Causal Head-isolated Projection Steering) reduces one behavior without training. It picks model components by their causal effect on that behavior and reduces the part of their output that lies along one direction. The rest of the model is left untouched. This article explains the method and its results on other models.
In the article, CHiPS edits a few attention heads. On this hybrid mixture-of-experts model the edit is applied mostly to whole layers: the attention output of seven layers, plus one head in an eighth. The recipe is not published.
Files
| File | Size | SHA-256 | Evaluated |
|---|---|---|---|
Qwen4-35B-A3B-CHiPS-Abliterated-UD-IQ1_S-00001-of-00002.gguf |
9.75 GB | e5f8acfe8e3f136df2caf6d392f1847f8cd0cbce259e8f4c547768d37f5fc984 |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-IQ1_S-00002-of-00002.gguf |
11.52 GB | 419b93856e79a6f2338160d98d3b6b75042c57786af92c3010405b7b808dc4b4 |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-IQ1_M-00001-of-00002.gguf |
10.83 GB | cc1addbd27a4d3727a7db11ec4445657405000d2db9580f06f4d3062c0176a61 |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-IQ1_M-00002-of-00002.gguf |
11.52 GB | 419b93856e79a6f2338160d98d3b6b75042c57786af92c3010405b7b808dc4b4 |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-IQ2_XXS-00001-of-00002.gguf |
11.88 GB | 084626ac71b9facca5f0a9d9748cd80bc186529e512b6fb4197a5c0fa6038432 |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-IQ2_XXS-00002-of-00002.gguf |
11.52 GB | 419b93856e79a6f2338160d98d3b6b75042c57786af92c3010405b7b808dc4b4 |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-IQ2_XS-00001-of-00002.gguf |
12.95 GB | bad046e19dc0eb7086e0ad8aeac91108b3fce94a8d343ba50117d789d1101820 |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-IQ2_XS-00002-of-00002.gguf |
11.52 GB | 419b93856e79a6f2338160d98d3b6b75042c57786af92c3010405b7b808dc4b4 |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-IQ2_S-00001-of-00002.gguf |
14.02 GB | 0bd45e3ee6fed85a2010abb761492ed6ba68f266a8cf92060f35a95b31bfad19 |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-IQ2_S-00002-of-00002.gguf |
11.52 GB | 419b93856e79a6f2338160d98d3b6b75042c57786af92c3010405b7b808dc4b4 |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-IQ2_M-00001-of-00002.gguf |
15.09 GB | 77cc270a9a633f91d8dec4519c29f045cbb9f04e608386ad50d78fb271a72994 |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-IQ2_M-00002-of-00002.gguf |
11.52 GB | 419b93856e79a6f2338160d98d3b6b75042c57786af92c3010405b7b808dc4b4 |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-Q2_K_XL-00001-of-00002.gguf |
16.16 GB | 95411b1c9e8f41c857c16a88d8eb0d154f76313e0813b7338bf3d2d5200fd7f7 |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-Q2_K_XL-00002-of-00002.gguf |
11.52 GB | 419b93856e79a6f2338160d98d3b6b75042c57786af92c3010405b7b808dc4b4 |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-IQ3_XXS-00001-of-00002.gguf |
17.21 GB | 958e4adbd652a21e4558e6fc4bcafc4c0e17e817bd17f149787cfda70406136f |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-IQ3_XXS-00002-of-00002.gguf |
11.52 GB | 419b93856e79a6f2338160d98d3b6b75042c57786af92c3010405b7b808dc4b4 |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-IQ3_S-00001-of-00002.gguf |
18.29 GB | 38348cb0f361aa1b161196fcc0ccf3402fa01de2b6693c15f5b82c4ab5ba76ec |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-IQ3_S-00002-of-00002.gguf |
11.52 GB | 419b93856e79a6f2338160d98d3b6b75042c57786af92c3010405b7b808dc4b4 |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-Q3_K_XL-00001-of-00002.gguf |
19.36 GB | fb91a2e3ef9ff84e974bf842094d21817e55b812f133e01b0e9ef1da3b6e81cd |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-Q3_K_XL-00002-of-00002.gguf |
11.52 GB | 419b93856e79a6f2338160d98d3b6b75042c57786af92c3010405b7b808dc4b4 |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-IQ4_XS-00001-of-00002.gguf |
20.52 GB | 9dc216ba41d8ea331f1820933bbedd8560f7d9d30921823ed440b6ac5ab27086 |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-IQ4_XS-00002-of-00002.gguf |
11.52 GB | 419b93856e79a6f2338160d98d3b6b75042c57786af92c3010405b7b808dc4b4 |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-IQ4_NL-00001-of-00002.gguf |
21.58 GB | a81c60f5f084c266a06b21a59d8ea4f0b0146e035a20a8d3f910553b0f3e1fea |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-IQ4_NL-00002-of-00002.gguf |
11.52 GB | 419b93856e79a6f2338160d98d3b6b75042c57786af92c3010405b7b808dc4b4 |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-Q4_K_S-00001-of-00002.gguf |
22.66 GB | 7a8afe4a10a0fafc5ccde4a1f9dee1e86b349a1da9eb7144aa6017e5ccad442d |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-Q4_K_S-00002-of-00002.gguf |
11.52 GB | 419b93856e79a6f2338160d98d3b6b75042c57786af92c3010405b7b808dc4b4 |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-Q4_K_M-00001-of-00002.gguf |
23.66 GB | e8b3f5eb5b0422609e4e43ce4ab29923a08e1df08e6d4a69387ad8b9ef1a8631 |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-Q4_K_M-00002-of-00002.gguf |
11.52 GB | 419b93856e79a6f2338160d98d3b6b75042c57786af92c3010405b7b808dc4b4 |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-Q4_K_XL-00001-of-00002.gguf |
24.72 GB | d5655927e3addc90ff687eb253271d2d93261d5155fdcb486f0f56044bf74bb6 |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-Q4_K_XL-00002-of-00002.gguf |
11.52 GB | 419b93856e79a6f2338160d98d3b6b75042c57786af92c3010405b7b808dc4b4 |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-Q5_K_S-00001-of-00002.gguf |
25.90 GB | 248a0a7cd640d5edcb0502f0b44c146678c31dffcc97769de85b1f0e0794194c |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-Q5_K_S-00002-of-00002.gguf |
15.36 GB | 936673997e4764f046df6db5b59875c26b2b7cd0dfeb4e369458b02bb9c2f25e |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-Q5_K_M-00001-of-00002.gguf |
27.02 GB | a254c81ff1b5f416f37837413afb9a6f3b0b52a2a08c1e6c53d9ef48636dd79f |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-Q5_K_M-00002-of-00002.gguf |
15.36 GB | 936673997e4764f046df6db5b59875c26b2b7cd0dfeb4e369458b02bb9c2f25e |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-Q5_K_XL-00001-of-00002.gguf |
27.84 GB | 3c1e6d3bf3583ca69cdcd2c723d42fa53b5e5b013c482ffa59c864606bd0a551 |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-Q5_K_XL-00002-of-00002.gguf |
15.36 GB | 936673997e4764f046df6db5b59875c26b2b7cd0dfeb4e369458b02bb9c2f25e |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-Q6_K-00001-of-00002.gguf |
29.19 GB | 8b497597a45ce4900df03588827ed32c21fbc4ec3ce56d0b90c308c278fb625d |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-Q6_K-00002-of-00002.gguf |
21.76 GB | 537fac733dd303202d4d13e517fd27eb0726b4e6452a45ae6540fa5db067ba0e |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-Q6_K_XL-00001-of-00002.gguf |
30.45 GB | 7c5877387e2c9b9c3f4b92f981918d286191c0c68b3e4798e677a60ac88189f6 |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-Q6_K_XL-00002-of-00002.gguf |
21.76 GB | 537fac733dd303202d4d13e517fd27eb0726b4e6452a45ae6540fa5db067ba0e |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-Q8_K_XL-00001-of-00002.gguf |
40.53 GB | 2943794c6a1473362f80316a16ab9e3fe31f2e00be27780511eda42449b14559 |
yes |
Qwen4-35B-A3B-CHiPS-Abliterated-UD-Q8_K_XL-00002-of-00002.gguf |
21.76 GB | 537fac733dd303202d4d13e517fd27eb0726b4e6452a45ae6540fa5db067ba0e |
yes |
Qwen4-35B-A3B-CHiPS-Abliterated-Q8_0-00001-of-00002.gguf |
38.23 GB | e4158afb07bd959a8b75e09a73c0eef0cddf88c1bd88eb7e77939f5b2714b43f |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-Q8_0-00002-of-00002.gguf |
21.76 GB | 537fac733dd303202d4d13e517fd27eb0726b4e6452a45ae6540fa5db067ba0e |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-BF16-00001-of-00003.gguf |
36.11 GB | aef6236802a8b2b935751e22014e90311fb6bbd5e97f2b24949e5441d6319791 |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-BF16-00002-of-00003.gguf |
35.74 GB | 8ae1898ceb96be6ba009c914e5e84202bb09010cabf7c75e58b859bdafd09bcc |
no |
Qwen4-35B-A3B-CHiPS-Abliterated-BF16-00003-of-00003.gguf |
40.96 GB | 44bd68cdb9d018921156a0f8616163ca89876c37f61152f8ecb88f6496d11dc9 |
no |
Each file was made from Unsloth's file of the same name in its folder of Qwen4-35B-A3B-GGUF (for example UD-Q8_K_XL/Qwen4-35B-A3B-UD-Q8_K_XL-00001-of-00002.gguf, SHA-256 fd55f4db710a8b485d1cbc9fdf251e3e66291c23b97c7215cd97f327687fa9c7). LICENSE holds the Apache License 2.0 from Unsloth's repository (see below).
Every file is checked against its original before upload: only the 8 tensors listed above differ, the metadata is identical, and the SHA-256 on the Hub matches. The last part of every size holds only the n-gram embedding table and is byte-identical to Unsloth's, so if you already have Unsloth's file you can reuse it under this file's name.
No vision projector is included, and images were not tested with these files. The MTP layer that Unsloth builds into the file is still there, but speculative decoding was not tested.
Since the edit was tuned and evaluated on UD-Q8_K_XL, other sizes may behave somewhat differently, especially the smallest ones.
Usage
hf download Kujira/Qwen4-35B-A3B-CHiPS-Abliterated-GGUF --include "*UD-Q8_K_XL*" --local-dir .
llama-server -m Qwen4-35B-A3B-CHiPS-Abliterated-UD-Q8_K_XL-00001-of-00002.gguf -ngl 99 --jinja -c 32768 \
--temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0 --presence-penalty 0.0 --repeat-penalty 1.0
For another size, replace UD-Q8_K_XL in both commands. Pass the first part to -m, and llama.cpp loads the other parts from the same folder. BF16 comes in three parts (-00001-of-00003.gguf).
Use llama.cpp b12969 or later, the first build with Qwen4 support (#33626). The evaluation used b12973.
The sampling settings above are the ones Qwen recommends for thinking mode. The model thinks by default (reasoning_effort high), and all numbers on this card are at that default. Each size takes about its own size in GPU or system memory (62 GB for UD-Q8_K_XL), plus the context cache. Unsloth's engram guide explains how to keep the n-gram table in system RAM with -ot per_layer_token_embd=CPU; that was not tested with these files.
This model thinks much longer than the original. In the evaluation, 34 of 312 replies did not finish within 4,096 new tokens (see Evaluation), so set max_tokens well above 4,096.
Evaluation
All numbers compare this model's UD-Q8_K_XL file with Unsloth's original UD-Q8_K_XL file. Each set was run once. The request set is not published.
Harmful requests at 4,096 tokens
Setup
- 312 single-turn harmful requests: 104 in English, 104 in Japanese and 104 in Chinese. No system prompt, the model's own chat template.
- llama.cpp
llama-server(b12973, commit59b7165), 8 parallel slots, on one NVIDIA A100 80GB. - Thinking on, at the chat template's default effort (
high). - Qwen's recommended thinking-mode sampling: temperature 1.0, top_p 0.95, top_k 20, min_p 0, presence penalty 0, repetition penalty 1.0. At most 4,096 new tokens including the thinking. The seed for each request is the same for both files.
| Original | This model | |
|---|---|---|
| Finished normally | 310 (99.4%) | 278 (89.1%) |
| Reached the 4,096-token limit | 2 | 34 |
| No final answer | 3 (finished with an empty answer) | 1 (still thinking at the limit) |
| Mean new tokens (median) | 412 (340) | 2,070 (1,787) |
| Mean thinking length (characters) | 714 | 2,223 |
| Replies with refusal phrases | 309 (99.0%) | 13 (4.2%) |
| in the thinking | 303 | 1 |
| in the final answer | 276 | 12 |
| Finished normally, by language | English (104) | Japanese (104) | Chinese (104) |
|---|---|---|---|
| Original | 103 | 104 | 103 |
| This model | 90 | 99 | 89 |
Replies were scanned for refusal phrases, in the thinking and in the final answer separately. For this model, the 13 flagged replies were then read in context, and none was a clear, complete refusal. The other replies were not all read, so this is not a full judgment of all 312 replies, and the counts are of replies with refusal phrases, not of confirmed refusals. This measures whether the model refuses, not whether it fully carries out the request.
Request by request: of the 310 replies the original finished, 32 reached the token limit with this model. The original's 2 cut-off replies were also cut off with this model. This model gave a final answer to all 3 requests where the original's answer was empty, and ran out of tokens while thinking on one other request.
No reply from either file contained a run of 200 or more identical characters, a simple check for broken output. Other kinds of repetition were not checked separately.
Before choosing this recipe, a version that edits only one layer was also tried. Its replies were just as long (2,210 new tokens on average, 268 of 312 finished), so the longer replies do not seem to come from the number of edited layers.
Side effects (gne eval)
Measured with gne eval from gne, its default suite with all items, on each file as it is (no recipe applied at run time), with llama.cpp at the same commit as above. Greedy decoding, thinking at the template's default effort with up to 1,024 thinking tokens, and tasks scored on the answer after the thinking. Perplexity is teacher-forced on gne's small reference texts, read as plain text without the chat template.
| Original | This model | |
|---|---|---|
| Short-answer and format tasks (36) | 97.2% | 97.2% |
| short answers (24) / format (12) | 24 / 11 | 24 / 11 |
| Language mixing in Japanese answers (8) | 0% | 0% |
| Perplexity, English | 1.09 | 1.09 (−0.3%) |
| Perplexity, Japanese | 12.55 | 13.74 (+9.5%) |
| Perplexity, code | 3.43 | 3.58 (+4.2%) |
| Perplexity, mean | 3.61 | 3.77 (+4.4%) |
| Empty answers / thinking hit the limit / loops / answer cut off (52 replies) | 3 / 3 / 0 / 0 | 4 / 4 / 0 / 1 |
| Median thinking length (tokens) | 39 | 48.5 |
Both files miss the same format task. These are small checks, not standard benchmarks. Both files read the English reference text almost perfectly (perplexity 1.09), so that row says little. Japanese rises the most, by 9.5%, close to the 10% that gne uses as its default limit for an acceptable edit.
In the same run, gne's refusal check on 8 harmful requests from the set used to build the edit found refusal phrases in 6 of 8 answers from the original and 0 of 8 from this model.
Limitations
- The refusal counts come from a scan for refusal phrases, and only this model's 13 flagged replies were read in context (see above). The boundary between a cautious shift, a partial refusal and a partial answer is a judgment call.
- Each set was run once at temperature 1.0 (gne eval greedy), and the sets are small: one harmful request is about 0.3%.
- At 4,096 tokens, 34 of 312 replies did not finish. Whether the finished answers are complete and correct was not measured.
- Perplexity on Japanese text rose by 9.5%, more than on English or code. Japanese answers were not checked for quality beyond language mixing.
- Capability was checked only with gne eval's small suite and perplexity on small reference texts. Standard benchmarks such as HumanEval+, GSM8K or MMLU-Pro were not run, and longer ordinary requests were not tested.
- Only single-turn requests without a system prompt were tested, at the default reasoning effort. Multi-turn conversations, system prompts, other reasoning efforts, and rephrased or adversarial requests were not.
- Only
UD-Q8_K_XLhas been evaluated. The other sizes are checked for the intended edit but not run. - Images, video, long contexts, tool calling, speculative decoding with the MTP layer, and swapping the n-gram table were not tested.
- The original model's limitations still apply. See the original model card.
Intended use
This model follows many requests that the original model refuses, and it can produce harmful, offensive or inaccurate content. It is meant for research and for users who understand this. You are responsible for how you use it, including compliance with applicable laws and the license below. Add your own safeguards before using it in anything that serves other people. The Qwen team's Ethics Statement for the original model is in its model card.
License
Same license as the original model: the Apache License 2.0.
Derivative of Qwen4-35B-A3B by the Qwen team (Alibaba Cloud), licensed under the Apache License 2.0. Changes in this repository: in each file, the 8 tensors listed in What changed were rewritten.
Credits
- Base model: Qwen4-35B-A3B by the Qwen team.
- GGUF quantization: Unsloth.
- Edited and checked with gne, using CHiPS.