zeta-mlx / README.md
AlejandroOlmedo's picture
Update README.md
ad7e333 verified
|
raw
history blame
1.86 kB
metadata
datasets:
  - zed-industries/zeta
license: apache-2.0
base_model: zed-industries/zeta
tags:
  - mlx

About:

Tuned from Qwen2.5 coder for coding tasks

Special thanks to the folks at Zed Industries for fine-tuning this version of Qwen2.5-Coder-7B. More information about the model can be found here:

https://huggingface.co/zed-industries/zeta (Base Model)

https://huggingface.co/lmstudio-community/zeta-GGUF (GGUF Version)

I simply converted it to MLX format (using mlx-lm version 0.21.4.) for better performance on Apple Silicon Macs (M1,M2,M3,M4 Chips).

Other Types:

Link Type Size Notes
[MLX] (https://huggingface.co/Alejandroolmedo/zeta-8bit-mlx) 8-bit 8.10 GB Best Quality
[MLX] (https://huggingface.co/Alejandroolmedo/zeta-4bit-mlx) 4-bit 4.30 GB Good Quality

Alejandroolmedo/zeta-mlx

The Model Alejandroolmedo/zeta-mlx was converted to MLX format from zed-industries/zeta using mlx-lm version 0.21.4.

Use with mlx

pip install mlx-lm
from mlx_lm import load, generate

model, tokenizer = load("Alejandroolmedo/zeta-mlx")

prompt = "hello"

if tokenizer.chat_template is not None:
    messages = [{"role": "user", "content": prompt}]
    prompt = tokenizer.apply_chat_template(
        messages, add_generation_prompt=True
    )

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