Downloads · 30 days
10
8% of all-time downloads
digitranslab/Megamind-v2-VL-high-4bit-mlx
Megamind-v2-VL-high-4bit-mlx is a machine learning model from digitranslab. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for mlx. The card lists the license as apache-2.0.
This is a 4-bit quantized MLX conversion of digitranslab/Megamind-v2-VL-high.
Downloads · 30 days
10
8% of all-time downloads
All-time downloads
131
Public
Repo size
5.8 GB
Likes
0
Public
Click a slice to open those files.
.safetensors5.8 GB · 100%
From the Hugging Face model README
This is a 4-bit quantized MLX conversion of digitranslab/Megamind-v2-VL-high.
Megamind-v2-VL is an 8-billion parameter vision-language model designed for long-horizon, multi-step tasks in real software environments. This "high" variant is optimized for deeper reasoning and complex task execution, providing the highest quality outputs for agentic automation and UI control tasks.
Key Features:
This model was converted to MLX format with 4-bit quantization using MLX-VLM by Prince Canuma.
Conversion command:
mlx_vlm.convert --hf-path digitranslab/Megamind-v2-VL-high --quantize --q-bits 4 --mlx-path Megamind-v2-VL-high-4bit-mlx
pip install mlx-vlm
from 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 = "mlx-community/Megamind-v2-VL-high-4bit-mlx"
model, processor = load(model_path)
config = load_config(model_path)
# Prepare input
image = ["path/to/image.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)
mlx_vlm.generate --model mlx-community/Megamind-v2-VL-high-4bit-mlx --max-tokens 100 --prompt "Describe this image" --image path/to/image.jpg
This model is designed for:
This model is released under the Apache 2.0 license.
For more information, please refer to the original model: digitranslab/Megamind-v2-VL-high