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

tiggychan/gemma-4-E2B-it-uncensored-mnn-int4

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/tiggychan%2Fgemma-4-E2B-it-uncensored-mnn-int4"
Response includes
  • classification m-uncensored
  • files 15
  • hub_downloads_all_time 279
  • author_summary 6 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.0.0
M-U
Primary method

Uncensored (method unknown)

No other method signals detected in this model.
Confidence
LOW
Why this label 3 signals
Weak or ambiguous signals. Best guess based on catalog patterns; treat as tentative and check the evidence below.
  • 'uncensored' in name/tags but no 'abliterated' marker
  • method not identifiable from author declaration alone
  • may be DPO fine-tune, prompt engineering, or unknown technique
Refusal direction extraction

No specific extraction method could be identified for this model. The producer either did not document it or used a proprietary pipeline.

What is a refusal direction? →
Downloads · lifetime
279
41 last 30d - stable
Likes
1
Model age
6mo ago
created 2026-04-10
Downloads over time
Now299→from118↑153%
109178248317118 on Apr 15299 on Oct 11AprMayJunJulAugSepOct
Apr 15 → Oct 11 · 65 snapshots · spans 179 days

Metadata

License
apache-2.0
Languages
en
Tags
mnn gemma-4 uncensored int4 hqq quantized mobile text-generation en license:apache-2.0 region:us

Related

Total size
1.37 GB
Files
15
Quantizations
1
Registered
2026-08-22 13:56
Last updated on HF
2026-04-13 05:33

Files by quantization

Auxiliary files 15 files 3.48 GB
ple_embeddings_int4.bin 1.37 GB b2f22b35 download
llm.mnn.weight 1.34 GB bb882602 download
audio.mnn.weight 563 MB 16d11911 download
visual.mnn.weight 215 MB 308e356f download
tokenizer.mtok 9.60 MB e08a1293 download
llm.mnn.json 4.64 MB e33ba89d download
llm.mnn 2.15 MB c487e6ad download
audio.mnn 1.36 MB e5d2e31a download
visual.mnn 1.01 MB ea466f9a download
LICENSE 11.0 KB 000bf8f4 download
README.md 3.97 KB e1f5654d download
.gitattributes 1.82 KB a226a398 download
llm_config.json 1.38 KB db98ed37 download
export_args.json 1.12 KB 4d92819a download
config.json 681 B 5fa9df1d download

README current version from Hugging Face


license: apache-2.0
language:

  • en
    pipeline_tag: text-generation
    tags:
  • mnn
  • gemma-4
  • uncensored
  • int4
  • hqq
  • quantized
  • mobile

gemma-4-E2B-it-uncensored-mnn-int4

MNN format 4-bit HQQ quantized conversion of TrevorJS/gemma-4-E2B-it-uncensored, compatible with the MNN inference engine.

Model Information

Property Value
Base Model google/gemma-4-E2B-it
Uncensored Fork TrevorJS/gemma-4-E2B-it-uncensored
Quantization 4-bit HQQ (Half-Quadratic Quantization)
Embedding Quantization 4-bit (PLE embeddings also quantized)
Total Size ~3.5 GB
LLM Weight 1.4 GB
PLE Embeddings 1.4 GB

File Structure

File Size Description
llm.mnn 2.2 MB LLM model structure (converted from ONNX)
llm.mnn.weight 1.4 GB LLM weights (4-bit HQQ quantized)
ple_embeddings_int4.bin 1.4 GB Per-Layer Embeddings (4-bit quantized)
visual.mnn / .weight 217 MB Vision tower (optional)
audio.mnn / .weight 564 MB Audio tower (optional)
tokenizer.mtok 9.7 MB MNN tokenizer
config.json - MNN runtime configuration
llm_config.json - LLM architecture configuration

Usage

Local Inference (CPU)

# Clone MNN source
git clone https://github.com/alibaba/MNN.git

# Build (CPU backend)
cd MNN
mkdir build && cd build
cmake .. -DMNN_LOW_MEMORY=true \
         -DMNN_CPU_WEIGHT_DEQUANT_GEMM=true \
         -DMNN_BUILD_LLM=true \
         -DMNN_SUPPORT_TRANSFORMER_FUSE=true
make -j$(nproc)

# Run inference
echo "Hello, who are you?" > prompt.txt
./llm_demo /path/to/config.json prompt.txt

MNN Chat (Android)

A custom Android APK with Gemma 4 support is available in the companion GitHub repository:

https://github.com/Tiggy-Chan/gemma4-mnn-android

Download the pre-built APK directly: 📱 app-standard-release-tiggy-gemma4.apk (35 MB)

Or follow the build instructions to compile your own APK.

Download the model folder to your device and import it via "Add Local Model".

Configuration Example

{
    "llm_model": "llm.mnn",
    "llm_weight": "llm.mnn.weight",
    "tokenizer_file": "tokenizer.mtok",
    "backend_type": "cpu",
    "thread_num": 4,
    "precision": "low",
    "memory": "low",
    "sampler_type": "mixed",
    "temperature": 1.0,
    "top_k": 64,
    "top_p": 0.95
}

Other Quantization Versions

Version Size Repo
INT4 HQQ (this) 3.5 GB —
INT8 5.7 GB gemma-4-E2B-it-uncensored-mnn-int8
BF16 (full precision) 9.5 GB gemma-4-E2B-it-uncensored-mnn-bf16

Conversion

Converted using MNN's llmexport.py:

cd MNN/transformers/llm/export
python3 llmexport.py \
    --path TrevorJS/gemma-4-E2B-it-uncensored \
    --export mnn \
    --quant_bit 4 \
    --embed_bit 4 \
    --hqq \
    --dst_path ./output

License

This model is distributed under the Apache License 2.0, inherited from the original Gemma 4 model by Google DeepMind. See the LICENSE file for the full license text.

Usage of Gemma models is also subject to the Gemma Terms of Use.

Acknowledgments

README history 4 versions

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

  1. 2026-04-13Update README with new GitHub repo and latest APKde3fcc64 KB
    Loading...
  2. 2026-04-11docs: add direct APK download link to READMEa55968f4 KB
    Loading...
  3. 2026-04-11Upload README.md with huggingface_hub41338ce3.8 KB
    Loading...
  4. 2026-04-10Upload folder using huggingface_hube6c18a93.6 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