Experiments
Collection
Converting to dwq, awq, and all things MLX
•
17 items
•
Updated
This quant is too small to do any useful work and is provided for entertainment purposes only
This model Jan-v1-4B-dwq3-mlx was converted to MLX format from janhq/Jan-v1-4B using mlx-lm version 0.26.3.
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("Jan-v1-4B-dwq3-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)