Instructions to use bouroo/zeta-2.1-mlx-mxfp8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use bouroo/zeta-2.1-mlx-mxfp8 with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # if on a CUDA device, also pip install mlx[cuda] # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("bouroo/zeta-2.1-mlx-mxfp8") prompt = "Once upon a time in" text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- MLX LM
How to use bouroo/zeta-2.1-mlx-mxfp8 with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "bouroo/zeta-2.1-mlx-mxfp8" --prompt "Once upon a time"
- Atomic Chat
bouroo/zeta-2.1-mlx-mxfp8
A native MLX MXFP8 quantization of zed-industries/zeta-2.1, an 8B code edit-prediction / autocomplete model.
Quantization details
| Property | Value |
|---|---|
| Method | MLX MXFP8 |
| Bits | 8 |
| Group size | 32 |
| Measured BPW | 8.250 |
| Size on disk | 7.9 GB |
| Reference signal | bf16 |
MXFP8 is a block floating-point format supported by MLX on Apple Silicon. All eligible linear weights use MXFP8; the config records the quantization parameters.
About the base model
Zeta 2.1 is a code edit-prediction model (next-edit suggestion) finetuned from ByteDance-Seed/Seed-Coder-8B-Base. It uses an SPM-style, multi-marker FIM format rather than a chat template.
Prompt format
<[fim-suffix]>{code after cursor}
<[fim-prefix]><filename>{file_path}
{code before cursor}<|marker_1|><|marker_2|>
<[fim-middle]>
See examples/zeta_fim.py for a standard-library client targeting LM Studio.
Usage
from mlx_lm import load, generate
from mlx_lm.sample_utils import make_sampler
model, tokenizer = load("bouroo/zeta-2.1-mlx-mxfp8")
prompt = "<[fim-suffix]>\n return total\n<[fim-prefix]><filename>app.py\ndef sum_list(items):\n<|marker_1|><|marker_2|>\n<[fim-middle]>"
out = generate(model, tokenizer, prompt=prompt, max_tokens=128,
sampler=make_sampler(temp=0.2, top_p=0.95))
LM Studio
lms get https://huggingface.co/bouroo/zeta-2.1-mlx-mxfp8
lms load zeta-2.1-mlx-mxfp8
LM Studio's built-in autocomplete uses a simple FIM template and cannot format Zeta's multi-marker edit-prediction prompt. Use the client in examples/ or a compatible editor integration.
Verification
Confirmed with local mlx_lm load + generation using the canonical FIM prompt. The output produced a complete sum_list implementation enclosed by <|marker_1|> and <|marker_2|>.
Quantized and published under Apache-2.0, inherited from the base model.
- Downloads last month
- 47
8-bit
Model tree for bouroo/zeta-2.1-mlx-mxfp8
Base model
ByteDance-Seed/Seed-Coder-8B-Base