Multimodal Autoregressive Pre-training of Large Vision Encoders
Paper โข 2411.14402 โข Published โข 47
Run timm/aimv2_large_patch14_448.apple_pt 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:
Use HF Jobs to fine-tune https://huggingface.co/timm/aimv2_large_patch14_448.apple_pt. 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.
Use HF Jobs to run batch inference with https://huggingface.co/timm/aimv2_large_patch14_448.apple_pt 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.
How to use timm/aimv2_large_patch14_448.apple_pt with timm:
import timm
model = timm.create_model("hf-hub:timm/aimv2_large_patch14_448.apple_pt", pretrained=True)How to use timm/aimv2_large_patch14_448.apple_pt with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-feature-extraction", model="timm/aimv2_large_patch14_448.apple_pt") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoImageProcessor, AutoModel
processor = AutoImageProcessor.from_pretrained("timm/aimv2_large_patch14_448.apple_pt")
model = AutoModel.from_pretrained("timm/aimv2_large_patch14_448.apple_pt", device_map="auto")timm compatible AIM-v2 (https://huggingface.co/papers/2411.14402) image encoder weights from https://huggingface.co/apple/aimv2-large-patch14-448