How to use from
OpenClaw
Start the MLX server
# Install MLX LM:
uv tool install mlx-lm
# Start a local OpenAI-compatible server:
mlx_lm.server --model "piotrjanik/ocm-coder"
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 "piotrjanik/ocm-coder" \
  --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"
Quick Links

ocm-coder

LoRA adapters fine-tuned on the Open Component Model (OCM) and OCI specification ecosystem.

Base model: mlx-community/Qwen2.5-Coder-32B-Instruct-4bit

Usage

from mlx_lm import load, generate

model, tokenizer = load(
    "mlx-community/Qwen2.5-Coder-32B-Instruct-4bit",
    adapter_path="piotrjanik/ocm-coder",
)
Downloads last month
1
MLX
Hardware compatibility
Log In to add your hardware

Quantized

GGUF
Model size
33B params
Architecture
qwen2
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for piotrjanik/ocm-coder