Downloads · 30 days
16
5% of all-time downloads
ModelCloud/Llama-3.2-3B-Instruct-gptqmodel-4bit-vortex-mlx-v3
Llama-3.2-3B-Instruct-gptqmodel-4bit-vortex-mlx-v3 is a machine learning model from ModelCloud. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This model was quantized and exported to mlx using GPTQModel.
Downloads · 30 days
16
5% of all-time downloads
All-time downloads
298
Public
Parameters
603M
2 GB on disk
Likes
3
Public
Click a slice to open those files.
.safetensors2 GB · 99%
How the weights are stored.
U32402M · 67%
From the Hugging Face model README
This model was quantized and exported to mlx using GPTQModel.
# install mlx
pip install mlx_lm
from mlx_lm import load, generate
mlx_path = "ModelCloud/Llama-3.2-3B-Instruct-gptqmodel-4bit-vortex-mlx-v3"
mlx_model, tokenizer = load(mlx_path)
prompt = "The capital of France is"
)
text = generate(mlx_model, tokenizer, prompt=prompt, verbose=True)
# install gptqmodel with mlx
pip install gptqmodel[mlx] --no-build-isolation
from gptqmodel import GPTQModel
# load gptq quantized model
gptq_model_path = "ModelCloud/Llama-3.2-3B-Instruct-gptqmodel-4bit-vortex-v3"
mlx_path = f"./vortex/Llama-3.2-3B-Instruct-gptqmodel-4bit-vortex-mlx-v3"
# export to mlx model
GPTQModel.export(gptq_model_path, mlx_path, "mlx")