Text Generation
MLX
Safetensors
English
qwen3
code
conversational
How to use from
Pi
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 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": "MCES10-Software/cpp-qwen3-4B-Instruct-2507"
        }
      ]
    }
  }
}
Run Pi
# Start Pi in your project directory:
pi
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
25
Safetensors
Model size
4B params
Tensor type
BF16
ยท
MLX
Hardware compatibility
Log In to add your hardware

Quantized

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

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

Finetuned
(2,820)
this model
Quantizations
1 model

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