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 "GestaltLabs/Ornstein-Hermes-3.6-27B-SABER-MLX-4bit"
Configure the model in Pi
# Install Pi:
npm install -g @mariozechner/pi-coding-agent
# Add to ~/.pi/agent/models.json:
{
  "providers": {
    "mlx-lm": {
      "baseUrl": "http://localhost:8080/v1",
      "api": "openai-completions",
      "apiKey": "none",
      "models": [
        {
          "id": "GestaltLabs/Ornstein-Hermes-3.6-27B-SABER-MLX-4bit"
        }
      ]
    }
  }
}
Run Pi
# Start Pi in your project directory:
pi
Quick Links

Ornstein-Hermes-3.6-27B SABER MLX 4-bit

This is an MLX 4-bit quantized conversion of GestaltLabs/Ornstein-Hermes-3.6-27b-SABER.

The source model is a SABER-edited release candidate of GestaltLabs/Ornstein-Hermes-3.6-27b, selected for its observed refusal/KLD tradeoff on the source evaluation set. See the source model card for the full methodology, evaluation details, attribution, and limitations.

Quantization

field value
Format MLX safetensors
Quantization affine
Bits 4
Group size 64
Reported bits per weight 4.501
Uploaded storage ~15.2 GB

Use With MLX

Install mlx-lm, then load this repo directly:

pip install -U mlx-lm
mlx_lm.generate \
  --model GestaltLabs/Ornstein-Hermes-3.6-27b-SABER-MLX-4bit \
  --prompt "Explain quantum computing in simple terms."

Python:

from mlx_lm import load, generate

model, tokenizer = load("GestaltLabs/Ornstein-Hermes-3.6-27b-SABER-MLX-4bit")
response = generate(
    model,
    tokenizer,
    prompt="Explain quantum computing in simple terms.",
    max_tokens=256,
)
print(response)

For chat-style usage, apply the tokenizer chat template used by the source model before generation.

Notes

  • This repo contains only the MLX-converted weights and tokenizer assets.
  • Behavioral claims, evaluation numbers, and limitations are inherited from the source model.
  • The source model is a model-editing research artifact with dual-use implications.
  • The model inherits licensing considerations from the source and base model.

Source

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

4-bit

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

Collection including GestaltLabs/Ornstein-Hermes-3.6-27B-SABER-MLX-4bit