Instructions to use ReadyArt/Minimax-M3-jablit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ReadyArt/Minimax-M3-jablit with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="ReadyArt/Minimax-M3-jablit", trust_remote_code=True) messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("ReadyArt/Minimax-M3-jablit", trust_remote_code=True) model = AutoModelForMultimodalLM.from_pretrained("ReadyArt/Minimax-M3-jablit", trust_remote_code=True, device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ReadyArt/Minimax-M3-jablit with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ReadyArt/Minimax-M3-jablit" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ReadyArt/Minimax-M3-jablit", "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/ReadyArt/Minimax-M3-jablit
- SGLang
How to use ReadyArt/Minimax-M3-jablit with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "ReadyArt/Minimax-M3-jablit" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ReadyArt/Minimax-M3-jablit", "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 images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "ReadyArt/Minimax-M3-jablit" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ReadyArt/Minimax-M3-jablit", "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" } } ] } ] }' - Docker Model Runner
How to use ReadyArt/Minimax-M3-jablit with Docker Model Runner:
docker model run hf.co/ReadyArt/Minimax-M3-jablit
M3 J
MiniMax‑M3 with a partial abliteration, filtered through a Jacobian lens.
What it is
I made an abliteration LoRA for MiniMax‑M3 with heretic, then projected it through a Jacobian lens fitted to M3 and merged what was left into the weights. The projection keeps 29% of the original edit. This is the same approach as scotoma-1 and 2, applied to M3.
Base M3 refuses all 100 prompts in my harmful test set. This model refuses about 79 of them. On harmless prompts its output stays close to base (mean KL divergence 0.018).
This is an experimental upload. There is no DPO stage like scotoma‑2 had, and I have not measured capability, writing quality, or image input against base. It still refuses most of the time.
Results
Refusals are counted by a judge on 100 harmful prompts. KL divergence from base is measured on 100 harmless prompts. All rows use the same abliteration edit; only the amount kept changes.
| version | description | edit kept | refusals | KL mean | KL p95 |
|---|---|---|---|---|---|
| base | unedited M3 (KL here is the noise floor) | 0 | 100 | 0.0042 | 0.0185 |
| k=64 | earlier, smaller projection | 0.11 | 100 | 0.0085 | 0.0363 |
| k=512 | this model | 0.29 | 78–80 | 0.0180 | 0.0776 |
| raw × 0.40 | full edit scaled down, no projection | 0.40 | 86 | 0.0184 | 0.0799 |
| raw | full edit | 1.00 | 21 | 0.0650 | 0.2816 |
The k=512 row is the range over three separate eval runs. At the same KL, the projected edit removed 22 refusals and the scaled-down edit removed 14. These evals were run on an MXFP8 copy of this model, which is what fits on my hardware. This BF16 model gets slightly more of the edit, because MXFP8 rounding loses part of it. I have not evaluated the BF16 weights directly.
Chat template
The included template is base M3’s with two additions. If you don’t use them, prompts are the same as with the base template.
- rootp: a template kwarg that sets the top-level system prompt. It replaces a leading root message or MiniMax’s default identity line. An empty string is ignored.
- Extra system messages: a system or developer message after the first one is now shown to the model as a developer turn. The base template drops these.
Thinking works as in base M3, through the thinking_mode kwarg (enabled, adaptive or disabled). The enable_thinking kwarg has no effect on M3.
extra_body={"chat_template_kwargs": {"thinking_mode": "disabled", "rootp": "You are …"}}
How it was made
- Abliteration. heretic’s ARA optimizer with mmd-rbf steering trained a rank-32 LoRA on o_proj and the expert down-projections, layers 11–41.
- Lens. I fitted a Jacobian lens for M3 on 128 prompts (wiki, fiction and chat), layers 3–56.
- Projection. Each layer’s part of the edit is projected onto the lens’s top 512 directions. My first try used 64 directions, which kept 11% of the edit and changed no refusals. scotoma‑2’s γ-fold doesn’t apply to M3 because of how M3 places its norms, so I raised the direction count instead.
- Merge. The edit was added to the bf16 weights in fp32, then rounded back to bf16 with stochastic rounding, so small changes are not lost to rounding on average. I checked 7 merged tensors and the full edit arrived in each (fidelity 1.0000).
Limitations
Only text was tested. The vision tower is unchanged, but image prompts were not evaluated. Results will vary with prompt and context.
The MiniMax Community License allows non-commercial use. Commercial use of a modified M3 requires notifying MiniMax or getting their permission; see LICENSE. You are responsible for what you generate with it.
Provenance
base → MiniMax-M3 · © MiniMax, under the MiniMax Community License
edit → heretic · ARA / mmd-rbf · rank 32 · layers 11–41
lens → Jacobian lens · 128 prompts · layers 3–56 · k=512 · 29% of edit kept
merge → bf16 stochastic rounding · fidelity 1.0000 on 7 checked tensors
evals → 100 harmful / 100 harmless prompts · 3 runs · on an MXFP8 copy
Credits
Made by Aes Sedai (huggingface.co/AesSedai).
Base model: MiniMax-M3 by MiniMax. Abliteration: heretic by p-e-w.
- Downloads last month
- 436