Downloads · 30 days
82
9% of all-time downloads
mlx-community/CodelLama7B-inst-dpo-7k-mlx
CodelLama7B-inst-dpo-7k-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.
This model is a finetuned MLX version from mlx-community/CodeLlama-7b-Instruct-hf-4bit-MLX. Refer to the original model card for more details on the model.
Downloads · 30 days
82
9% of all-time downloads
All-time downloads
868
Public
Parameters
6.7B
4.2 GB on disk
Likes
4
Public
Click a slice to open those files.
.safetensors4.2 GB · 100%
How the weights are stored.
U326.5B · 96%
From the Hugging Face model README
This model is a finetuned MLX version from mlx-community/CodeLlama-7b-Instruct-hf-4bit-MLX.
Refer to the original model card for more details on the model.
Using argilla 7k DPO dataset
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("mlx-community/CodelLama7B-inst-dpo-7k-mlx")
response = generate(model, tokenizer, prompt="hello", verbose=True)