ZySec-SecurityLLM — MLX 8-bit
8-bit quantized MLX build of ZySec-AI/SecurityLLM, for fast local inference on Apple Silicon.
- Precision: 8-bit affine, group size 64.
- Weights unchanged from source — format + precision conversion only.
- Converted with
mlx-lm.
Builds
GGUF builds: QuantFactory/SecurityLLM-GGUF.
Usage
pip install mlx-lm
from mlx_lm import load, generate
model, tok = load("ahmedandaloes/ZySec-SecurityLLM-MLX-8bit")
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: ZySec-AI/SecurityLLM. License per source (Apache-2.0 assumed; verify). MLX build for the Apple Silicon community. For authorized security work only.