Video-Text-to-Text
Transformers
Safetensors
MLX
English
molmo2
image-text-to-text
multimodal
olmo
molmo
custom_code
8-bit precision
Instructions to use mlx-community/Molmo2-8B-8bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mlx-community/Molmo2-8B-8bit with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("mlx-community/Molmo2-8B-8bit", trust_remote_code=True) model = AutoModelForMultimodalLM.from_pretrained("mlx-community/Molmo2-8B-8bit", trust_remote_code=True, device_map="auto") - MLX
How to use mlx-community/Molmo2-8B-8bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download mlx-community/Molmo2-8B-8bit --local-dir Molmo2-8B-8bit
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Download preprocessor_config.json from mlx-community/Molmo2-8B-8bit: direct link, hf CLI and curl.
- Browser
- Download file 555 Bytes
-
https://huggingface.co/mlx-community/Molmo2-8B-8bit/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://mlx-community/Molmo2-8B-8bit/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/mlx-community/Molmo2-8B-8bit/resolve/main/preprocessor_config.json
555 Bytes
| { | |
| "auto_map": { | |
| "AutoImageProcessor": "image_processing_molmo2.Molmo2ImageProcessor", | |
| "AutoProcessor": "processing_molmo2.Molmo2Processor" | |
| }, | |
| "do_convert_rgb": true, | |
| "image_mean": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "image_processor_type": "Molmo2ImageProcessor", | |
| "image_std": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "max_crops": 8, | |
| "overlap_margins": [ | |
| 4, | |
| 4 | |
| ], | |
| "patch_size": 14, | |
| "pooling_size": [ | |
| 2, | |
| 2 | |
| ], | |
| "processor_class": "Molmo2Processor", | |
| "resample": 2, | |
| "size": { | |
| "height": 378, | |
| "width": 378 | |
| } | |
| } | |