How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("image-text-to-text", model="mlx-community/paligemma2-3b-pt-896-4bit")
# Load model directly
from transformers import AutoProcessor, AutoModelForMultimodalLM

processor = AutoProcessor.from_pretrained("mlx-community/paligemma2-3b-pt-896-4bit")
model = AutoModelForMultimodalLM.from_pretrained("mlx-community/paligemma2-3b-pt-896-4bit", device_map="auto")
Quick Links

mlx-community/paligemma2-3b-pt-896-4bit

This model was converted to MLX format from google/paligemma2-3b-pt-896 using mlx-vlm version 0.1.4. Refer to the original model card for more details on the model.

Use with mlx

pip install -U mlx-vlm
python -m mlx_vlm.generate --model mlx-community/paligemma2-3b-pt-896-4bit --max-tokens 100 --temp 0.0
Downloads last month
57
Safetensors
Model size
3B params
Tensor type
U32
·
F16
·
MLX
Hardware compatibility
Log In to add your hardware

Quantized

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support