CoolFace
Modelpublic

AiAF/Midnight-Miqu-70B-v1.5-MLX-mixed_3_6Bit

sourceHugging Faceupdated 7mo agoView on Hugging Face
0likes53downloads
Model Card

AiAF/Midnight-Miqu-70B-v1.5-MLX-mixed36Bit

Use with mlx

bash
pip install mlx-lm
python
from mlx_lm import load, generate

model, tokenizer = load("AiAF/Midnight-Miqu-70B-v1.5-MLX-mixed_3_6Bit")

prompt = "hello"

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

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