Downloads · 30 days
15
19% of all-time downloads
DQN-Labs/dqnMath-v0.1-3B-HF
dqnMath-v0.1-3B-HF is a text generation model from DQN-Labs. Use it when you need the model to write or continue text. It is set up for mlx. The card lists the license as apache-2.0.
This model DQN-Labs/dqnMath-v0.1-3B-HF was converted to MLX format from LakoMoor/Ministral-3-3B-Text-Only using mlx-lm version 0.29.1.
Downloads · 30 days
15
19% of all-time downloads
All-time downloads
80
Public
Parameters
3.4B
6.9 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors6.9 GB · 100%
From the Hugging Face model README
This model DQN-Labs/dqnMath-v0.1-3B-HF was converted to MLX format from LakoMoor/Ministral-3-3B-Text-Only using mlx-lm version 0.29.1.
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("DQN-Labs/dqnMath-v0.1-3B-HF")
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)