Image-Text-to-Text
MLX
Safetensors
English
gemma4
3-bit
heretic
uncensored
decensored
abliterated
ara
conversational
4-bit precision
Instructions to use zecanard/gemma-4-26B-A4B-it-uncensored-heretic-ara-MLX-3bit-mixed_3_6 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use zecanard/gemma-4-26B-A4B-it-uncensored-heretic-ara-MLX-3bit-mixed_3_6 with MLX:
# Make sure mlx-vlm is installed # pip install --upgrade mlx-vlm from mlx_vlm import load, generate from mlx_vlm.prompt_utils import apply_chat_template from mlx_vlm.utils import load_config # Load the model model, processor = load("zecanard/gemma-4-26B-A4B-it-uncensored-heretic-ara-MLX-3bit-mixed_3_6") config = load_config("zecanard/gemma-4-26B-A4B-it-uncensored-heretic-ara-MLX-3bit-mixed_3_6") # Prepare input image = ["http://images.cocodataset.org/val2017/000000039769.jpg"] prompt = "Describe this image." # Apply chat template formatted_prompt = apply_chat_template( processor, config, prompt, num_images=1 ) # Generate output output = generate(model, processor, formatted_prompt, image) print(output) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use zecanard/gemma-4-26B-A4B-it-uncensored-heretic-ara-MLX-3bit-mixed_3_6 with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "zecanard/gemma-4-26B-A4B-it-uncensored-heretic-ara-MLX-3bit-mixed_3_6"
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "zecanard/gemma-4-26B-A4B-it-uncensored-heretic-ara-MLX-3bit-mixed_3_6" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use zecanard/gemma-4-26B-A4B-it-uncensored-heretic-ara-MLX-3bit-mixed_3_6 with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "zecanard/gemma-4-26B-A4B-it-uncensored-heretic-ara-MLX-3bit-mixed_3_6"
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 zecanard/gemma-4-26B-A4B-it-uncensored-heretic-ara-MLX-3bit-mixed_3_6
Run Hermes
hermes
- OpenClaw new
How to use zecanard/gemma-4-26B-A4B-it-uncensored-heretic-ara-MLX-3bit-mixed_3_6 with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "zecanard/gemma-4-26B-A4B-it-uncensored-heretic-ara-MLX-3bit-mixed_3_6"
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "zecanard/gemma-4-26B-A4B-it-uncensored-heretic-ara-MLX-3bit-mixed_3_6" \ --custom-provider-id mlx-lm \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Add files using upload-large-folder tool
Browse files- README.md +2 -2
- chat_template.jinja +3 -3
- tokenizer_config.json +1 -0
README.md
CHANGED
|
@@ -16,12 +16,12 @@ tags:
|
|
| 16 |
---
|
| 17 |
# 🦆 zecanard/gemma-4-26B-A4B-it-uncensored-heretic-ara-MLX-3bit-mixed_3_6
|
| 18 |
|
| 19 |
-
[This model](https://huggingface.co/zecanard/gemma-4-26B-A4B-it-uncensored-heretic-ara-MLX-3bit-mixed_3_6) was converted to MLX from [`trohrbaugh/gemma-4-26B-A4B-it-heretic-ara`](https://huggingface.co/trohrbaugh/gemma-4-26B-A4B-it-heretic-ara) using `mlx-vlm` version **0.
|
| 20 |
Please refer to the [original model card](https://huggingface.co/trohrbaugh/gemma-4-26B-A4B-it-heretic-ara) for more details.
|
| 21 |
|
| 22 |
## 🌟 Quality
|
| 23 |
|
| 24 |
-
Mixed-precision quantized vision language model with an effective **4.295 bits per weight**. Combines the
|
| 25 |
|
| 26 |
`mlx_vlm.convert --quantize --q-group-size 32 --quant-predicate mixed_3_6`
|
| 27 |
|
|
|
|
| 16 |
---
|
| 17 |
# 🦆 zecanard/gemma-4-26B-A4B-it-uncensored-heretic-ara-MLX-3bit-mixed_3_6
|
| 18 |
|
| 19 |
+
[This model](https://huggingface.co/zecanard/gemma-4-26B-A4B-it-uncensored-heretic-ara-MLX-3bit-mixed_3_6) was converted to MLX from [`trohrbaugh/gemma-4-26B-A4B-it-heretic-ara`](https://huggingface.co/trohrbaugh/gemma-4-26B-A4B-it-heretic-ara) using `mlx-vlm` version **0.5.0**.
|
| 20 |
Please refer to the [original model card](https://huggingface.co/trohrbaugh/gemma-4-26B-A4B-it-heretic-ara) for more details.
|
| 21 |
|
| 22 |
## 🌟 Quality
|
| 23 |
|
| 24 |
+
Mixed-precision quantized vision language model with an effective **4.295 bits per weight**. Combines the size and speed benefits of a 3-bit quant with higher precision where it matters most.
|
| 25 |
|
| 26 |
`mlx_vlm.convert --quantize --q-group-size 32 --quant-predicate mixed_3_6`
|
| 27 |
|
chat_template.jinja
CHANGED
|
@@ -2,11 +2,11 @@
|
|
| 2 |
{%- set enable_thinking = true %}
|
| 3 |
{%- set preserve_thinking = true %}
|
| 4 |
{%- if strftime_now is defined %}
|
| 5 |
-
{%- set currentDate = strftime_now(
|
| 6 |
{%- elif not currentDate is defined %}
|
| 7 |
-
{%- set currentDate =
|
| 8 |
{%- endif %}
|
| 9 |
-
{{-
|
| 10 |
{#- Template customizations by @zecanard. #}
|
| 11 |
{%- macro format_parameters(properties, required) -%}
|
| 12 |
{%- set standard_keys = ['description', 'type', 'properties', 'required', 'nullable'] -%}
|
|
|
|
| 2 |
{%- set enable_thinking = true %}
|
| 3 |
{%- set preserve_thinking = true %}
|
| 4 |
{%- if strftime_now is defined %}
|
| 5 |
+
{%- set currentDate = strftime_now('%Y-%m-%d %G:%i:%s') %}
|
| 6 |
{%- elif not currentDate is defined %}
|
| 7 |
+
{%- set currentDate = '2026-04-20' %}
|
| 8 |
{%- endif %}
|
| 9 |
+
{{- 'The current date is: ' + currentDate + ".\n\n" }}
|
| 10 |
{#- Template customizations by @zecanard. #}
|
| 11 |
{%- macro format_parameters(properties, required) -%}
|
| 12 |
{%- set standard_keys = ['description', 'type', 'properties', 'required', 'nullable'] -%}
|
tokenizer_config.json
CHANGED
|
@@ -18,6 +18,7 @@
|
|
| 18 |
],
|
| 19 |
"image_token": "<|image|>",
|
| 20 |
"is_local": true,
|
|
|
|
| 21 |
"mask_token": "<mask>",
|
| 22 |
"max_length": null,
|
| 23 |
"model_max_length": 1000000000000000019884624838656,
|
|
|
|
| 18 |
],
|
| 19 |
"image_token": "<|image|>",
|
| 20 |
"is_local": true,
|
| 21 |
+
"local_files_only": true,
|
| 22 |
"mask_token": "<mask>",
|
| 23 |
"max_length": null,
|
| 24 |
"model_max_length": 1000000000000000019884624838656,
|