MLX Community · First MLX build 21 Nov 2024
Florence-2-large-ft
MLX
TextVision mit
A 823M parameter vision and text model, with 4 MLX builds, from 4-bit to bf16.
- Parameters
- 823M From Hugging Face
- Quantisation
- bf16 Florence-2-large-ft-bf16
- Memory needed
- 4 GB Estimate, unified memory
- Download
- 1.6 GB Weights, estimated
- Downloads
- 111 This build, last 30 days
- Task
- Vision and text Text, Vision
- MLX builds
- 4 On mlx-community
- Devices
- Mac Apple silicon
Memory
Will it fit?Needs about 4 GB at bf16
8 GB
16 GB
24 GB
32 GB
64 GB
128 GB
Fits with headroomTight, close other appsWon’t fit
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-large-ft-bf16 --image photo.jpg --prompt "Describe this image"
MLX builds
4 on mlx-community| Florence-2-large-ft-4bit | 4-bit | 504 MB | 3 GB | 68 |
|---|---|---|---|---|
| Florence-2-large-ft-6bit | 6-bit | 702 MB | 3 GB | 45 |
| Florence-2-large-ft-8bit | 8-bit | 901 MB | 4 GB | 84 |
| Florence-2-large-ft-bf16 | bf16 | 1.6 GB | 4 GB | 111 |
Sizes are estimated from Hugging Face’s parameter counts and the quantisation. Downloads are for the last 30 days.