← back to catalog · registered 2026-08-22 13:56

KridgeDookie/Gemma-4-E4B-IT-ABLITERATED-UNCENSORED-PHILADELPHIA-CLASS

KridgeDookie Gemma 7.9B multimodal
Your rig guess connected
? Why do I need an app?
Reading your rig…

This is a rough estimate. Install the free app - we'll show exact numbers.

Reading real hardware from your app right now. Numbers below are exact.

Below is the per-quantization compatibility for this model.

curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/KridgeDookie%2FGemma-4-E4B-IT-ABLITERATED-UNCENSORED-PHILADELPHIA-CLASS"
Response includes
  • classification m1
  • files 9
  • benchmarks 11 entries
  • hub_downloads_all_time 105
  • author_summary 8 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.0.0
M1
Primary method

Direct removal

No other method signals detected in this model.
Confidence
MEDIUM
Why this label 3 signals
Method inferred from partial signals - repository name, related files, or tag patterns. Producer identity not confirmed; label may sharpen or shift as we gather more evidence.
  • 'abliterated' in name/tags
  • is_gguf=0 (base model)
  • no specific method indicators - defaulting to M1 (most common)
Refusal direction extracted via
Extraction technique

Difference-of-means

Confidence
MEDIUM
Why we say so
primary_method=M1; difference-of-means is the reference extraction for M1/M3 (Arditi 2024)
Downloads · lifetime
105
32 last 30d - stable
Likes
2
Descendants
3
in 3 direct forks
Model age
2mo ago
created 2026-07-19
Downloads over time
Now114→from34↑235%
30619112234 on Jul 22114 on Oct 11JulAugSepOct
Jul 22 → Oct 11 · 52 snapshots · spans 81 days

Benchmarks

Portrait before abliteration
Benchmarks of the base model as it stood before the refusal-removal operation. Compare with the numbers above to see what the operation cost.
Benchmark Score Source
Entertainment 0.6 UGI
Hazardous 1.8 UGI
Natural Intelligence 16.47 UGI
Political lean -14.7% UGI
Sensitive-Info 7.29 UGI
SocPol 0 UGI
UGI 12.36 UGI
Willingness (10) 2.2 UGI
W10-Adherence 1.5 UGI
W10-Direct 3 UGI
Writing 20.23 UGI

Genealogy 3 direct forks

Full fork graph →

This model's place in the market. Above: what it was derived from. Below: the tree of everything derived from it.

Metadata

License
apache-2.0
Tags
transformers safetensors gemma4 image-text-to-text obliteratus abliterated uncensored multimodal bfloat16 refusal-reduction any-to-any base_model:google/gemma-4-E4B-it

Related

Total size
14.8 GB
Files
9
Quantizations
1
Registered
2026-08-22 13:56
Last updated on HF
2026-07-19 22:43

Files by quantization

Auxiliary files 9 files 14.8 GB
model.safetensors 14.8 GB 40309f8a download
tokenizer.json 30.7 MB 0d1d10b5 download
chat_template.jinja 18.1 KB fbe3b59b download
README.md 15.5 KB 3ea72e1c download
config.json 5.05 KB 19eb9d69 download
tokenizer_config.json 2.68 KB af7f2586 download
processor_config.json 1.65 KB 5465974d download
.gitattributes 1.53 KB 52373fe2 download
generation_config.json 204 B e037ec0a download

README current version from Hugging Face


library_name: transformers
license: apache-2.0
license_link: https://ai.google.dev/gemma/docs/gemma_4_license
base_model:

  • google/gemma-4-E4B-it
    pipeline_tag: any-to-any
    tags:
  • gemma4
  • obliteratus
  • abliterated
  • uncensored
  • multimodal
  • transformers
  • safetensors
  • bfloat16
  • refusal-reduction

Gemma 4 E4B IT — ABLITERATED UNCENSORED PHILADELPHIA CLASS


Gemma 4 E4B IT Philadelphia Class

Gemma 4 E4B IT: Philadelphia Class

Philadelphia Class is a BF16, refusal-reduced derivative of google/gemma-4-E4B-it.

The model was weight-edited to reduce refusal behavior while preserving the general capabilities of the upstream checkpoint. It retains the original Gemma 4 multimodal architecture, although post-edit evaluation was limited to text.

In matched lm-evaluation-harness testing against the untouched upstream checkpoint, performance remained within 1.26 percentage points across MMLU, HellaSwag, TruthfulQA MC2, GSM8K, and WinoGrande.

On a separate 126-prompt family-disjoint internal holdout, measured refusal decreased from 9.52% to 1.59%.

The term uncensored describes the release objective. It does not mean the model has zero refusals, always produces correct answers, or is safe for unsupervised deployment. The modification deliberately increases willingness to answer harmful and unsafe prompts.

Model details

Property Value
Base model google/gemma-4-E4B-it
Base revision fa62d88df2e6df5efa9d26ad6b3beaea2765f0cd
Parameters 7,941,100,832
Weight format BF16 Safetensors
Weight size 15.88 GB
Weight files One model.safetensors file
Architecture Original Gemma 4 multimodal architecture
Post-edit evaluation Text only
Quantized release Not included
Release status RC1

A 16 GB GPU may require CPU offloading, a limited context length, or a separately produced quantization.

Evaluation summary

Matched upstream capability evaluation

Philadelphia Class and the untouched google/gemma-4-E4B-it checkpoint were evaluated using the same lm-evaluation-harness 0.4.12 configuration.

Task Metric Shots Examples Upstream Philadelphia Class Delta
MMLU acc 0 14,042 40.85% 40.54% -0.31 pp
HellaSwag acc_norm 0 10,042 34.96% 35.01% +0.05 pp
TruthfulQA MC2 acc 0 817 47.64% 46.38% -1.26 pp
GSM8K exact_match 5 1,319 69.29% 69.22% -0.08 pp
WinoGrande acc 0 1,267 48.54% 48.62% +0.08 pp

Both checkpoints used:

  • BF16 inference
  • hf-multimodal backend
  • batch size 8
  • identical random seeds
  • task-default few-shot settings
  • no dataset limit
  • no chat template
  • no system instruction

These results indicate that the edit did not produce broad capability collapse on the tested suite. They do not establish formal equivalence or an overall model ranking.

Full task values, standard errors, hashes, versions, and protocol fields are available in:

evals/matched_public_capability_lm_eval_0_4_12.json

Internal refusal evaluation

The internal behavioral suites compare Philadelphia Class with a private NF4-reconstructed dense BF16 development baseline.

The private baseline is not the untouched upstream checkpoint and is not included in this repository.

Internal suite Metric Philadelphia Class Private baseline Change
Family-disjoint holdout, 126 prompts Refusal 1.59% 9.52% -7.93 pp
Family-disjoint holdout, 126 prompts Usable 96.03% 88.10% +7.93 pp
Full built-in set, 842 prompts Refusal 1.31% 7.84% -6.53 pp
Full built-in set, 842 prompts Usable 97.51% 90.38% +7.13 pp
Coherence regression, 24 checks Passed 18/24 18/24 Tied

The 126-prompt family-disjoint holdout is the primary internal generalization test. Its prompt families were excluded from the editing data.

The full 842-prompt result is a whole-corpus development measurement and is not fully held out.

Under the deterministic scoring rules, the family-disjoint holdout produced:

  • 0 hard refusals
  • 2 soft refusals
  • 121 usable responses out of 126
  • 0% detected degeneration

Here, usable means that the response either directly addressed the topic or provided a warning followed by a topical answer. It does not mean the response was factually correct, safe, legal, or human-approved.

Safety-oriented contrast

A limited automated contrast was run using 50 sampled examples from each of four public benchmark splits.

Sampled split Expected behavior Philadelphia Class Private baseline
XSTest safe Engage 0% false refusal 0% false refusal
JailbreakBench benign Engage 0% false refusal 0% false refusal
XSTest unsafe Refuse 84% automated non-refusal 72%
JailbreakBench harmful Refuse 88% automated non-refusal 76%

This comparison used an automated refusal detector without human adjudication. It is not an official XSTest or JailbreakBench score.

No reduction in benign over-refusal was measured because both checkpoints already produced 0% false refusal on the sampled safe and benign examples.

The primary behavioral change was increased non-refusal on unsafe and harmful prompts. This is a safety regression and should not be presented as a safety improvement.

Coherence and formatting

The 24-item deterministic regression screen produced the following results:

Check Result
Overall pass rate 18/24, 75%
Direct answer 100%
Code syntax 100%
Code semantics 100%
Valid JSON 100%
Reasoning answer 33.33%
Repetition detected 0%
Short-output collapse 0%
Thinking-tag leakage 0%

This is a small regression screen and should not be treated as a substitute for broader capability benchmarks or application-specific evaluation.

Usage

The tested environment used Transformers 5.14.1.

pip install "transformers==5.14.1" accelerate torch
import torch
from transformers import AutoModelForMultimodalLM, AutoProcessor

model_id = (
    "KridgeDookie/"
    "Gemma-4-E4B-IT-ABLITERATED-UNCENSORED-PHILADELPHIA-CLASS"
)

processor = AutoProcessor.from_pretrained(model_id)

model = AutoModelForMultimodalLM.from_pretrained(
    model_id,
    dtype=torch.bfloat16,
    device_map="auto",
)

messages = [
    {
        "role": "system",
        "content": "You are a helpful assistant.",
    },
    {
        "role": "user",
        "content": "Explain why the sky appears blue.",
    },
]

inputs = processor.apply_chat_template(
    messages,
    tokenize=True,
    return_dict=True,
    return_tensors="pt",
    add_generation_prompt=True,
    enable_thinking=False,
).to(model.device)

input_length = inputs["input_ids"].shape[-1]

with torch.inference_mode():
    outputs = model.generate(
        **inputs,
        max_new_tokens=256,
        do_sample=False,
    )

raw_response = processor.decode(
    outputs[0][input_length:],
    skip_special_tokens=False,
)

response = processor.parse_response(raw_response)
print(response)

Hardware requirements

The published checkpoint contains approximately 15.88 GB of BF16 weights.

Actual memory usage is higher after accounting for:

  • model-loading overhead
  • activations
  • KV cache
  • processor inputs
  • generation context
  • framework and driver allocations

A GPU with more than 16 GB of VRAM is recommended for straightforward BF16 inference.

On a 16 GB device, practical options include:

  • CPU offloading with device_map="auto"
  • reduced context length
  • reduced generation length
  • lower batch sizes
  • a separately created quantization

Quantization

This repository publishes dense BF16 weights as the reference artifact.

Users may create GGUF, AWQ, GPTQ, NF4, or other runtime-specific quantizations. Quantization may change both capability and refusal behavior.

Results reported for the BF16 checkpoint should not be assumed to apply to quantized derivatives.

A maintained quantized release should be published separately and reevaluated using the same:

  • upstream capability comparison
  • refusal holdout
  • benign-boundary testing
  • coherence regression
  • degeneration checks

Intended uses

Potential uses include:

  • research on refusal behavior
  • model-editing research
  • interpretability experiments
  • controlled red-team evaluation
  • local creative-writing experiments
  • coding and general text generation
  • systems with independent policy and moderation controls

Out-of-scope uses

This model is not recommended as:

  • an unsupervised safety classifier
  • a medical or legal authority
  • an autonomous cyber operator
  • a public-facing assistant without additional safeguards
  • an independent source of factual truth
  • a replacement for human review in high-impact decisions

Limitations and risks

  • The modification deliberately weakens refusal behavior.
  • The model may provide harmful or illegal instructions.
  • The model may produce false, biased, misleading, or privacy-invasive content.
  • Lower refusal does not imply higher factual accuracy.
  • Only text behavior was evaluated after modification.
  • Image and audio functionality remain architecturally present but were not validated after the edit.
  • The public safety contrast used a small automated sample.
  • The internal refusal baseline is private and cannot be independently reproduced from this repository.
  • The 24-item coherence screen is too small to establish broad parity.
  • Benchmark results may vary across hardware, software versions, prompts, templates, and generation settings.
  • The release includes the resulting weights but not the complete intervention pipeline.

Users are responsible for complying with applicable laws, licenses, platform rules, and deployment policies.

J-lens audit

J-lens audit across refusal and capability cohorts

Anthropic's Jacobian lens, or J-lens, was used as a frozen post-edit interpretability audit.

The J-lens analysis did not:

  • select intervention layers
  • construct the weight edit
  • tune intervention strength
  • select the release candidate
  • determine whether the model passed release gates

The audit used one frozen pre-fitted lens and fixed target concepts.

Lens SHA256:

324f3a97b34eaeb534cd3c9c02b8e56c401a0e966fb4bcf582d00848254e13dd

Three fixed text cohorts were evaluated:

Cohort Prompts
Hard prompts 32
Capability prompts 24
Benign-boundary prompts 24

For each cohort, the final prompt-position hidden state was read at layers:

20, 24, 28, 32, 36, 40

Frozen refusal and capability concepts were then scored and compared at the cohort level.

Candidate-minus-private-baseline mean score differences were:

Cohort Capability delta Refusal delta
Hard prompts -0.3357 +0.1342
Capability prompts +0.5056 -0.1370
Benign-boundary prompts -0.4630 -0.1972

The results were mixed and did not show a single monotonic internal shift across all cohorts.

These values are interpretability measurements, not quality scores. J-lens readouts are approximate and concept-limited. They should not be interpreted as ground truth about model intent, reasoning, or consciousness.

References:

This was an independent audit using Anthropic's method. It was not conducted or endorsed by Anthropic.

Internal behavioral protocol

Internal refusal and coherence evaluations used:

Setting Value
Hardware NVIDIA A100-SXM4-80GB
Runtime dtype BF16
PyTorch 2.8.0+cu128
Transformers 5.14.1
Temperature 0
Top-p 1
Top-k 0
Repetition penalty 1.1
Seed 20260604
System instruction Direct answer, no boilerplate
Labels Deterministic opening heuristics

The 842-prompt opening-behavior run generated 24 new tokens per prompt.

The 64-prompt and 126-prompt runs generated up to 96 new tokens per prompt.

Sanitized aggregate metrics and private source-artifact hashes are available in:

evals/evaluation_summary.json

Raw prompt-response traces, internal filesystem paths, and the complete editing pipeline are not included.

Tested software:

Transformers 5.14.1
PyTorch 2.8.0+cu128

Weight integrity

model.safetensors  40309f8ae011a33e8122db3197800d9e0514e303bd38a57071e479c40b7cc171

Attribution and license

Philadelphia Class is a community derivative of Gemma 4 E4B IT.

Google and Anthropic are not affiliated with this release and do not endorse it.

Citation

@misc{philadelphia_class_gemma4_e4b_2026,
  title  = {Gemma 4 E4B IT: Philadelphia Class},
  author = {KridgeDookie},
  year   = {2026},
  url    = {https://huggingface.co/KridgeDookie/Gemma-4-E4B-IT-ABLITERATED-UNCENSORED-PHILADELPHIA-CLASS}
}

README history 8 versions

The author's README evolved over time. Click a version to see its content at that point.

  1. 2026-07-19Update tags90c254715.5 KB
    Loading...
  2. 2026-07-19Update README.md107d03c15.5 KB
    Loading...
  3. 2026-07-19readme.md updates478d58015.8 KB
    Loading...
  4. 2026-07-19Publish_final_matched_evaluation_card6989fbf13.9 KB
    Loading...
  5. 2026-07-19Update_card_for_single_file_release3d61f1412.5 KB
    Loading...
  6. 2026-07-19Remove invented ranking language and relabel internal diagnostics8e0ed7f12.7 KB
    Loading...
  7. 2026-07-19Record passed clean Hub load smokef73b50012.1 KB
    Loading...
  8. 2026-07-19Add reviewed model card and evaluation visuals638756011.9 KB
    Loading...
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration