Image-Text-to-Text
GGUF
English
multilingual
uncensored
gemma4
abliterated
vision
multimodal
audio
imatrix
conversational
Instructions to use HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive", filename="Gemma-4-E4B-Uncensored-HauhauCS-Aggressive-IQ3_M.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive:Q4_K_M # Run inference directly in the terminal: llama-cli -hf HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive:Q4_K_M # Run inference directly in the terminal: llama-cli -hf HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive:Q4_K_M
Use Docker
docker model run hf.co/HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive:Q4_K_M
- Ollama
How to use HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive with Ollama:
ollama run hf.co/HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive:Q4_K_M
- Unsloth Studio new
How to use HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive to start chatting
- Pi new
How to use HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive:Q4_K_M
Run Hermes
hermes
- Docker Model Runner
How to use HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive with Docker Model Runner:
docker model run hf.co/HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive:Q4_K_M
- Lemonade
How to use HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive:Q4_K_M
Run and chat with the model
lemonade run user.Gemma-4-E4B-Uncensored-HauhauCS-Aggressive-Q4_K_M
List all available models
lemonade list
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: gemma
|
| 3 |
+
tags:
|
| 4 |
+
- uncensored
|
| 5 |
+
- gemma4
|
| 6 |
+
- gguf
|
| 7 |
+
- vision
|
| 8 |
+
- multimodal
|
| 9 |
+
- audio
|
| 10 |
+
language:
|
| 11 |
+
- en
|
| 12 |
+
- multilingual
|
| 13 |
+
pipeline_tag: image-text-to-text
|
| 14 |
+
base_model: google/gemma-4-4b-it
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# Gemma-4-E4B-Uncensored-HauhauCS-Aggressive
|
| 18 |
+
|
| 19 |
+
Gemma 4 4B uncensored by HauhauCS. **0/465 Refusals\***
|
| 20 |
+
|
| 21 |
+
## About
|
| 22 |
+
|
| 23 |
+
No changes to datasets or capabilities. Fully functional, 100% of what the original authors intended - just without the refusals.
|
| 24 |
+
|
| 25 |
+
These are meant to be the best lossless uncensored models out there.
|
| 26 |
+
|
| 27 |
+
## Aggressive Variant
|
| 28 |
+
|
| 29 |
+
Stronger uncensoring — model is fully unlocked and won't refuse prompts. May occasionally append short disclaimers (baked into base model training, not refusals) but full content is always generated.
|
| 30 |
+
|
| 31 |
+
For a more conservative uncensor that keeps some safety guardrails, check the Balanced variant when it's available.
|
| 32 |
+
|
| 33 |
+
## Downloads
|
| 34 |
+
|
| 35 |
+
| File | Quant | Size |
|
| 36 |
+
|------|-------|------|
|
| 37 |
+
| [Gemma-4-E4B-Uncensored-HauhauCS-Aggressive-Q8_K_P.gguf](https://huggingface.co/HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive/resolve/main/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive-Q8_K_P.gguf) | Q8_K_P | 7.6 GB |
|
| 38 |
+
| [Gemma-4-E4B-Uncensored-HauhauCS-Aggressive-Q6_K_P.gguf](https://huggingface.co/HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive/resolve/main/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive-Q6_K_P.gguf) | Q6_K_P | 5.9 GB |
|
| 39 |
+
| [Gemma-4-E4B-Uncensored-HauhauCS-Aggressive-Q5_K_P.gguf](https://huggingface.co/HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive/resolve/main/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive-Q5_K_P.gguf) | Q5_K_P | 5.5 GB |
|
| 40 |
+
| [Gemma-4-E4B-Uncensored-HauhauCS-Aggressive-Q5_K_M.gguf](https://huggingface.co/HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive/resolve/main/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive-Q5_K_M.gguf) | Q5_K_M | 5.4 GB |
|
| 41 |
+
| [Gemma-4-E4B-Uncensored-HauhauCS-Aggressive-Q4_K_P.gguf](https://huggingface.co/HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive/resolve/main/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive-Q4_K_P.gguf) | Q4_K_P | 5.1 GB |
|
| 42 |
+
| [Gemma-4-E4B-Uncensored-HauhauCS-Aggressive-Q4_K_M.gguf](https://huggingface.co/HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive/resolve/main/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive-Q4_K_M.gguf) | Q4_K_M | 5.0 GB |
|
| 43 |
+
| [Gemma-4-E4B-Uncensored-HauhauCS-Aggressive-IQ4_XS.gguf](https://huggingface.co/HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive/resolve/main/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive-IQ4_XS.gguf) | IQ4_XS | 4.8 GB |
|
| 44 |
+
| [Gemma-4-E4B-Uncensored-HauhauCS-Aggressive-Q3_K_P.gguf](https://huggingface.co/HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive/resolve/main/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive-Q3_K_P.gguf) | Q3_K_P | 4.6 GB |
|
| 45 |
+
| [Gemma-4-E4B-Uncensored-HauhauCS-Aggressive-Q3_K_M.gguf](https://huggingface.co/HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive/resolve/main/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive-Q3_K_M.gguf) | Q3_K_M | 4.6 GB |
|
| 46 |
+
| [Gemma-4-E4B-Uncensored-HauhauCS-Aggressive-IQ3_M.gguf](https://huggingface.co/HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive/resolve/main/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive-IQ3_M.gguf) | IQ3_M | 4.4 GB |
|
| 47 |
+
| [Gemma-4-E4B-Uncensored-HauhauCS-Aggressive-Q2_K_P.gguf](https://huggingface.co/HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive/resolve/main/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive-Q2_K_P.gguf) | Q2_K_P | 4.2 GB |
|
| 48 |
+
| [mmproj-Gemma-4-E4B-Uncensored-HauhauCS-Aggressive-f16.gguf](https://huggingface.co/HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive/resolve/main/mmproj-Gemma-4-E4B-Uncensored-HauhauCS-Aggressive-f16.gguf) | mmproj (f16) | 945 MB |
|
| 49 |
+
|
| 50 |
+
All quants generated with importance matrix (imatrix) for optimal quality preservation on abliterated weights.
|
| 51 |
+
|
| 52 |
+
## What are K_P quants?
|
| 53 |
+
|
| 54 |
+
K_P ("Perfect") quants are HauhauCS custom quantizations that use model-specific analysis to selectively preserve quality where it matters most. Each model gets its own optimized quantization profile.
|
| 55 |
+
|
| 56 |
+
A K_P quant effectively bumps quality up by 1-2 quant levels at only ~5-15% larger file size than the base quant. Fully compatible with llama.cpp, LM Studio, and any GGUF-compatible runtime — no special builds needed.
|
| 57 |
+
|
| 58 |
+
## Specs
|
| 59 |
+
|
| 60 |
+
- 4B parameters
|
| 61 |
+
- 42 layers, mixed sliding window (512) + full attention
|
| 62 |
+
- 131K context
|
| 63 |
+
- Natively multimodal (text, image, video, audio)
|
| 64 |
+
- 18 KV shared layers for memory efficiency
|
| 65 |
+
- Based on [google/gemma-4-4b-it](https://huggingface.co/google/gemma-4-4b-it)
|
| 66 |
+
|
| 67 |
+
## Recommended Settings
|
| 68 |
+
|
| 69 |
+
From the official Google Gemma 4 authors:
|
| 70 |
+
|
| 71 |
+
- `temperature=1.0, top_p=0.95, top_k=64`
|
| 72 |
+
|
| 73 |
+
**Important:**
|
| 74 |
+
- Use `--jinja` flag with llama.cpp for proper chat template handling
|
| 75 |
+
- Vision/audio support requires the `mmproj` file alongside the main GGUF
|
| 76 |
+
|
| 77 |
+
## Usage
|
| 78 |
+
|
| 79 |
+
Works with llama.cpp, LM Studio, Jan, koboldcpp, and other GGUF-compatible runtimes.
|
| 80 |
+
|
| 81 |
+
```bash
|
| 82 |
+
# Text only
|
| 83 |
+
llama-cli -m Gemma-4-E4B-Uncensored-HauhauCS-Aggressive-Q4_K_M.gguf \
|
| 84 |
+
--jinja -c 8192 -ngl 99
|
| 85 |
+
|
| 86 |
+
# With vision/audio
|
| 87 |
+
llama-cli -m Gemma-4-E4B-Uncensored-HauhauCS-Aggressive-Q4_K_M.gguf \
|
| 88 |
+
--mmproj mmproj-Gemma-4-E4B-Uncensored-HauhauCS-Aggressive-f16.gguf \
|
| 89 |
+
--jinja -c 8192 -ngl 99
|
| 90 |
+
```
|
| 91 |
+
|
| 92 |
+
**Note:** K_P quants may show as "?" in LM Studio's quant column. This is a display issue only — the model loads and runs fine. LM Studio doesn't recognize the K_P naming convention yet.
|
| 93 |
+
|
| 94 |
+
**Note:** IQ2_M is not available for this model due to a llama.cpp limitation with KV shared layers and importance matrix generation.
|