MLX Community · First MLX build 21 Nov 2024

Florence-2-base-ft

MLX TextVision mit

A 271M parameter vision and text model, with 5 MLX builds, from 3-bit to bf16.

Hugging Face
Parameters
271M
From Hugging Face
Quantisation
4-bit
Florence-2-base-ft-4bit
Memory needed
3 GB
Estimate, unified memory
Download
163 MB
Weights, estimated
Downloads
149
This build, last 30 days
Task
Vision and text
Text, Vision
MLX builds
5
On mlx-community
Devices
Mac
Apple silicon

Memory

Estimated from the size of the weights, plus a fifth for context and working memory and 2 GB for macOS and your apps. Long contexts need more.

Run it

Terminal · mlx-vlm
$ pip install -U mlx-vlm
$ python -m mlx_vlm.generate --model mlx-community/Florence-2-base-ft-4bit --image photo.jpg --prompt "Describe this image"

MLX builds

5 on mlx-community
Click a column to sort. Smallest size and most downloads are highlighted.
Florence-2-base-ft-3bit 3-bit 130 MB 3 GB 43
Florence-2-base-ft-4bit 4-bit 163 MB 3 GB 149
Florence-2-base-ft-6bit 6-bit 229 MB 3 GB 43
Florence-2-base-ft-8bit 8-bit 295 MB 3 GB 61
Florence-2-base-ft-bf16 bf16 542 MB 3 GB 113

Sizes are estimated from Hugging Face’s parameter counts and the quantisation. Downloads are for the last 30 days.