Image Feature Extraction
Transformers
JAX
Safetensors
MLX
PyTorch
aimv2_vision_model
vision
custom_code
Eval Results (legacy)
Instructions to use apple/aimv2-3B-patch14-336 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use apple/aimv2-3B-patch14-336 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="apple/aimv2-3B-patch14-336", trust_remote_code=True)# Load model directly from transformers import AutoImageProcessor, AutoModel processor = AutoImageProcessor.from_pretrained("apple/aimv2-3B-patch14-336", trust_remote_code=True) model = AutoModel.from_pretrained("apple/aimv2-3B-patch14-336", trust_remote_code=True) - MLX
How to use apple/aimv2-3B-patch14-336 with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir aimv2-3B-patch14-336 apple/aimv2-3B-patch14-336
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- LM Studio
Update README
Browse files
README.md
CHANGED
|
@@ -168,7 +168,7 @@ tags:
|
|
| 168 |
- pytorch
|
| 169 |
---
|
| 170 |
# Introduction
|
| 171 |
-
[[`AIMv2 Paper`](
|
| 172 |
|
| 173 |
We introduce the AIMv2 family of vision models pre-trained with a multimodal autoregressive objective.
|
| 174 |
AIMv2 pre-training is simple and straightforward to train and scale effectively. Some AIMv2 highlights include:
|
|
@@ -226,12 +226,14 @@ outputs = model(**inputs)
|
|
| 226 |
## Citation
|
| 227 |
If you find our work useful, please consider citing us as:
|
| 228 |
```bibtex
|
| 229 |
-
@misc{
|
| 230 |
-
|
| 231 |
-
|
| 232 |
-
|
| 233 |
-
|
| 234 |
-
|
|
|
|
|
|
|
| 235 |
}
|
| 236 |
```
|
| 237 |
|
|
|
|
| 168 |
- pytorch
|
| 169 |
---
|
| 170 |
# Introduction
|
| 171 |
+
[[`AIMv2 Paper`](https://arxiv.org/abs/2411.14402)] [[`BibTeX`](#citation)]
|
| 172 |
|
| 173 |
We introduce the AIMv2 family of vision models pre-trained with a multimodal autoregressive objective.
|
| 174 |
AIMv2 pre-training is simple and straightforward to train and scale effectively. Some AIMv2 highlights include:
|
|
|
|
| 226 |
## Citation
|
| 227 |
If you find our work useful, please consider citing us as:
|
| 228 |
```bibtex
|
| 229 |
+
@misc{fini2024multimodalautoregressivepretraininglarge,
|
| 230 |
+
author = {Fini, Enrico and Shukor, Mustafa and Li, Xiujun and Dufter, Philipp and Klein, Michal and Haldimann, David and Aitharaju, Sai and da Costa, Victor Guilherme Turrisi and Béthune, Louis and Gan, Zhe and Toshev, Alexander T and Eichner, Marcin and Nabi, Moin and Yang, Yinfei and Susskind, Joshua M. and El-Nouby, Alaaeldin},
|
| 231 |
+
url = {https://arxiv.org/abs/2411.14402},
|
| 232 |
+
eprint = {2411.14402},
|
| 233 |
+
eprintclass = {cs.CV},
|
| 234 |
+
eprinttype = {arXiv},
|
| 235 |
+
title = {Multimodal Autoregressive Pre-training of Large Vision Encoders},
|
| 236 |
+
year = {2024},
|
| 237 |
}
|
| 238 |
```
|
| 239 |
|