aimeri/spoomplesmaxx-gemma4-31B-v1.1-mlx-vlm-4Bit
024
aimeri/spoomplesmaxx-gemma4-31B-v1.1-mlx-vlm-4Bit
The Model aimeri/spoomplesmaxx-gemma4-31B-v1.1-mlx-vlm-4Bit was converted to MLX format from aimeri/spoomplesmaxx-gemma4-31B-v1.1 using mlx-vlm version 0.5.0.
Use with mlx-vlm
pip install mlx-vlmfrom mlx_vlm import load, generate
from mlx_vlm.prompt_utils import apply_chat_template
from mlx_vlm.utils import load_config
# Load the model
model_path = "aimeri/spoomplesmaxx-gemma4-31B-v1.1-mlx-vlm-4Bit"
model, processor = load(model_path)
config = load_config(model_path)
# Prepare input
image = ["http://images.cocodataset.org/val2017/000000039769.jpg"]
prompt = "Describe this image."
# Apply chat template
formatted_prompt = apply_chat_template(
processor, config, prompt, num_images=len(image)
)
# Generate output
output = generate(model, processor, formatted_prompt, image, verbose=False)
print(output)