Archive of AI

Source Snapshot / 2025-08-14-meta-dinov3-vision-foundation-3

facebook/dinov3-vit7b16-pretrain-lvd1689m

Linked event: 2025-08-14 · Meta AI (FAIR) Releases 7-Billion-Parameter Self-Supervised Vision Model DINOv3, Expanding Remote Sensing and Ecological Research

Publisher
Hugging Face
Archived
2026-11-23
Capture Method
Direct page capture
HTTP / SHA-256
200 / c2b3bd086c18dc05
Original URL
Open source ↗
Wayback Backup
Not archived
This page preserves a plain-text static snapshot against link rot. When citing figures, tables, or full legal terms, verify against the original URL and Wayback Machine archive.

[来源关键摘录] DINOv3 7B Vision Transformer model weights distributed via Hugging Face under the custom DINOv3 License.

[正文前段节选] Hugging Face

Search models, datasets, users... ⌘K

dinov3-vit7b16-pretrain-lvd1689m

AI at Meta 16.5k

Image Feature Extraction

Transformers

arxiv: 2508.10104

License: dinov3-license

Model card Files Files and versions

Copy to bucket

Use this model

You need to agree to share your Hugging Face information to access this model

The information you provide will be collected, stored, processed and shared in accordance with the Meta Privacy Policy.

Log in or Sign Up to review the conditions and access this model content.

Model Card for DINOv3

DINOv3 is a family of versatile vision foundation models that outperforms the specialized state of the art across a broad range of settings, without fine-tuning. DINOv3 produces high-quality dense features that achieve outstanding performance on various vision tasks, significantly surpassing previous self- and weakly-supervised foundation models.

Model Details

These are Vision Transformer and ConvNeXt models trained following the method described in the DINOv3 paper. 12 models are provided:

10 models pretrained on web data (LVD-1689M dataset)

1 ViT-7B trained from scratch,

5 ViT-S/S+/B/L/H+ models distilled from the ViT-7B,

4 ConvNeXt-{T/S/B/L} models distilled from the ViT-7B,

2 models pretrained on satellite data (SAT-493M dataset)

1 ViT-7B trained from scratch

1 ViT-L distilled from the ViT-7B

Each Transformer-based model takes an image as input and returns a class token, patch tokens (and register tokens). These models follow a ViT architecture, with a patch size of 16. For a 224x224 image, this results in 1 class token + 4 register tokens + 196 patch tokens = 201 tokens (for DINOv2 with registers this resulted in 1 + 4 + 256 = 261 tokens).

The models can accept larger images provided the image shapes are multiples of the patch size (16). If this condition is not verified, the model will crop to the closest smaller multiple of the patch size.

Model Description

Developed by: Meta AI

Model type: Vision Transformer, ConvNeXt

License: DINOv3 License

Model Sources

Repository: https://github.com/facebookresearch/dinov3

Paper: https://arxiv.org/abs/2508.10104

The models are vision backbones providing multi-purpose features for downstream tasks.

The models can be used without fine-tuning, with downstream classifiers as simple as linear layers, to obtain competitive results:

on image classification, using k-NN classifiers on the class token

on image classification, with logistic regression classifiers applied on the class token

on image classification, with a linear layer applied on the class token and the average of the patch tokens

on image retrieval using nearest neighbors

on geometric and semantic 3D keypoint correspondances

on depth estimation, semantic segmentation, using linear layers

on unsupervised object discovery

on video segmentation tracking

on video classification, using a small 4-layer attentive probe

Downstream Use

While fine-tuning the models can yield some gains, it is recommended to keep this option as a last resort: the frozen features are expected to provide good performance out-of-the-box.

Bias, Risks, and Limitations

Compared to DINOv2 and SEERv2, DINOv3 delivers somewhat consistent performance across income categories on geographical fairness and diversity, although with a notable performance drop in the low-income bucket compared to the highest-income bucket.

DINOv3 also achieves relatively good scores across different regions, improving over its predecessor DINOv2. However, a relative difference is still observed between Europe and Africa.

Recommendations

Fine-tuning is expected to increase the biases in the features produced by the model as they will be tuned to the fine-tuning labels.

How to Get Started with the Model

The example below demonstrates how to obtain an image embedding with [Pipeline] or the [AutoModel] class.

from transformers import pipeline

from transformers.image_utils import load_image

url = "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/pipeline-cat-chonk.jpeg"

image = load_image(url)

feature_extractor = pipeline(

model="facebook/dinov3-vit7b16-pretrain-lvd1689m",

task="image-feature-extraction",

features = feature_extractor(image)

import torch

from transformers import AutoImageProcessor, AutoModel

url = "http://images.cocodataset.org/val2017/000000039769.jpg"

pretrained_model_name = "facebook/dinov3-vit7b16-pretrain-lvd1689m"

processor = AutoImageProcessor.from_pretrained(pretrained_model_name)

model = AutoModel.from_pretrained(

pretrained_model_name,

device_map="auto",

inputs = processor(images=image, return_tensors="pt").to(model.device)

with torch.inference_mode():

outputs = model(**inputs)

pooled_output = outputs.pooler_output

print("Pooled output shape:", pooled_output.shape)

Training Details

Training Data

Web dataset (LVD-1689M): a curated dataset of 1,689 millions of images extracted from a large data

pool of 17 billions web images collected from public posts on Instagram

Satellite dataset (SAT-493M): a dataset of 493 millions of 512x512 images sampled randomly from Maxar RGB ortho-rectified imagery at 0.6 meter resolution

Training Procedure

Training objective:

DINO self-distillation loss with multi-crop

iBOT masked-image modeling loss

KoLeo regularization on [CLS] tokens

Gram anchoring

Training regime: PyTorch FSDP2 (with bf16 and fp8 matrix multiplications)

Distillation:

Distillation follows the standard DINOv3 pretraining procedure, except the teacher is a frozen pretrained ViT-7B.

The reader is referred to the associated paper for details on the evaluation protocols

Results for ViT backbones pretrained (or distilled) on web (LVD-1689M)

Global Tasks

DINOv3 ViT-S/16

DINOv3 ViT-S+/16

DINOv3 ViT-B/16

DINOv3 ViT-L/16

DINOv3 ViT-H+/16

DINOv3 ViT-7B/16

Results for ConvNeXt backbones distilled on web (LVD-1689M)

DINOv3 ConvNeXt Tiny

DINOv3 ConvNeXt Small

DINOv3 ConvNeXt Base

DINOv3 ConvNeXt Large

Results for ViT backbones pretrained (or distilled) on satellite (SAT-493M)

(GEO-Bench) Classification

m-brick-kiln

(GEO-Bench) Segmentation

m-chesapeake

m-pv4ger-seg

Environmental Impact

Hardware Type: Nvidia H100

Hours used: 61,440 hours for ViT-7B model training

Cloud Provider: Private infrastructure

Compute Region: USA

Carbon Emitted: 18t CO2eq

Technical Specifications

Model Architecture and Objective

Vision Transformer models:

ViT-S (21M parameters): patch size 16, embedding dimension 384, 4 register tokens, 6 heads, MLP FFN, RoPE

ViT-S+ (29M parameters): patch size 16, embedding dimension 384, 4 register tokens, 6 heads, SwiGLU FFN, RoPE

ViT-B (86M parameters): patch size 16, embedding dimension 768, 4 register tokens, 12 heads, MLP FFN, RoPE

ViT-L (300M parameters): patch size 16, embedding dimension 1024, 4 register tokens, 16 heads, MLP FFN, RoPE

ViT-H+ (840M parameters): patch size 16, embedding dimension 1280, 4 register tokens, 20 heads, SwiGLU FFN, RoPE

ViT-7B (6716M parameters): patch size 16, embedding dimension 4096, 4 register tokens, 32 heads, SwiGLU FFN, RoPE

ConvNeXt models:

ConvNeXt Tiny (29M parameters)

ConvNeXt Small (50M parameters)

ConvNeXt Base (89M parameters)

ConvNeXt Large (198M parameters)

Compute Infrastructure

Nvidia H100 GPUs

More Information

See the blog post and the associated website.

@misc{simeoni2025dinov3,

title={{DINOv3}},

author={Sim{\'e}oni, Oriane and Vo, Huy V. and Seitzer, Maximilian and Baldassarre, Federico and Oquab, Maxime and Jose, Cijo and Khalidov, Vasil and Szafraniec, Marc and Yi, Seungeun and Ramamonjisoa, Micha{\"e}l and Massa, Francisco and Haziza, Daniel and Wehrstedt, Luca and Wang, Jianyuan and Darcet, Timoth{\'e}e and Moutakanni, Th{\'e}o and Sentana, Leonel and Roberts, Claire and Vedaldi, Andrea and Tolan, Jamie and Brandt, John and Couprie, Camille and Mairal, Julien and J{\'e}gou, Herv{\'e} and Labatut, Patrick and Bojanowski, Piotr},

year={2025},

[...内容已截断,完整版请查看原文或 Wayback 快照]