← back to catalog · indexed 2026-08-23 18:02

vokash3/Huihui-gemma-4-E4B-it-abliterated-LiteRT-LM

vokash3 Gemma second-order
Your rig guess connected
? Why do I need an app?
Reading your rig…

This is a rough estimate. Install the free app - it measures what fits your machine.

Reading your computer's memory from the app right now. The fit below is measured on this machine.

Below is the per-quantization compatibility for this model.

curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/vokash3%2FHuihui-gemma-4-E4B-it-abliterated-LiteRT-LM"
Response includes
  • classification m1
  • files 3
  • hub_downloads_all_time 271
  • author_summary 2 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
503
70 last 30d - stable
Likes
1
Model age
3mo ago
created 2026-08-23
Downloads over time
Now 499 → from 22 ↑ 2,168%
0182364547 22 on Aug 26 499 on Nov 25 499 on Nov 23 AugSepOctNov
Aug 26 → Nov 25 · 92 snapshots · spans 91 days

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.

Metadata

License
apache-2.0
Tags
litert-lm gemma-4 gemma litert abliterated edge-ai on-device conversion text-generation base_model:huihui-ai/Huihui-gemma-4-E4B-it-abliterated base_model:finetune:huihui-ai/Huihui-gemma-4-E4B-it-abliterated license:apache-2.0

Related

Total size
7.80 GB
Files
3
Quantizations
none
Indexed by us
2026-08-23 18:02
Last updated on HF
2026-08-24 20:14

Files by quantization

Auxiliary files 3 files 7.80 GB
Huihui-gemma-4-E4B-it-abliterated.litertlm 7.80 GB 17354368 download
README.md 10.3 KB 41417cfd download
.gitattributes 1.56 KB 22aa341a download

README latest version on record, committed 2026-08-24


license: apache-2.0
base_model: huihui-ai/Huihui-gemma-4-E4B-it-abliterated
pipeline_tag: text-generation
library_name: litert-lm
tags:

  • gemma-4
  • gemma
  • litert
  • litert-lm
  • abliterated
  • edge-ai
  • on-device
  • conversion

Huihui Gemma 4 E4B Abliterated — LiteRT-LM

A LiteRT-LM conversion of
huihui-ai/Huihui-gemma-4-E4B-it-abliterated.

This repository contains a ready-to-run .litertlm bundle converted from the
original Hugging Face BF16 Safetensors checkpoint for use with
Google LiteRT-LM.

This repository is not a new fine-tune and does not claim authorship of the
original model weights. It is a runtime-format conversion of the Huihui model.

Model lineage

google/gemma-4-E4B
        ↓
google/gemma-4-E4B-it
        ↓
huihui-ai/Huihui-gemma-4-E4B-it-abliterated
        ↓
BF16 Safetensors
        ↓
litert-torch export_hf
        ↓
Huihui-gemma-4-E4B-it-abliterated.litertlm
Property Value
Source model huihui-ai/Huihui-gemma-4-E4B-it-abliterated
Original instruction-tuned base google/gemma-4-E4B-it
Source weights BF16 Safetensors
Output format LiteRT-LM .litertlm
Runtime Google LiteRT-LM
Converter litert-torch-nightly / litert-torch export_hf
Bundle file Huihui-gemma-4-E4B-it-abliterated.litertlm
Bundle size ~7.8 GiB
Intended task Multimodal chat / text + vision

About the source model

The source model was published by
huihui-ai as an abliterated variant of
google/gemma-4-E4B-it.

According to the original model card, abliteration significantly reduces the
model's refusal behavior and safety filtering. This conversion does not
restore or add safety alignment.

Please read the source model card before use:

Conversion

The model was converted from the original Hugging Face Safetensors checkpoint
using the LiteRT Torch Hugging Face exporter.

The conversion command was:

litert-torch export_hf \
  --model="$HOME/Models/huggingface/huihui-gemma-4-e4b" \
  --output_dir="$HOME/Models/litert/huihui-gemma-4-e4b-full" \
  --task=image_text_to_text \
  --cache_length=4096 \
  --prefill_lengths=128,256,512 \
  --externalize_embedder=true \
  --moe_exports_implementation=eager \
  --export_vision_encoder=true \
  --export_audio_encoder=true \
  --quantization_recipe=dynamic_wi8_afp32 \
  --jinja_chat_template_override=litert-community/gemma-4-E4B-it-litert-lm \
  --bundle_litert_lm=true

The LiteRT-compatible Gemma 4 E4B chat template was taken from:

litert-community/gemma-4-E4B-it-litert-lm

The resulting bundle is:

Huihui-gemma-4-E4B-it-abliterated.litertlm

No GGUF or Ollama model was used as an intermediate format.

Download

Install the Hugging Face CLI if needed:

pip install -U huggingface_hub

Download only the LiteRT-LM bundle:

hf download \
  vokash3/Huihui-gemma-4-E4B-it-abliterated-LiteRT-LM \
  Huihui-gemma-4-E4B-it-abliterated.litertlm \
  --local-dir .

This produces:

./Huihui-gemma-4-E4B-it-abliterated.litertlm

Run with LiteRT-LM

Install the current LiteRT-LM CLI:

uv tool install litert-lm

Run the model:

litert-lm run \
  ./Huihui-gemma-4-E4B-it-abliterated.litertlm \
  --prompt="Hello! Tell me briefly who you are."

For an interactive run:

litert-lm run ./Huihui-gemma-4-E4B-it-abliterated.litertlm

Available backends and CLI options can change as LiteRT-LM evolves, so check the
installed version before using backend-specific flags:

litert-lm run --help

Benchmarks

The current bundle was benchmarked across several desktop and mobile devices.

Important: the Ollama figures below are not an apples-to-apples backend comparison.
Ollama uses a GGUF/Q4_K_M build of huihui_ai/gemma-4-abliterated:e4b, while this
repository contains a LiteRT-LM bundle produced by litert-torch export_hf.
Quantization, runtime, kernels, prompt processing, and packaging therefore differ.

LiteRT-LM results

Device Backend Prefill Decode TTFT
AMD Radeon RX 5700 XT 8 GB GPU 889.76 tok/s 37.98 tok/s 0.314 s
Intel Core i5-11400 CPU 108.71 tok/s 5.29 tok/s 2.544 s
Mac mini M4 16 GB GPU 518.28 tok/s 16.53 tok/s 0.554 s
Mac mini M4 16 GB CPU 375.33 tok/s 9.50 tok/s 0.787 s
MacBook Air 2020 M1 16 GB GPU 268.97 tok/s 9.10 tok/s 1.062 s
MacBook Air 2020 M1 16 GB CPU 106.67 tok/s 6.98 tok/s 2.543 s
MacBook Neo A18 Pro 8 GB GPU 228.01 tok/s 8.99 tok/s 1.234 s
MacBook Neo A18 Pro 8 GB CPU timeout (>10 min) timeout timeout
iPhone 16 Pro Max / A18 Pro GPU 202.57 tok/s 4.16 tok/s 1.62 s
iPhone 16 Pro Max / A18 Pro CPU hangs hangs —
Tecno / Dimensity 7300 Ultimate GPU 105.02 tok/s 2.25 tok/s 2.88 s
Tecno / Dimensity 7300 Ultimate CPU 29.26 tok/s 1.66 tok/s 9.51 s

Desktop LiteRT-LM results used the built-in benchmark with 256 prefill tokens,
256 decode tokens, and a maximum context size of 4096.

The mobile measurements were taken in Google AI Edge Gallery / Edge Studio using
the successfully imported multimodal bundle.

Ollama comparison

For the same Huihui Gemma 4 E4B family, Ollama was benchmarked separately with
a natural-language prompt of 243 tokens and 256 generated tokens.

Device Ollama prefill Ollama decode
AMD Radeon RX 5700 XT 8 GB 4217.43 tok/s 72.89 tok/s
Mac mini M4 16 GB 2043.55 tok/s 31.06 tok/s
MacBook Air 2020 M1 16 GB 1404.71 tok/s 18.03 tok/s
MacBook Neo A18 Pro 8 GB 1121.10 tok/s 14.80 tok/s

Practical observations

On the tested desktop systems, Ollama/GGUF delivered higher decode throughput than
the current LiteRT-LM export. The largest absolute LiteRT-LM result came from the
RX 5700 XT at 37.98 tok/s decode, followed by the Apple M4 at 16.53 tok/s.

The refreshed LiteRT-LM bundle also shows notably higher prefill throughput than the
earlier text-only export. One relevant change is the explicit export of
prefill_lengths=128,256,512, which includes a native 256-token prefill path matching
the benchmark workload.

These results should be read as practical deployment measurements for this model
on these devices, not as a universal ranking of LiteRT-LM versus Ollama.

Platforms

LiteRT-LM is designed for on-device inference across supported desktop and edge
platforms. Consult the upstream project for the current platform/backend support
matrix:

The .litertlm file in this repository was created as a portable LiteRT-LM
bundle rather than a GGUF model for llama.cpp/Ollama.

Google AI Edge Gallery / Edge Studio compatibility

The refreshed bundle is exported as an image_text_to_text model with the vision
encoder and vision adapter included.

The model has been successfully imported and initialized in Google AI Edge Gallery /
Edge Studio
, including AI Chat mode.

The working export uses:

--task=image_text_to_text
--export_vision_encoder=true
--export_audio_encoder=true
--prefill_lengths=128,256,512

Inspection of the generated bundle confirms the presence of the text inference
components plus the Gemma 4 vision encoder and vision adapter.

This supersedes the earlier text-only build that could fail in AI Chat with:

NOT_FOUND: TF_LITE_AUDIO_ENCODER_HW not found in the model

The current uploaded model should therefore be treated as the replacement for that
earlier bundle.

Important notes and limitations

  • This is a conversion, not a separately trained model.
  • Behavioral characteristics of the source Huihui model remain relevant.
  • The source model has substantially reduced refusal/safety behavior.
  • Output can include sensitive, controversial, unsafe, inaccurate or otherwise
    undesirable content.
  • Users should review outputs before using them in production or public-facing
    applications.
  • Runtime behavior may differ from Transformers or GGUF builds because of
    differences in quantization, execution backend, sampling, prompt formatting
    and runtime implementation.
  • Exact token-for-token parity with the original Safetensors checkpoint is not
    expected.
  • This repository does not provide independent benchmark or quality claims.
  • The conversion is intended for LiteRT-LM multimodal chat / text-and-vision use.

License and upstream terms

The source Huihui repository is published on Hugging Face with the
Apache-2.0 license metadata.

Users should also review the terms, notices and usage requirements associated
with the upstream Gemma model family and the original Huihui model before
redistribution or deployment.

Upstream resources:

Credits

  • Google — Gemma 4 and LiteRT/LiteRT-LM
  • huihui-ai — Huihui-gemma-4-E4B-it-abliterated
  • LiteRT Community — LiteRT-LM Gemma 4 reference bundle and compatible chat
    template
  • vokash3 — LiteRT-LM conversion and packaging in this repository

Repository contents

.
├── README.md
└── Huihui-gemma-4-E4B-it-abliterated.litertlm

Reproducibility summary

Source:
huihui-ai/Huihui-gemma-4-E4B-it-abliterated

Source format:
BF16 Safetensors

Exporter:
litert-torch export_hf

Options:
--task=image_text_to_text
--cache_length=4096
--prefill_lengths=128,256,512
--externalize_embedder=true
--moe_exports_implementation=eager
--export_vision_encoder=true
--export_audio_encoder=true
--quantization_recipe=dynamic_wi8_afp32
--jinja_chat_template_override=litert-community/gemma-4-E4B-it-litert-lm
--bundle_litert_lm=true

Output:
Huihui-gemma-4-E4B-it-abliterated.litertlm (~7.8 GiB)

README history 3 versions

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

  1. 2026-08-24 Update multimodal export details and benchmarks 5d46d09 10.3 KB
    Loading...
  2. 2026-08-24 Update benchmarks across AMD and Apple Silicon 0e2de0e 11.7 KB
    Loading...
  3. 2026-08-23 Add model card e93dd45 7.9 KB
    Loading...
Catalog is the map. Apps are the tools.

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

Every GGUF 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