Downloads · 30 days
126
6% of all-time downloads
mlx-community/CodeLlama-70b-hf-4bit-MLX
CodeLlama-70b-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
126
6% of all-time downloads
All-time downloads
2K
Public
Repo size
39.2 GB
Likes
12
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-hf.
Refer to the original model card for more details on the model.
This can be used as base for additional fine-tuning experiments.
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("mlx-community/CodeLlama-70b-hf-4bit-MLX")
response = generate(model, tokenizer, prompt="hello", verbose=True)