Downloads · 30 days
291
4% of all-time downloads
mlx-community/CodeLlama-70b-Instruct-hf-4bit-MLX
CodeLlama-70b-Instruct-hf-4bit-MLX is a text generation model from mlx-community. Use it when you need the model to write or continue text. It is set up for mlx. The card lists the license as llama2.
Downloads · 30 days
291
4% of all-time downloads
All-time downloads
7.8K
Public
Repo size
39.2 GB
Likes
25
Public
Click a slice to open those files.
.safetensors39.2 GB · 100%
From the Hugging Face model README

This model was converted to MLX format from codellama/CodeLlama-70b-Instruct-hf.
Refer to the original model card for more details on the model.
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("mlx-community/CodeLlama-70b-Instruct-hf-4bit-MLX")
response = generate(model, tokenizer, prompt="<step>Source: user Fibonacci series in Python<step> Source: assistant Destination: user", verbose=True)