YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co/docs/hub/model-cards#model-card-metadata)

This model was quantized and exported to mlx using GPTQModel.

How to run this model

# install mlx
pip install mlx_lm
from mlx_lm import load, generate

mlx_path = "ModelCloud/Llama-3.2-1B-Instruct-gptqmodel-4bit-vortex-mlx-v2.5"
mlx_model, tokenizer = load(mlx_path)
prompt = "The capital of France is"

)

text = generate(mlx_model, tokenizer, prompt=prompt, verbose=True)

Export gptq to mlx

# 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-1B-Instruct-gptqmodel-4bit-vortex-v2.5"
mlx_path = f"./vortex/Llama-3.2-1B-Instruct-gptqmodel-4bit-vortex-mlx-v2.5"

# export to mlx model
GPTQModel.export(gptq_model_path, mlx_path, "mlx")
Downloads last month
3
Safetensors
Model size
232M params
Tensor type
FP16
·
U32
·
Inference API
Unable to determine this model's library. Check the docs .

Collection including ModelCloud/Llama-3.2-1B-Instruct-gptqmodel-4bit-vortex-mlx-v2.5