alt.freeweights.gemma / gemma-4-26B-A4B-it-uncensored
From: TrevorJS <huggingface.co/TrevorJS>Newsgroups: alt.freeweights.gemmaSubject:

gemma-4-26B-A4B-it-uncensored

Date: 2026-11-15Commit: fc582b9Signed: 2DC28CC7B26A283B ✓

Text generation model with 25.8B parameters. Safetensors weights, 51.6 GB in all. Published by TrevorJS under Apache-2.0.

25.8B params51.6GBgemma-4-26B-A4B-it-uncensoredsafetensorspermissive
FactsParams25.8BSize51.6 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get TrevorJS/gemma-4-26B-A4B-it-uncensored
# manifest sha256 b2e60e341822… · 51.6 GB · 10 files
$ fw verify ./gemma-4-26B-A4B-it-uncensored TrevorJS/gemma-4-26B-A4B-it-uncensored
From sourceHosted (signed)TrevorJS/gemma-4-26B-A4B-it-uncensoredLast check: 2026-11-15 03:35 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Fine-tune of gemma-4-26B-A4B-it.

Works with

Overview

Size
51.6 GB
Weights
51.6 GB (safetensors)
Parameters
25.8B
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
10, each with a sha256
Publisher
TrevorJS
Added
2026-11-15
Section
alt.freeweights.gemma
Lineage

Original release from the publisher.

Base model: google/gemma-4-26B-A4B-it

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 03:35 UTCpassed

Model card

From the publisher at commit fc582b9. Shown as plain text with links; images open at the publisher.

gemma-4-26B-A4B-it-uncensored#

Uncensored version of google/gemma-4-26B-A4B-it with refusal behavior removed.

Results#

BeforeAfter
Refusals (mlabonne, 100 prompts)98/1001/100 effective (3 flagged, 2 refusal-then-comply)
Refusals (cross-dataset, 686 prompts)—5/686 (0.7%)
KL Divergence0 (baseline)0.09
Quality (harmless response length ratio)1.0~1.01 (no degradation)
Cross-Dataset Validation#

Tested against 4 independent prompt datasets to verify generalization:

DatasetPromptsRefusals
JailbreakBench1001/100
tulu-harmbench3201/320
NousResearch/RefusalDataset1660/166
mlabonne/harmful_behaviors1003/100
Total6865/686 (0.7%)

Every flagged refusal was manually audited. Most are "refusal-then-comply" false positives where the model adds an AI identity disclaimer then answers the question anyway.

Method#

Norm-preserving biprojected abliteration on the dense pathway (o_proj + shared mlp.down_proj), plus Expert-Granular Abliteration (EGA) on all 128 MoE expert down_proj slices per layer.

EGA (OBLITERATUS) hooks the MoE routers during probing to compute per-expert routing weights for harmful vs harmless prompts, then applies norm-preserving projection (grimjim) to each expert individually. Dense-only abliteration leaves 29/100 refusals; adding EGA drops it to 3/100.

Pipeline#
  1. Load model in bf16 with LoRA adapters on o_proj and mlp.down_proj
  2. Collect residual activations for 400 harmful + 400 harmless prompts (mlabonne datasets)
  3. Winsorize activations at 99.5th percentile (clamps GeGLU outlier activations in Gemma family)
  4. Compute per-layer refusal direction: normalize(mean(harmful) - mean(harmless))
  5. Orthogonalize each direction against harmless mean (double-pass Gram-Schmidt)
  6. Apply norm-preserving weight modification to o_proj and down_proj in all layers
  7. Hook MoE routers, collect per-expert routing weights for harmful vs harmless prompts
  8. Apply same norm-preserving modification to all 128 expert down_proj slices per layer
  9. Merge LoRA adapters into base weights for clean tensor names
Parameters#
ParameterValue
Layers abliterated100%
Scale1.0
Winsorization0.995
Experts abliterated100% (128/128 per layer)
Expert scale1.0
How this differs from vanilla heretic#
  • Norm-preserving biprojection instead of standard projection (preserves weight magnitudes)
  • Per-layer refusal directions instead of one global direction
  • Deterministic single-pass instead of 50-trial Optuna search (faster, same or better results)
  • LoRA merge before save for clean GGUF-compatible tensor names
  • Expert-Granular Abliteration for MoE expert weights (not supported in heretic)

Usage#

from transformers import AutoModelForCausalLM, AutoTokenizer
import torch

model = AutoModelForCausalLM.from_pretrained("TrevorJS/gemma-4-26B-A4B-it-uncensored", dtype=torch.bfloat16, device_map="auto")
tokenizer = AutoTokenizer.from_pretrained("TrevorJS/gemma-4-26B-A4B-it-uncensored")

messages = [{"role": "user", "content": "Your prompt here"}]
inputs = tokenizer.apply_chat_template(messages, return_tensors="pt", add_generation_prompt=True)
outputs = model.generate(inputs.to(model.device), max_new_tokens=512)
print(tokenizer.decode(outputs[0][inputs.shape[1]:], skip_special_tokens=True))

Reproduction#

Full code and experiment data: abliteration research repo

python scripts/ega.py --model google/gemma-4-26B-A4B-it \
  --top-pct 100 --strip-topic-markers --skip-prefix --batch-size 4 \
  --save output_dir

Files

10 files · 51.6 GBWeights 51.6 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 10 files with their sha256
FileSizesha256
.gitattributes1.57 KB34448b82c17d60fec9b65b1f093c115ddbaadc04beb1b0140b6bfed2e012a930
README.md4.54 KB53cb36944f5c2d974e21da27d9fa5c1954e693b401518ea9e0e7836674cdf884
chat_template.jinja12.0 KB2dfbfc7d538912f4ea11d29d85b4e25d7bc26386e53f57529f1d707c28b5828c
config.json3.81 KBa62ff7eb0a97a7c6e83ba42edff8dc4118c109a7ededcd6d83cc08ffda6a7361
generation_config.json203 B5439541d3bf0ba9ade7c1122dc14703f85f32a520150351b344b14f48c574cc2
model-00001-of-00002.safetensors49.3 GB4b988df4e51c3955745ca3c91f851f0b2ac58ab354aefa0a8ec4d84f912e51e1
model-00002-of-00002.safetensors2.29 GB3d2388e809ea36639ef292dcea183389ca53d4bbf89cbcaecc666ccba1654335
model.safetensors.index.json103 KBf47f16055c885bd4234beddf9d0b898409adad6d1c1fd42e2c4ff5c9ee9554eb
tokenizer.json32.2 MBa2619fe11b50dbed06ac443c51d757b354d0b62d64baa514404d4e84e6713519
tokenizer_config.json2.69 KB820ad481cb4152f8df6061f4ae6ae20255777c39b77a9970f1e3cbd427b21511
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
fc582b971b pinned now2026-11-15 03:35 UTC10 files · 51.6 GB

Use it

$ fw get TrevorJS/gemma-4-26B-A4B-it-uncensored
# manifest sha256 b2e60e341822… · 51.6 GB · 10 files
$ fw verify ./gemma-4-26B-A4B-it-uncensored TrevorJS/gemma-4-26B-A4B-it-uncensored
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/TrevorJS/gemma-4-26B-A4B-it-uncensored.json --dir ./gemma-4-26B-A4B-it-uncensored $ python3 fw.py verify ./gemma-4-26B-A4B-it-uncensored ./TrevorJS__gemma-4-26B-A4B-it-uncensored.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download TrevorJS/gemma-4-26B-A4B-it-uncensored --revision fc582b971b5b6f7738d311d7ea2b1b7b446ff0a1 --local-dir ./gemma-4-26B-A4B-it-uncensored
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("TrevorJS/gemma-4-26B-A4B-it-uncensored", revision="fc582b971b5b6f7738d311d7ea2b1b7b446ff0a1") model = AutoModelForCausalLM.from_pretrained("TrevorJS/gemma-4-26B-A4B-it-uncensored", revision="fc582b971b5b6f7738d311d7ea2b1b7b446ff0a1", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve TrevorJS/gemma-4-26B-A4B-it-uncensored --revision fc582b971b5b6f7738d311d7ea2b1b7b446ff0a1

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
53cb36944f5c2d974e21da27d9fa5c1954e693b401518ea9e0e7836674cdf884
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: TrevorJS <huggingface.co/TrevorJS>Newsgroups: alt.freeweights.gemmaSubject: gemma-4-26B-A4B-it-uncensoredDate: 2026-11-15Commit: fc582b9Signed: 2DC28CC7B26A283B ✓
Upstream
TrevorJS/gemma-4-26B-A4B-it-uncensored
Pinned commit
fc582b971b5b6f7738d311d7ea2b1b7b446ff0a1
Manifest
gemma-4-26B-A4B-it-uncensored.json · .minisig
Manifest sha256
b2e60e3418227d2e8f274cbaa856c7fa3496409577bbef5ae8dde18f86fd37d0
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:35 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/TrevorJS/gemma-4-26B-A4B-it-uncensored.json $ curl -O https://freeweights.allternit.com/manifests/TrevorJS/gemma-4-26B-A4B-it-uncensored.json.minisig $ minisign -Vm gemma-4-26B-A4B-it-uncensored.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

google/gemma-4-26B-A4B-it · this model is a finetune of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download TrevorJS/gemma-4-26B-A4B-it-uncensored
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. gemma-4-26B-A4B-it-uncensored.json. Provenance. Takedown history: none.
From: laion <huggingface.co/laion>Subject: Alexandria-Gemma-4-12B-it-Ornith9-Summaries-LoRA-r128
From: laion <huggingface.co/laion>Subject: Alexandria-Gemma-4-12B-it-Ornith9-Summaries-LoRA-r64
From: laion <huggingface.co/laion>Subject: Alexandria-Gemma-4-12B-it-Qwen27-Knowledge-Units-LoRA-r128
From: laion <huggingface.co/laion>Subject: Alexandria-Gemma-4-12B-it-Qwen27-Summaries-LoRA-r128
From: laion <huggingface.co/laion>Subject: Alexandria-Gemma-4-12B-it-Qwen27-Summaries-LoRA-r64
From: laion <huggingface.co/laion>Subject: Alexandria-Gemma-4-E4B-it-Qwen27-Knowledge-Units-LoRA-r128