Image-Text-to-Text
MLX
Safetensors
inkling2_loop
conversational
Mixture of Experts
nvfp4
mxfp8
4-bit precision
Instructions to use thoddnn/Inkling-2-Mini-nvfp4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use thoddnn/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("thoddnn/Inkling-2-Mini-nvfp4") config = load_config("thoddnn/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 thoddnn/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 "thoddnn/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": "thoddnn/Inkling-2-Mini-nvfp4" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use thoddnn/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 "thoddnn/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 thoddnn/Inkling-2-Mini-nvfp4
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use thoddnn/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 "thoddnn/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 "thoddnn/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"
File size: 3,251 Bytes
df175e5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | {
"LICENSE": {
"size": 11358,
"sha256": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30"
},
"README.md": {
"size": 4792,
"sha256": "3742470a74d2c8e79f9f98cff9e4aa6ec3995795972b8947c00ac20dfc063e34"
},
"UPSTREAM_README.md": {
"size": 54797,
"sha256": "79de83393a10f10f61493704469418a781f661024f2f6bc08be1077508e0044e"
},
"chat_template.jinja": {
"size": 6868,
"sha256": "53a9035f3255945704b5857657cfb00c1165090c0641c4f782a0cbf268cc16dc"
},
"config.json": {
"size": 26540,
"sha256": "b7be690b1c064bb26aa13ce96dde6189aec8b9d434d20de89d115b0011d01487"
},
"conversion.json": {
"size": 600,
"sha256": "fe060328e2f6fbdfce7e900614d1d64bcd2c5628ee2db596b43dd6ec7b7965ac"
},
"generation_config.json": {
"size": 98,
"sha256": "a08737c07a65a8fdf69f7cf086576210e5aad4b241437090b26d7b0c4f7905f7"
},
"hf_quant_config.json": {
"size": 67924,
"sha256": "7c656207d3ce37879c7be209a036b0dde43bf01f78159bff06880b868ed57143"
},
"model-00001-of-00004.safetensors": {
"size": 5365563528,
"sha256": "61843021c7f3340aa84dfc74ce67e2c8ff5a19466ddb342c13b5f4c30c003e1c"
},
"model-00002-of-00004.safetensors": {
"size": 5266581936,
"sha256": "62d7b61cb250eae07474407664b0094dd17fbfc2e15d8c174f66cff51086a6c8"
},
"model-00003-of-00004.safetensors": {
"size": 5173559890,
"sha256": "1e23827f087302aef766d4c8e3dcbc457acc198b8137d0c59cd507ce998f1b7b"
},
"model-00004-of-00004.safetensors": {
"size": 3720338350,
"sha256": "bf22d5cb28345f9c1d59ddd16fae9fe50e42a866a6bdd385cb2a0e01b1b920db"
},
"model.safetensors.index.json": {
"size": 127699,
"sha256": "e4084c6853a5e4d574a65f628e8ce5b85b7d6e5417882a2a123ee02b0f8fa989"
},
"mtp.safetensors": {
"size": 635801416,
"sha256": "7c3b651317f01f73bcf4e1dceba66ef8b7e1a1eac6bc171e882e690a4b10a1d2"
},
"processor_config.json": {
"size": 461,
"sha256": "d7350adce18c8be4b607f261c8f0f7eabbf720bb7aaf648a43d4f8372bbacc2d"
},
"runtime/LICENSE": {
"size": 1069,
"sha256": "f74c448746be3376e27dee43e2be9ec9d55f4820cd7466c603a6c7d1fd2d25b8"
},
"runtime/README.md": {
"size": 650,
"sha256": "6b667dc352eefe28feb3d3b10b7738413bc46ef27340f60f5d08cf9c9e8aa465"
},
"runtime/inkling2-mini.patch": {
"size": 27259,
"sha256": "e504b0e41d86939b1b1753abfb752151c64ceb9911df09eef83f8a1fabb42546"
},
"runtime/mlx_vlm-0.8.0+inkling2mini-py3-none-any.whl": {
"size": 3876401,
"sha256": "d4a9c48a56719eae44879151f7c147776ee0dc3e593c8cb9206c9cc056e29745"
},
"special_tokens_map.json": {
"size": 529,
"sha256": "c16f44b3594563d82743ddb0417a2be1bfe3e2000dfad2da4b8f32554593e1a0"
},
"tiktoken/tokenizer.model": {
"size": 3386494,
"sha256": "f170372dd655728909228220d77cf6b8104a59f38a91262a7d2c4027906ec0d8"
},
"tokenizer.json": {
"size": 26178678,
"sha256": "7f332727f9a3f093dd452a39cc978e6757627e5dad1b0673aa4e75174f236dd6"
},
"tokenizer_config.json": {
"size": 2923,
"sha256": "79599819c145d8c2d24227e5b0da22b866f3de2d73b96365241da3fd71acafab"
},
"validation.json": {
"size": 1194,
"sha256": "c405932eafcb2684a8aa3a287b5cba2190d1fc515a8407c20fc4933b87576790"
}
}
|