SU-01-4bit / README.md
axi0mX's picture
Add files using upload-large-folder tool
35208b1 verified
metadata
license: apache-2.0
pipeline_tag: text-generation
library_name: mlx
tags:
  - reasoning
  - olympiad
  - mathematics
  - science
  - reinforcement-learning
  - test-time-scaling
  - long-context
  - mlx
base_model: Simplified-Reasoning/SU-01

mlx-community/SU-01-4bit

This model mlx-community/SU-01-4bit was converted to MLX format from Simplified-Reasoning/SU-01 using mlx-lm version 0.31.3.

Use with mlx

pip install mlx-lm
from mlx_lm import load, generate

model, tokenizer = load("mlx-community/SU-01-4bit")

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)