sid22669/Llama-3.2-1b-4bit-q-mlx
This model sid22669/Llama-3.2-1b-4bit-q-mlx was converted to MLX format from meta-llama/Llama-3.2-1B-Instruct using mlx-lm version 0.22.5.
Use with mlx
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("sid22669/Llama-3.2-1b-4bit-q-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)
- Downloads last month
- 7
Model tree for sid22669/Llama-3.2-1b-4bit-q-mlx
Base model
meta-llama/Llama-3.2-1B-Instruct