metadata
pipeline_tag: text-generation
inference: true
license: apache-2.0
datasets:
- simplescaling/s1K
base_model: simplescaling/s1-32B
tags:
- mlx
mlx-community/simplescaling-s1-32B-fp32
The Model mlx-community/simplescaling-s1-32B-fp32 was converted to MLX format from simplescaling/s1-32B using mlx-lm version 0.21.1.
Use with mlx
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("mlx-community/simplescaling-s1-32B-fp32")
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)