← back to catalog · indexed 2026-08-22 13:56 (first catalog crawl)

prithivMLmods/MiniCPM-V-4.6-Thinking-abliterated-MAX

prithivMLmods MiniCPM 1.3B multimodal
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/prithivMLmods%2FMiniCPM-V-4.6-Thinking-abliterated-MAX"
Response includes
  • classification m1
  • files 12
  • hub_downloads_all_time 333
  • author_summary 118 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
446
24 last 30d - cooling
Likes
5
Descendants
3
in 3 direct forks
Model age
6mo ago
created 2026-05-16

Training datasets

1 of 1 in /datasets

Corpora the author lists in the model card. Datasets tracked in our /datasets catalog carry a category badge linking to the workflow stage. Others open on Hugging Face.

Downloads over time
Now 446 → from 56 ↑ 696%
2164326488 56 on May 20 446 on Nov 25 MayJunJulAugSepOctNov
May 20 → Nov 25 · 105 snapshots · spans 189 days

Genealogy 3 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.

Variants by this author 2 formats · 789 downloads combined

The same weights this author released in different packaging. Pick the format that matches your runtime.

Metadata

License
apache-2.0
Languages
en
Tags
transformers safetensors minicpmv4_6 image-text-to-text minicpm-v multimodal On-Device Model thinking max text-generation-inference reasoning pytorch

Related

Total size
2.44 GB
Files
12
Quantizations
none
Indexed by us
2026-08-22 13:56 · first crawl
Last updated on HF
2026-06-01 07:52

Files by quantization

Weights 3 files 2.42 GB
model-00002-of-00003.safetensors 1.21 GB fd8a55dd download
model-00001-of-00003.safetensors 1.21 GB bb53fed7 download
model-00003-of-00003.safetensors 7.60 MB 736f59d2 download
Auxiliary files 9 files 19.2 MB
tokenizer.json 19.1 MB 33861e37 download
model.safetensors.index.json 75.1 KB a720aeea download
README.md 10.6 KB 1a7f2ed9 download
chat_template.jinja 7.13 KB 6c5faef3 download
config.json 2.66 KB 5ccf1b64 download
tokenizer_config.json 1.59 KB 0f2b212b download
.gitattributes 1.53 KB 52373fe2 download
processor_config.json 1.17 KB ce6e297c download
generation_config.json 214 B 81a7f6ec download

README from Hugging Face, captured 2026-08-22


license: apache-2.0
tags:

  • minicpm-v
  • multimodal
  • On-Device Model
  • thinking
  • max
  • text-generation-inference
  • reasoning
  • pytorch
  • uncensored
  • abliterated
  • unfiltered
  • unredacted
  • refusal-ablated
  • alignment-modified
    base_model:
  • openbmb/MiniCPM-V-4.6-Thinking
    language:
  • en
    pipeline_tag: image-text-to-text
    library_name: transformers
    datasets:
  • prithivMLmods/harm_bench

1

MiniCPM-V-4.6-Thinking-abliterated-MAX

MiniCPM-V-4.6-Thinking-abliterated-MAX is an optimized release built on top of huihui-ai/Huihui-MiniCPM-V-4.6-Thinking-abliterated. This version focuses on updated shard sizing, repository optimization, and compatibility improvements for the latest Transformers releases while preserving the reasoning capabilities of the original model. The result is a highly capable and efficient multimodal reasoning language model for image, video, and text understanding with streamlined deployment and inference workflows.

[!IMPORTANT]
This model is intended for research and learning purposes only. Any content generated by it is used at the user's own risk. The authors and hosting page disclaim any liability for outputs produced by this model. Users are responsible for ensuring safe, ethical, and lawful usage.

Evals

2

.eval_results: harm_bench_score.yaml

The evaluation was conducted using 2,000 random harmful test prompts to measure the refusal behavior of the language model. The self-reported evaluations provided here are intended only to give an overview of the model. Scores may vary depending on the benchmark and the evaluation strategy used.

Key Highlights

  • Latest Transformers Compatibility
    Re-sharded and optimized for improved compatibility with recent Transformers releases.

  • Optimized Model Sharding
    Updated shard sizes for improved repository handling, downloading, and deployment efficiency.

  • Streamlined Inference Experience
    Optimized packaging and repository structure for smoother loading and inference workflows.

  • Efficient Multimodal Architecture
    Built on openbmb/MiniCPM-V-4.6-Thinking, combining SigLIP2-400M vision encoding with Qwen3.5-0.8B language capabilities for compact yet powerful multimodal reasoning.

  • Thinking-Enabled Multimodal Reasoning
    Supports structured reasoning across text, images, and video inputs with improved instruction adherence.

  • Image & Video Understanding
    Supports multimodal reasoning across visual and textual inputs with efficient deployment on edge and mobile-class hardware.

  • 262K Long Context Support
    Optimized for extremely long multimodal contexts across text, image, and video inputs.

  • Research-Friendly Distribution
    Designed to simplify experimentation, evaluation, and local deployment workflows.

  • High-Efficiency Deployment
    Suitable for local inference, lightweight multimodal applications, and research experimentation on consumer-grade GPUs.


Base Model Signatures:

This model has been re-sharded and optimized for the latest Transformers version from the base model: https://huggingface.co/huihui-ai/Huihui-MiniCPM-V-4.6-Thinking-abliterated.


Quick Start with Transformers

pip install transformers==5.8.0 gradio==6.14.0
import gc
import time
from threading import Thread

import gradio as gr
import torch
from PIL import Image

from transformers import (
    MiniCPMV4_6ForConditionalGeneration,
    AutoProcessor,
    TextIteratorStreamer,
)

MAX_MAX_NEW_TOKENS = 4096
DEFAULT_MAX_NEW_TOKENS = 1024
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
print("Using device:", device)

MODEL_ID = "prithivMLmods/MiniCPM-V-4.6-Thinking-abliterated-MAX"
processor = AutoProcessor.from_pretrained(MODEL_ID, trust_remote_code=True)
model = MiniCPMV4_6ForConditionalGeneration.from_pretrained(
    MODEL_ID,
    trust_remote_code=True,
    torch_dtype=torch.bfloat16,
).to(device).eval()


def generate(
    image: Image.Image,
    text: str,
    max_new_tokens: int = DEFAULT_MAX_NEW_TOKENS,
    temperature: float = 0.6,
    top_p: float = 0.9,
    top_k: int = 50,
    repetition_penalty: float = 1.2,
):
    if image is None:
        yield "[ERROR] Please upload an image."
        return
    if not text or not text.strip():
        yield "[ERROR] Please enter your instruction."
        return

    messages = [
        {
            "role": "user",
            "content": [
                {"type": "image"},
                {"type": "text", "text": text},
            ],
        }
    ]

    prompt_full = processor.apply_chat_template(
        messages, tokenize=False, add_generation_prompt=True
    )

    inputs = processor(
        text=[prompt_full],
        images=[image],
        return_tensors="pt",
        padding=True,
    ).to(device)

    streamer = TextIteratorStreamer(
        processor.tokenizer if hasattr(processor, "tokenizer") else processor,
        skip_prompt=True,
        skip_special_tokens=True,
    )

    generation_error = {"error": None}
    generation_kwargs = {
        **inputs,
        "streamer": streamer,
        "max_new_tokens": int(max_new_tokens),
        "do_sample": True,
        "temperature": float(temperature),
        "top_p": float(top_p),
        "top_k": int(top_k),
        "repetition_penalty": float(repetition_penalty),
    }

    def _run():
        try:
            model.generate(**generation_kwargs)
        except Exception as e:
            generation_error["error"] = e
            try:
                streamer.end()
            except Exception:
                pass

    thread = Thread(target=_run, daemon=True)
    thread.start()

    buffer = ""
    for new_text in streamer:
        buffer += new_text
        time.sleep(0.01)
        yield buffer

    thread.join(timeout=1.0)

    if generation_error["error"] is not None:
        err = f"[ERROR] {str(generation_error['error'])}"
        yield (buffer + "\n\n" + err) if buffer.strip() else err
        return

    if not buffer.strip():
        yield "[ERROR] No output was generated."

    gc.collect()
    if torch.cuda.is_available():
        torch.cuda.empty_cache()


def run_inference(
    image,
    text,
    max_new_tokens,
    temperature,
    top_p,
    top_k,
    repetition_penalty,
):
    yield from generate(
        image=image,
        text=text,
        max_new_tokens=max_new_tokens,
        temperature=temperature,
        top_p=top_p,
        top_k=top_k,
        repetition_penalty=repetition_penalty,
    )


with gr.Blocks(title="MiniCPM-V-4.6-Thinking-abliterated-MAX") as demo:
    gr.Markdown(
        "# MiniCPM-V-4.6-Thinking-abliterated-MAX\n"
        "Upload an image and enter your instruction to run multimodal inference."
    )

    with gr.Row():
        with gr.Column(scale=1):
            image_input = gr.Image(type="pil", label="Input Image")
            text_input = gr.Textbox(
                label="Instruction",
                placeholder="e.g., Describe the image, perform OCR, solve the problem...",
                lines=4,
            )
            run_btn = gr.Button("Run Inference", variant="primary")

            with gr.Accordion("Advanced Settings", open=False):
                max_new_tokens = gr.Slider(
                    minimum=1,
                    maximum=MAX_MAX_NEW_TOKENS,
                    step=1,
                    value=DEFAULT_MAX_NEW_TOKENS,
                    label="Max New Tokens",
                )
                temperature = gr.Slider(
                    minimum=0.1,
                    maximum=4.0,
                    step=0.1,
                    value=0.6,
                    label="Temperature",
                )
                top_p = gr.Slider(
                    minimum=0.05,
                    maximum=1.0,
                    step=0.05,
                    value=0.9,
                    label="Top-p",
                )
                top_k = gr.Slider(
                    minimum=1,
                    maximum=1000,
                    step=1,
                    value=50,
                    label="Top-k",
                )
                repetition_penalty = gr.Slider(
                    minimum=1.0,
                    maximum=2.0,
                    step=0.05,
                    value=1.2,
                    label="Repetition Penalty",
                )

        with gr.Column(scale=1):
            output = gr.Textbox(
                label="Output",
                lines=20,
                placeholder="Output will appear here...",
            )

    run_btn.click(
        fn=run_inference,
        inputs=[
            image_input,
            text_input,
            max_new_tokens,
            temperature,
            top_p,
            top_k,
            repetition_penalty,
        ],
        outputs=[output],
    )

if __name__ == "__main__":
    demo.queue(max_size=10).launch(show_error=True)

Base Model Information

openbmb/MiniCPM-V-4.6-Thinking is the reasoning-enabled variant of OpenBMB’s 1.3B-parameter MiniCPM-V-4.6 series. It uses SigLIP2-400M as the vision encoder and Qwen3.5-0.8B as the language backbone, supporting multimodal reasoning across text, image, and video inputs with up to 262K context length, and enabling explicit step-by-step reasoning for complex tasks.

Intended Use

  • Multimodal Reasoning Research
    Studying reasoning behaviors across text, image, and video inputs.

  • Evaluation & Benchmarking
    Testing multimodal model performance across structured reasoning tasks.

  • Edge & Local Deployment
    Running compact multimodal systems efficiently on consumer hardware.

  • Research Prototyping
    Experimenting with multimodal reasoning architectures and workflows.

Limitations & Risks

Important Note: This model inherits the behavior and characteristics of its base model.

  • Reasoning Hallucinations
    Step-by-step reasoning may occasionally include incorrect or fabricated steps.

  • Output Reliability
    Results should be verified before use in critical applications.

  • Multimodal Constraints
    Performance depends on input quality, context length, and task complexity.

  • Deployment Considerations
    High-resolution multimodal inference may require significant compute resources.

README history 17 versions

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

  1. 2026-06-01 Update README.md 78678f8 10.6 KB
    Loading...
  2. 2026-06-01 Update README.md 2b28d40 10.4 KB
    Loading...
  3. 2026-05-17 Update README.md 458e67d 10.8 KB
    Loading...
  4. 2026-05-17 Update README.md 89d6f90 10.8 KB
    Loading...
  5. 2026-05-17 Update README.md d0b7746 10.8 KB
    Loading...
  6. 2026-05-17 Update README.md d5317ac 10.8 KB
    Loading...
  7. 2026-05-17 Update README.md 6aeebcd 10.8 KB
    Loading...
  8. 2026-05-17 Update README.md 7292f1b 10.8 KB
    Loading...
  9. 2026-05-17 Update README.md bfdbfec 10.2 KB
    Loading...
  10. 2026-05-17 Update README.md 1304d0f 10.9 KB
    Loading...
  11. 2026-05-17 Update README.md 9a31d10 10.2 KB
    Loading...
  12. 2026-05-16 Update README.md 1af23db 10.2 KB
    Loading...
  13. 2026-05-16 Update README.md 51b8333 10.1 KB
    Loading...
  14. 2026-05-16 Update README.md c252cca 10.1 KB
    Loading...
  15. 2026-05-16 Update README.md 29520a6 5.9 KB
    Loading...
  16. 2026-05-16 Update README.md 5525d0b 72 B
    Loading...
  17. 2026-05-16 initial commit 624a52f 28 B
    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