MLX How to use ArmandS11/DeepSeekR1-7B-FineTuned-python with MLX:
# Make sure mlx-lm is installed
# pip install --upgrade mlx-lm
# if on a CUDA device, also pip install mlx[cuda]
# Generate text with mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("ArmandS11/DeepSeekR1-7B-FineTuned-python")
prompt = "Once upon a time in"
text = generate(model, tokenizer, prompt=prompt, verbose=True)