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
File size: 131 Bytes
1d3c5e1 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:9b2f9ec03623a59f8e2342b6a4c6b5a9d5efbc7a3969ac42d89da4056c2f2dc3
size 245842
|