Image-Text-to-Text
Safetensors
MLX
openmed
cohere_compass
openmedkit
apple-silicon
ios
on-device
vision
multimodal
clinical
medical
privacy
native-resolution
conversational
4-bit precision
Instructions to use OpenMed/North-Micro-Vision-Instruct-4bit-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use OpenMed/North-Micro-Vision-Instruct-4bit-mlx with MLX:
# Make sure mlx-vlm is installed # pip install --upgrade mlx-vlm from mlx_vlm import load, generate from mlx_vlm.prompt_utils import apply_chat_template from mlx_vlm.utils import load_config # Load the model model, processor = load("OpenMed/North-Micro-Vision-Instruct-4bit-mlx") config = load_config("OpenMed/North-Micro-Vision-Instruct-4bit-mlx") # Prepare input image = ["http://images.cocodataset.org/val2017/000000039769.jpg"] prompt = "Describe this image." # Apply chat template formatted_prompt = apply_chat_template( processor, config, prompt, num_images=1 ) # Generate output output = generate(model, processor, formatted_prompt, image) print(output) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Commit History
28 days ago
-
Add the Apache-2.0 LICENSE file
Verified signatureThe upstream model (CohereLabs/North-Micro-Vision-Instruct) is Apache-2.0; section 4(a) requires a copy of the licence with every redistribution.b23e18f
-
Sanitize OpenMed validation provenance
Verified signature299484b -
Use OpenMed runtime guidance
Verified signaturec931c19
-
Document native OpenMed runtimes
Verified signaturefc55c72
-
Add files using upload-large-folder tool
Verified signature77bd903 -
initial commit
Verified signature6d7dc8d