ultragemma4-e4b-heretic-uncensored
Reasoning-capable language model modified using the Heretic abliteration toolkit
Abliteration
E4B Parameters
Reasoning
Uncensored
ultragemma4-e4b-heretic-uncensored is a reasoning-capable language model built on top of google/gemma-4-E4B-it and modified using the heretic abliteration toolkit. The model applies refusal-direction analysis and targeted weight-space interventions to reduce internal refusal behaviors while preserving instruction-following, reasoning capabilities, and general conversational performance.
Important
This model is intended strictly for research and learning purposes. Due to reduced internal refusal mechanisms, it may generate sensitive or unrestricted content. Users assume full responsibility for how the model is used. The authors and hosting platform disclaim any liability for generated outputs.
Note
This model is experimental and may generate unexpected behaviors or artifacts in certain scenarios.
1FROM ghcr.io/ggml-org/llama.cpp:full
2
3WORKDIR /app
4
5RUN apt update && apt install -y python3-pip
6RUN pip install -U huggingface_hub --break-system-packages
7
8RUN python3 -c 'from huggingface_hub import hf_hub_download; \
9 repo="prithivMLmods/ultragemma4-e4b-heretic-uncensored"; \
10 hf_hub_download(repo_id=repo, filename="ultragemma4-e4b-heretic-uncensored.Q4_K_M.gguf", local_dir="/app"); \
11 hf_hub_download(repo_id=repo, filename="ultragemma4-e4b-heretic-uncensored.mmproj-bf16.gguf", local_dir="/app")'
12
13CMD ["--server", \
14 "-m", "/app/ultragemma4-e4b-heretic-uncensored.Q4_K_M.gguf", \
15 "--mmproj", "/app/ultragemma4-e4b-heretic-uncensored.mmproj-bf16.gguf", \
16 "--host", "0.0.0.0", \
17 "--port", "7860", \
18 "-t", "2", \
19 "--cache-type-k", "q8_0", \
20 "--cache-type-v", "iq4_nl", \
21 "-c", "128000", \
22 "-n", "38912"]
-
google/gemma-4-E4B-it: Gemma is a family of open models built by Google DeepMind. Gemma 4 models are multimodal, handling text and image input (with audio supported on small models) and generating text output. This release includes open-weights models in both pre-trained and instruction-tuned variants. Gemma 4 features a context window of up to 256K tokens and maintains multilingual support in over 140 languages.
Featuring both Dense and Mixture-of-Experts (MoE) architectures, Gemma 4 is well-suited for tasks like text generation, coding, and reasoning. The models are available in four distinct sizes: E2B, E4B, 26B A4B, and 31B. Their diverse sizes make them deployable in environments ranging from high-end phones to laptops and servers, democratizing access to state-of-the-art AI.
-
Heretic: Fully automatic censorship removal framework for language models. This project was used to perform the refusal-direction analysis and ablation procedures that form the foundation of this model.