Image-Text-to-Text
MLX
Safetensors
qwen3_5
decision-model
decision-making
calibration
jevbench
apple-silicon
conversational
4-bit precision
Instructions to use netprojects/H2O-Lightning-4B-MLX-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use netprojects/H2O-Lightning-4B-MLX-4bit 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("netprojects/H2O-Lightning-4B-MLX-4bit") config = load_config("netprojects/H2O-Lightning-4B-MLX-4bit") # 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 netprojects/H2O-Lightning-4B-MLX-4bit with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "netprojects/H2O-Lightning-4B-MLX-4bit"
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": "netprojects/H2O-Lightning-4B-MLX-4bit" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use netprojects/H2O-Lightning-4B-MLX-4bit 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 "netprojects/H2O-Lightning-4B-MLX-4bit"
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 netprojects/H2O-Lightning-4B-MLX-4bit
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use netprojects/H2O-Lightning-4B-MLX-4bit with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "netprojects/H2O-Lightning-4B-MLX-4bit"
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 "netprojects/H2O-Lightning-4B-MLX-4bit" \ --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"
Commit History
Yesterday
-
Card: use the new repo names
Verified signature92c216f
2 days ago
-
H2O v1.4.4 serving files: the base model's native tokenizer split (weights unchanged)
Verified signature7a69f85
29 days ago
-
Card: build line, collection link, licence file; AutoTrust-JEV names [0cff71457658]
Verified signaturef19e957 -
Card: H2O v1.4.2
Verified signature6bfd6b2 -
H2O v1.4.2 serving files (weights unchanged)
Verified signaturebd8260c
30 days ago
-
Card: H2O v1.4.1, 28 October revision
Verified signature98f51c8 -
H2O v1.4.1, 28 October revision: updated shim and serve_config.json, new selector_v2.py (weights unchanged)
Verified signature3127272
-
Card: H2O-Lightning-4B v1.4.1
Verified signaturefd3c014 -
Rebuild from v1.4.1
Verified signature2a80cd7
-
H2O-Lightning-4B v1.4.0 (previous build: v1.3.1 tag)
Verified signatured4e562b
-
Add speed and memory section (23 Oct 2026, quiet M5 Max)
Verified signaturec807348
-
H2O-Lightning-4B v1.3.1: two-way reading (previous build: v1.2.3 tag)
Verified signature9eb0618
-
Card: fix sizes, add q8/bf16 scores, images, limits, shim note
Verified signature2bda86b
-
Add model card
Verified signature39285a1 -
Add H2O-Lightning-4B MLX q4 build
Verified signature38b0e1a -
initial commit
Verified signature1fc7811