Downloads · 30 days
69
6% of all-time downloads
mlx-community/CodeLlama-34b-Instruct-hf-4bit
CodeLlama-34b-Instruct-hf-4bit 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.
This model was converted to MLX format from codellama/CodeLlama-34b-Instruct-hf. Refer to the original model card for more details on the model.
Downloads · 30 days
69
6% of all-time downloads
All-time downloads
1.2K
Public
Repo size
22.6 GB
Likes
2
Public
Click a slice to open those files.
.safetensors22.6 GB · 100%
From the Hugging Face model README
This model was converted to MLX format from codellama/CodeLlama-34b-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-34b-Instruct-hf-4bit")
response = generate(model, tokenizer, prompt="hello", verbose=True)