jina-vlm-mlx-4bit
96
1
license:cc-by-nc-4.0
by
jinaai
Image Model
OTHER
4B params
New
96 downloads
Early-stage
Edge AI:
Mobile
Laptop
Server
9GB+ RAM
Mobile
Laptop
Server
Quick Summary
AI model with specialized capabilities.
Device Compatibility
Mobile
4-6GB RAM
Laptop
16GB RAM
Server
GPU
Minimum Recommended
4GB+ RAM
Code Examples
Installationbash
pip install mlx-vlmInstallationpython
from mlx_vlm import load, generate
from mlx_vlm.prompt_utils import apply_chat_template
from mlx_vlm.utils import load_config
# Load model
model, processor = load("jinaai/jina-vlm-mlx-4bit")
config = load_config("jinaai/jina-vlm-mlx-4bit")
# Prepare input
image = ["photo.jpg"]
prompt = "Describe this image."
# Apply chat template
formatted_prompt = apply_chat_template(
processor, config, prompt, num_images=1
)
# Generate
output = generate(model, processor, formatted_prompt, image, max_tokens=200)
print(output.text)Deploy This Model
Production-ready deployment in minutes
Together.ai
Instant API access to this model
Production-ready inference API. Start free, scale to millions.
Try Free APIReplicate
One-click model deployment
Run models in the cloud with simple API. No DevOps required.
Deploy NowDisclosure: We may earn a commission from these partners. This helps keep LLMYourWay free.