Downloads · 30 days
17
6% of all-time downloads
ModelCloud/Falcon3-10B-Instruct-gptqmodel-4bit-vortex-mlx-v1
Falcon3-10B-Instruct-gptqmodel-4bit-vortex-mlx-v1 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. The card lists the license as apache-2.0.
This model was quantized and exported to mlx using GPTQModel.
Downloads · 30 days
17
6% of all-time downloads
All-time downloads
263
Public
Parameters
1.9B
6.4 GB on disk
Likes
4
Public
Click a slice to open those files.
.safetensors6.4 GB · 100%
How the weights are stored.
U321.3B · 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/Falcon3-10B-Instruct-gptqmodel-4bit-vortex-mlx-v1"
mlx_model, tokenizer = load(mlx_path)
prompt = "The capital of France is"
messages = [{"role": "user", "content": prompt}]
prompt = tokenizer.apply_chat_template(
messages, add_generation_prompt=True
)
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/Falcon3-10B-Instruct-gptqmodel-4bit-vortex-v1"
mlx_path = f"./vortex/Falcon3-10B-Instruct-gptqmodel-4bit-vortex-v1-mlx"
# export to mlx model
GPTQModel.export(gptq_model_path, mlx_path, "mlx")