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

jwest33/gemma-3-4b-null-space-abliterated-RP-writer

jwest33 Gemma 4.3B multimodal second-order
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/jwest33%2Fgemma-3-4b-null-space-abliterated-RP-writer"
Response includes
  • classification m1
  • files 18
  • benchmarks 11 entries
  • hub_downloads_all_time 207
  • author_summary 20 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
207
77 last 30d - stable
Likes
3
Model age
9mo ago
created 2026-01-09

Training datasets

Corpora the author lists in the model card. Datasets tracked in our /datasets catalog carry a category badge linking to the workflow stage. Others open on Hugging Face.

Downloads over time
Now218→from8↑2,625%
0801592398 on Jan 7218 on Oct 11JanMarMayJulSep
Jan 7 → Oct 11 · 79 snapshots · spans 277 days

Benchmarks

Benchmark Score Source
Entertainment 1.3 UGI
Hazardous 0 UGI
Natural Intelligence 11.49 UGI
Political lean -17.1% UGI
Sensitive-Info 5.57 UGI
SocPol 0.1 UGI
UGI 31.21 UGI
Willingness (10) 8.2 UGI
W10-Adherence 7.5 UGI
W10-Direct 9 UGI
Writing 20.79 UGI

Genealogy 0 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.

Variants by this author 2 formats · 2K downloads combined

The same weights this author released in different packaging. Pick the format that matches your runtime.

Metadata

License
gemma
Tags
transformers safetensors gemma3 image-text-to-text gemma gemma-3 abliterated uncensored creative-writing roleplay lora peft

Related

Total size
8.01 GB
Files
18
Quantizations
1
Registered
2026-08-22 13:56
Last updated on HF
2026-01-09 02:45

Files by quantization

Auxiliary files 18 files 8.05 GB
model-00001-of-00002.safetensors 4.62 GB db33dc2c download
model-00002-of-00002.safetensors 3.39 GB 5d993f5a download
null_space_projectors.pt 4.03 MB f04802a6 download
refusal_directions.pt 96.4 KB c5da9049 download
tokenizer.json 31.8 MB 4667f208 download
tokenizer.model 4.47 MB 1299c11d download
tokenizer_config.json 1.15 MB bc2e5c52 download
model.safetensors.index.json 89.3 KB 05e6aa91 download
README.md 5.42 KB 3d4fcd02 download
config.json 2.56 KB 5dc4c7b7 download
chat_template.jinja 1.54 KB 5bbf7db8 download
.gitattributes 1.53 KB 52373fe2 download
special_tokens_map.json 695 B 6728103d download
preprocessor_config.json 599 B da332e16 download
abliteration_config.json 381 B 24770e3c download
generation_config.json 186 B a02a35f3 download
processor_config.json 74.0 B bcc0e8fd download
added_tokens.json 38.0 B f9f1f4f5 download

README current version from Hugging Face


license: gemma
library_name: transformers
base_model: jwest33/gemma-3-4b-it-null-space-abliterated
pipeline_tag: image-text-to-text
tags:

  • gemma
  • gemma-3
  • abliterated
  • uncensored
  • creative-writing
  • roleplay
  • lora
  • peft
  • safetensors
  • unsloth
    datasets:
  • lemonilia/LimaRP

Gemma 3 4B Null Space Abliterated RP Writer

A creative writing and roleplay fine-tune built on jwest33/gemma-3-4b-it-null-space-abliterated. Trained on a curated subset of LimaRP with certain explicit and low-quality content filtered out.

Note: This model will produce uncensored outputs. Use responsibly.

Model Details

This model combines two modifications to the original Gemma 3 4B Instruct:

  1. Abliteration — Refusal behavior removed via null-space orthogonal projection
  2. LoRA Fine-tuning — Creative writing and roleplay capabilities enhanced via SFT on curated conversational data

LoRA Training Configuration

Parameter Value
LoRA Rank (r) 8
LoRA Alpha 8
LoRA Dropout 0.05
Target Modules All attention & MLP projections
Max Sequence Length 4096
Effective Batch Size 8
Learning Rate 1e-4
LR Scheduler Cosine
Warmup Steps 10
Max Steps 200
Optimizer AdamW 8-bit
Training Method Response-only SFT

Target Modules

LoRA adapters applied to all language model attention and feed-forward layers:

  • q_proj, k_proj, v_proj, o_proj (attention)
  • gate_proj, up_proj, down_proj (MLP)

Dataset

Source: lemonilia/LimaRP

LimaRP is a roleplay-focused dataset converted from raw YAML conversations to ShareGPT format. The following preprocessing was applied:

  • Conversations with certain explicit or low-quality content filtered out
  • Minimum conversation length enforced (3+ turns)
  • Character personas and scenarios prepended to first user message as context
  • Strict user/assistant turn alternation for Gemma-3 compatibility
  • Response-only training (loss computed only on assistant turns)

Usage

To optionally trigger roleplay turn mode, use the context tag format from the LimaRP dataset. Prepend your first user message with character personas and scenario information:

[Context: <Character A>'s Persona: <description>

<Character B>'s Persona: <description>

Scenario: <scenario description>

Take the role of <Character A>. Write <Character A>'s responses only.]

<Your message as Character B>

This format signals the model to respond in-character as the specified persona, continuing the roleplay scenario turn-by-turn.

Base Model: Abliteration Details

The base model (jwest33/gemma-3-4b-it-null-space-abliterated) has refusal behavior removed via orthogonal projection with null-space constraints.

GGUF quantizations of base model: jwest33/gemma-3-4b-it-null-space-abliterated-GGUF

Abliteration Techniques

  • Winsorization: Clips outlier activations at the 99th percentile for cleaner refusal direction estimation
  • Null-Space Projection: Constrains weight updates to the null space of preservation activations
    • Preservation Prompts: Generated via Gemma Scope 2 SAE circuit analysis
  • Adaptive Weighting: Gaussian-weighted per-layer ablation strength, focusing on middle-to-later layers
  • Norm Preservation: Maintains original Frobenius norms after projection
Parameter Value
Harmful Prompts 5000
Harmless Prompts 637
Winsorization 99.5th percentile
Null-Space Constraints rank ratio: 0.90
Directional Multiplier 1.03
SAE Targeted Coverage 1.00

Credits

Fine-tuning

Base Model & Abliteration

References

License

This model inherits the Gemma license from the base model. Please review and comply with Google's usage terms.

Disclaimer

This model is provided for research and educational purposes. The creators are not responsible for any misuse. Users are solely responsible for ensuring their use complies with applicable laws and ethical standards.

README history 2 versions

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

  1. 2026-01-09Upload folder using huggingface_hub4e2fac15.3 KB
    Loading...
  2. 2026-01-09Upload folder using huggingface_hub7f824525.3 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