Downloads · 30 days
648
75% of all-time downloads
GreenBitAI/DeepSeek-R1-Distill-Llama-8B-layer-mix-bpw-4.0-mlx
DeepSeek-R1-Distill-Llama-8B-layer-mix-bpw-4.0-mlx is a machine learning model from GreenBitAI. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for mlx. The card lists the license as apache-2.0.
This quantized low-bit model GreenBitAI/DeepSeek-R1-Distill-Llama-8B-layer-mix-bpw-4.0-mlx was converted to MLX format from GreenBitAI/DeepSeek-R1-Distill-Llama-8B-layer-mix-bpw-4.0 using gbx-lm version 0.3.7.
Downloads · 30 days
648
75% of all-time downloads
All-time downloads
864
Public
Parameters
2B
5.8 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors5.8 GB · 100%
How the weights are stored.
F161.2B · 57%
From the Hugging Face model README
This quantized low-bit model GreenBitAI/DeepSeek-R1-Distill-Llama-8B-layer-mix-bpw-4.0-mlx was converted to MLX format from GreenBitAI/DeepSeek-R1-Distill-Llama-8B-layer-mix-bpw-4.0 using gbx-lm version 0.3.7.
Refer to the original model card for more details on the model.
pip install gbx-lm
from gbx_lm import load, generate
model, tokenizer = load("GreenBitAI/DeepSeek-R1-Distill-Llama-8B-layer-mix-bpw-4.0-mlx")
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)