LFM3-Omni-2B vision encoder and projector
Community extraction of model.vision_tower.* and model.multi_modal_projector.* from LiquidAI/LFM3-Omni-2B, pinned to revision 21d75123f86c1f7ffb4bef1ea202710c4e7ebe67. Tensor names, dtypes, shapes and values are preserved. The language model, audio components and output generation are not included.
The tower has the same tensor names and shapes as LFM3-VL-2B, but sampled corresponding tensor bytes differ: use the weights associated with the intended source model. See tensor_mapping.json, extraction.json and validation.json for provenance and the limits of the CPU smoke test.
Loading
Install PyTorch, Transformers 5.21.1, accelerate, safetensors, Pillow and NumPy. Use component.load_model(root) and the included upstream Lfm3VlImageProcessor configured from processor_config.json. The model accepts patchified pixel_values and image_grid_thw, and returns projected visual embeddings. Consult validation.json for the test input and output shapes.
License
Distributed under the original LFM Open License 1.0, including its commercial-use conditions. Source code copyright and licensing notices are retained in the bundled files.