Image-Text-to-Text
MLX
Core ML
Safetensors
mobile-o
multimodal
unified-model
ios
on-device
mobile
edge-ai
Instructions to use Amshaker/Mobile-O-0.5B-iOS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use Amshaker/Mobile-O-0.5B-iOS 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("Amshaker/Mobile-O-0.5B-iOS") config = load_config("Amshaker/Mobile-O-0.5B-iOS") # 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
| { | |
| "fileFormatVersion": "1.0.0", | |
| "itemInfoEntries": { | |
| "6322E72D-C999-499F-8764-3C938C0ABC86": { | |
| "author": "com.apple.CoreML", | |
| "description": "CoreML Model Weights", | |
| "name": "weights", | |
| "path": "com.apple.CoreML/weights" | |
| }, | |
| "92F6D345-317A-4323-A2C3-0CAD5B053229": { | |
| "author": "com.apple.CoreML", | |
| "description": "CoreML Model Specification", | |
| "name": "model.mlmodel", | |
| "path": "com.apple.CoreML/model.mlmodel" | |
| } | |
| }, | |
| "rootModelIdentifier": "92F6D345-317A-4323-A2C3-0CAD5B053229" | |
| } | |