Image Feature Extraction
Transformers
JAX
Safetensors
MLX
PyTorch
aimv2_vision_model
vision
custom_code
Eval Results (legacy)
Run this model with HF Jobs
Run apple/aimv2-1B-patch14-336 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/apple/aimv2-1B-patch14-336. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/apple/aimv2-1B-patch14-336 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use apple/aimv2-1B-patch14-336 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use apple/aimv2-1B-patch14-336 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="apple/aimv2-1B-patch14-336", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModel processor = AutoImageProcessor.from_pretrained("apple/aimv2-1B-patch14-336", trust_remote_code=True) model = AutoModel.from_pretrained("apple/aimv2-1B-patch14-336", trust_remote_code=True, device_map="auto") - MLX
How to use apple/aimv2-1B-patch14-336 with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download apple/aimv2-1B-patch14-336 --local-dir aimv2-1B-patch14-336
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
File size: 131 Bytes
2ec7e46 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:524b6eb5049fb4bac6303ecee386d0e885fa69a96756557d843084ba4caae08f
size 336489
|