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 "ahmedandaloes/security-llama3.2-3b-MLX-bf16"
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": "ahmedandaloes/security-llama3.2-3b-MLX-bf16"
        }
      ]
    }
  }
}
Run Pi
# Start Pi in your project directory:
pi
Quick Links

security-llama3.2-3b — MLX bf16

Full-precision (bf16) MLX build of viettelsecurity-ai/security-llama3.2-3b, for fast local inference on Apple Silicon.

  • Precision: bf16 — no quantization, identical weights to source.
  • Weights unchanged from source — format + precision conversion only.
  • Converted with mlx-lm.

Builds

GGUF builds: prithivMLmods/Security-Llama3.2-3B-GGUF.

Usage

pip install mlx-lm
from mlx_lm import load, generate
model, tok = load("ahmedandaloes/security-llama3.2-3b-MLX-bf16")
p = tok.apply_chat_template([{"role":"user","content":"Name a common web vulnerability."}], add_generation_prompt=True)
print(generate(model, tok, prompt=p, max_tokens=200, verbose=True))

Attribution

Source: viettelsecurity-ai/security-llama3.2-3b. License per source (Apache-2.0 assumed; verify). MLX build for the Apple Silicon community. For authorized security work only.

Downloads last month
37
Safetensors
Model size
3B 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 ahmedandaloes/security-llama3.2-3b-MLX-bf16

Quantized
(5)
this model

Collection including ahmedandaloes/security-llama3.2-3b-MLX-bf16