Text Generation
MLX
Safetensors
English
qwen3
code
conversational
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 "MCES10-Software/cpp-qwen3-4B-Instruct-2507"
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 "MCES10-Software/cpp-qwen3-4B-Instruct-2507" \
  --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

CPP-qwen3-4B-Instruct-2507

Features

  • This model is based on qwen3-4B-Instruct-2507
  • Fine Tuned on MCES10-Software/CPP-Code-Solutions Dataset
  • 4 Billion Parameters
  • Finetuned with MLX
  • model.safetensors

Benchmark

MAX TOKENS = 500 Apple Silicon Macbook Pro 18,3 M1 PRO 16 GB RAM

Write a function that checks if a number is prime.

bool isPrime(int n) {
    if (n <= 1) return false;
    for (int i = 2; i * i <= n; ++i) {
        if (n % i == 0) return false;
    }
    return true;
}

49.27 tok/sec 63 tokens 0.24s to first token Credits

MCES10 Software

Thanks to:

QWEN for the model

Downloads last month
46
Safetensors
Model size
4B params
Tensor type
BF16
·
MLX
Hardware compatibility
Log In to add your hardware

Quantized

Inference Providers NEW
Input a message to start chatting with MCES10-Software/cpp-qwen3-4B-Instruct-2507.

Model tree for MCES10-Software/cpp-qwen3-4B-Instruct-2507

Finetuned
(1795)
this model
Quantizations
1 model

Dataset used to train MCES10-Software/cpp-qwen3-4B-Instruct-2507