prince-canuma's picture
ec597a8da8872643787f1f2353a554e0d42adeafdc6ebbff953b438e5b0c7ad5
939cb78 verified
|
raw
history blame
No virus
654 Bytes
metadata
language:
  - en
license: apache-2.0
tags:
  - chat
  - mlx
pipeline_tag: text-generation

mlx-community/Qwen2-Math-1.5B-Instruct-8bit

The Model mlx-community/Qwen2-Math-1.5B-Instruct-8bit 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-8bit")
response = generate(model, tokenizer, prompt="hello", verbose=True)