Downloads · 30 days
55
9% of all-time downloads
mlx-community/Llama-2-7b-chat-hf-function-calling-v2-MLX
Llama-2-7b-chat-hf-function-calling-v2-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.
This model was converted to MLX format from Trelis/Llama-2-7b-chat-hf-function-calling-v2. Refer to the original model card for more details on the model.
Downloads · 30 days
55
9% of all-time downloads
All-time downloads
598
Public
Parameters
6.7B
13.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors13.5 GB · 100%
From the Hugging Face model README
This model was converted to MLX format from Trelis/Llama-2-7b-chat-hf-function-calling-v2.
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/Llama-2-7b-chat-hf-function-calling-v2-MLX")
response = generate(model, tokenizer, prompt="hello", verbose=True)