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

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.20.5.) with a quantization of 8-bit for better performance on Apple Silicon Macs (M1,M2,M3,M4 Chips).

Alejandroolmedo/zeta-8bit-mlx

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

Use with mlx

pip install mlx-lm
from mlx_lm import load, generate

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

prompt="hello"

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

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