Image Feature Extraction
Transformers
JAX
Safetensors
MLX
PyTorch
aimv2_vision_model
vision
custom_code
Eval Results (legacy)
Instructions to use apple/aimv2-large-patch14-224 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use apple/aimv2-large-patch14-224 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="apple/aimv2-large-patch14-224", trust_remote_code=True)# Load model directly from transformers import AutoImageProcessor, AutoModel processor = AutoImageProcessor.from_pretrained("apple/aimv2-large-patch14-224", trust_remote_code=True) model = AutoModel.from_pretrained("apple/aimv2-large-patch14-224", trust_remote_code=True) - MLX
How to use apple/aimv2-large-patch14-224 with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir aimv2-large-patch14-224 apple/aimv2-large-patch14-224
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- LM Studio
Add link to paper
#1
by nielsr HF Staff - opened
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 |
+
title={Multimodal Autoregressive Pre-training of Large Vision Encoders},
|
| 231 |
+
author={Enrico Fini and Mustafa Shukor and Xiujun Li and Philipp Dufter and Michal Klein and David Haldimann and Sai Aitharaju and Victor Guilherme Turrisi da Costa and Louis Béthune and Zhe Gan and Alexander T Toshev and Marcin Eichner and Moin Nabi and Yinfei Yang and Joshua M. Susskind and Alaaeldin El-Nouby},
|
| 232 |
+
year={2024},
|
| 233 |
+
eprint={2411.14402},
|
| 234 |
+
archivePrefix={arXiv},
|
| 235 |
+
primaryClass={cs.CV},
|
| 236 |
+
url={https://arxiv.org/abs/2411.14402},
|
| 237 |
}
|
| 238 |
```
|
| 239 |
|