prince-canuma's picture
ad356adad34e8c7869abe4651006a71096102a581b22f3ad8ba728c04457a0b6
354cc2f verified
|
raw
history blame
654 Bytes
metadata
language:
  - en
license: apache-2.0
tags:
  - chat
  - mlx
pipeline_tag: text-generation

mlx-community/Qwen2-Math-1.5B-Instruct-bf16

The Model mlx-community/Qwen2-Math-1.5B-Instruct-bf16 was converted to MLX format from Qwen/Qwen2-Math-1.5B-Instruct using mlx-lm version 0.16.1.

Use with mlx

pip install mlx-lm
from mlx_lm import load, generate

model, tokenizer = load("mlx-community/Qwen2-Math-1.5B-Instruct-bf16")
response = generate(model, tokenizer, prompt="hello", verbose=True)