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("OpenMed/maple-preview-4bit-mlx")

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)

Maple Preview 4-bit MLX — experimental archive

Do not deploy this export. It is retained privately as a reproducibility artifact for a failed development validation result.

This OpenMed export was converted from deepgrove/maple-preview revision ac1ddd79d2b5cb4406f5d2bebdf95406ce505a07 with 4-bit affine quantization and group size 128. The included openmed-maple-export.json records the pinned source and runtime-code revisions and conversion settings.

The checkpoint converted and loaded on Apple Silicon, but its synthetic structured-task run exhausted the 4,096-token generation budget before producing final JSON. Successful tensor conversion is not evidence of useful or safe generation. No clinical-quality, direct-identifier recall, critical-leakage, source-parity, or physical-device claim is made.

See the validation table and reproducible export instructions in docs/maple-on-device.md.

Maple Preview is a research model, not a medical device. The upstream model is licensed under MIT; see the upstream repository for its license and model card.

Downloads last month
-
Safetensors
Model size
3B 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

Model tree for OpenMed/maple-preview-4bit-mlx

Quantized
(8)
this model