How to use from the
Use from the
MLX library
# Make sure mlx-lm is installed
# pip install --upgrade mlx-lm

# Generate text with mlx-lm
from mlx_lm import load, generate

model, tokenizer = load("ZQ-Dev/KAT-Coder-V2.5-Dev-oQ6e-fp16")

prompt = "Write a story about Einstein"
messages = [{"role": "user", "content": prompt}]
prompt = tokenizer.apply_chat_template(
    messages, add_generation_prompt=True
)

text = generate(model, tokenizer, prompt=prompt, verbose=True)

KAT-Coder-V2.5-Dev-oQ6e

A 6-bit enhanced oQ quantization of Kwaipilot/KAT-Coder-V2.5-Dev for Apple Silicon and MLX-compatible runtimes.

Quantization details

The full calibration summary is available in oq_imatrix_report.json.

Note: This quant was created using float16 non-quant weights. Per oMLX, float16 gives ~20% faster prefill on M1/M2 Apple Silicon (native fp16). bfloat16 is safer on M3+ and for numerical stability. For the standard oQe with bfloat16, see this repo.

License

Apache 2.0, inherited from the base model.

Downloads last month
148
Safetensors
Model size
8B params
Tensor type
F16
·
U32
·
MLX
Hardware compatibility
Log In to add your hardware

6-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for ZQ-Dev/KAT-Coder-V2.5-Dev-oQ6e-fp16

Quantized
(52)
this model

Collection including ZQ-Dev/KAT-Coder-V2.5-Dev-oQ6e-fp16