The Model
mlx-community/zed-industries-zeta-4bit was
converted to MLX format from
zed-industries/zeta
using mlx-lm version
0.21.4 by
Focused.
1from mlx_lm import load, generate
2
3model, tokenizer = load("mlx-community/zed-industries-zeta-4bit")
4
5prompt = "hello"
6
7if tokenizer.chat_template is not None:
8 messages = [{"role": "user", "content": prompt}]
9 prompt = tokenizer.apply_chat_template(
10 messages, add_generation_prompt=True
11 )
12
13response = generate(model, tokenizer, prompt=prompt, verbose=True)
Focused is a technology company at the forefront of AI-driven development, empowering organizations to unlock the full potential of artificial intelligence. From integrating innovative models into existing systems to building scalable, modern AI infrastructures, we specialize in delivering tailored, incremental solutions that meet you where you are.
Curious how we can help with your AI next project?
Get in Touch