How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "mlx-community/paligemma2-3b-pt-896-4bit"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "mlx-community/paligemma2-3b-pt-896-4bit",
		"prompt": "Once upon a time,",
		"max_tokens": 512,
		"temperature": 0.5
	}'
Use Docker
docker model run hf.co/mlx-community/paligemma2-3b-pt-896-4bit
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