Downloads · 30 days
18
3% of all-time downloads
mweinbach/LFM2.5-VL-1.6B-CoreML
LFM2.5-VL-1.6B-CoreML is a image-text-to-text model from mweinbach. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for coreml. The card lists the license as other.
CoreML ML Program export of LFM2.5-VL-1.6B for Apple Silicon with a fixed 4096-token context window, including the text decoder plus split multimodal vision assets.
Downloads · 30 days
18
3% of all-time downloads
All-time downloads
671
Public
Repo size
3.5 GB
Likes
2
Public
Click a slice to open those files.
.bin5.5 GB · 100%
From the Hugging Face model README
CoreML ML Program export of LFM2.5-VL-1.6B for Apple Silicon with a fixed 4096-token context window, including the text decoder plus split multimodal vision assets.
Swift inference package and CLI: https://github.com/mweinbach/LFM2.5-VL-1.6B-ANE-Native
CoreMLModels/Embeddings.mlpackageCoreMLModels/LMHead.mlpackageCoreMLModels/DecoderChunk{0-3}Prefill.mlpackageCoreMLModels/DecoderChunk{0-3}Decode.mlpackageCoreMLModels/VisionPatchEmbedding.mlpackageCoreMLModels/VisionEncoder.mlpackageCoreMLModels/VisionProjector.mlpackageCoreMLModels/VisionPositionEmbeddings.float16.binCoreMLModels/meta.jsontokenizer.jsontokenizer_config.jsonconfig.jsonprocessor_config.jsongeneration_config.jsonchat_template.jinjaClone or download this repo, then point the Swift CLI at the downloaded folder.
Text-only example:
swift run ANEInferenceCLI \
--bundle-root /path/to/LFM2.5-VL-1.6B-CoreML \
--prompt "Summarize the benefits of on-device inference" \
--max-new-tokens 64
Multimodal example:
swift run ANEInferenceCLI \
--bundle-root /path/to/LFM2.5-VL-1.6B-CoreML \
--image /path/to/image.png \
--prompt "Describe the image briefly." \
--max-new-tokens 64
The matching Swift package is here: https://github.com/mweinbach/LFM2.5-VL-1.6B-ANE-Native