Image-Text-to-Text
MLX
Safetensors
inkling2_loop
mlx-vlm
conversational
Mixture of Experts
6bit
6-bit
Instructions to use nativ-community/Inkling-2-Mini-6bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use nativ-community/Inkling-2-Mini-6bit 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("nativ-community/Inkling-2-Mini-6bit") config = load_config("nativ-community/Inkling-2-Mini-6bit") # 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 nativ-community/Inkling-2-Mini-6bit with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "nativ-community/Inkling-2-Mini-6bit"
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "nativ-community/Inkling-2-Mini-6bit" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use nativ-community/Inkling-2-Mini-6bit 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 "nativ-community/Inkling-2-Mini-6bit"
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 nativ-community/Inkling-2-Mini-6bit
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use nativ-community/Inkling-2-Mini-6bit with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "nativ-community/Inkling-2-Mini-6bit"
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 "nativ-community/Inkling-2-Mini-6bit" \ --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"
Download conversion.json from nativ-community/Inkling-2-Mini-6bit: direct link, hf CLI and curl.
- Browser
- Download file 1.45 kB
-
https://huggingface.co/nativ-community/Inkling-2-Mini-6bit/resolve/main/conversion.json
- Command line
-
hf download hf://nativ-community/Inkling-2-Mini-6bit/conversion.json
-
curl -L -o conversion.json https://huggingface.co/nativ-community/Inkling-2-Mini-6bit/resolve/main/conversion.json
1.45 kB
| { | |
| "source_model": "thinkingmachines/Inkling-2-Mini", | |
| "source_revision": "c9d028302cd0f035fdf8e7e91f089a4ce94d2195", | |
| "implementation_repository": "https://github.com/Neywa-Labs/mlx-vlm", | |
| "implementation_revision": "91b37cd5c5d02282d1101e6d1fcfd199636a912c", | |
| "mlx_vlm_version": "0.8.1", | |
| "mlx_version": "0.32.4", | |
| "transformers_version": "5.16.1", | |
| "conversion_date": "2026-11-30", | |
| "variant": "6bit", | |
| "settings": { | |
| "bits": 6, | |
| "group_size": 64, | |
| "mode": "affine" | |
| }, | |
| "native_source_precision": "NVFP4 experts in layers 0-19 and MXFP8 experts in layers 20-23; other tensors BF16/FP32.", | |
| "dequantization": "Native blocks dequantized to FP32, original per-expert outer scales folded in FP32, then rounded once to BF16. Other floating-point tensors are unchanged.", | |
| "derivation": "Quantized directly from the validated BF16 reconstruction; not from another derived quant.", | |
| "precision_limitation": "These exports cannot recover precision already lost in the native release. Higher bit counts do not imply original higher-precision weights.", | |
| "target_weight_bytes": 21863191052, | |
| "draft_weight_bytes": 635801416, | |
| "quantization_exclusions": "Vision tower, raw-array router weights/biases, loop controllers/queries, convolution tensors and normalization parameters remain floating point. Native NVFP4 outer scales are folded into expert weights.", | |
| "draft": "Original mtp.safetensors preserved byte-for-byte." | |
| } | |