Image-Text-to-Text
MLX
Safetensors
inkling2_loop
conversational
Mixture of Experts
nvfp4
mxfp8
4-bit precision
Instructions to use nativ-community/Inkling-2-Mini-nvfp4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use nativ-community/Inkling-2-Mini-nvfp4 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-nvfp4") config = load_config("nativ-community/Inkling-2-Mini-nvfp4") # 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-nvfp4 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-nvfp4"
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-nvfp4" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use nativ-community/Inkling-2-Mini-nvfp4 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-nvfp4"
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-nvfp4
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use nativ-community/Inkling-2-Mini-nvfp4 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-nvfp4"
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-nvfp4" \ --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 validation.json from nativ-community/Inkling-2-Mini-nvfp4: direct link, hf CLI and curl.
- Browser
- Download file 1.19 kB
-
https://huggingface.co/nativ-community/Inkling-2-Mini-nvfp4/resolve/main/validation.json
- Command line
-
hf download hf://nativ-community/Inkling-2-Mini-nvfp4/validation.json
-
curl -L -o validation.json https://huggingface.co/nativ-community/Inkling-2-Mini-nvfp4/resolve/main/validation.json
1.19 kB
| { | |
| "validation_date": "2026-11-20", | |
| "targeted_model_tests_passed": 48, | |
| "targeted_speculative_tests_passed": 19, | |
| "identical_converted_tensors": 1271, | |
| "cache_entries": 48, | |
| "expert_modes": [ | |
| "nvfp4", | |
| "nvfp4", | |
| "nvfp4", | |
| "nvfp4", | |
| "nvfp4", | |
| "nvfp4", | |
| "nvfp4", | |
| "nvfp4", | |
| "nvfp4", | |
| "nvfp4", | |
| "nvfp4", | |
| "nvfp4", | |
| "nvfp4", | |
| "nvfp4", | |
| "nvfp4", | |
| "nvfp4", | |
| "nvfp4", | |
| "nvfp4", | |
| "nvfp4", | |
| "nvfp4", | |
| "mxfp8", | |
| "mxfp8", | |
| "mxfp8", | |
| "mxfp8" | |
| ], | |
| "real_checkpoint_checks": { | |
| "arithmetic": "323", | |
| "text": "Correctly explained why ice floats", | |
| "image": "Correctly identified a red circle", | |
| "bundled_draft": "45 greedy tokens identical to standard generation" | |
| }, | |
| "loop_primitive_reference": { | |
| "message_gate_max_abs_error": 2.384185791015625e-07, | |
| "message_attention_max_abs_error": 3.5762786865234375e-07, | |
| "reference": "huggingface/transformers add-inkling2-mini" | |
| }, | |
| "scope": "Smoke and conversion-integrity checks; not a full accuracy benchmark or full-model parity claim against the original runtime.", | |
| "packaged_wheel_smoke_test": "passed from installed wheel outside source checkout" | |
| } | |