A 7 billion parameter Vision Transformer (ViT) trained with DINOv2 self-supervised learning on web-scale image data without language supervision. Introduced in "Scaling Language-Free Visual Representation Learning"...
Fuente del modelo
Extracto de la fuente
A 7 billion parameter Vision Transformer (ViT) trained with DINOv2 self-supervised learning on web-scale image data without language supervision. Introduced in "Scaling Language-Free Visual Representation Learning"...
Fuentes
1 fuenteVerificado 16 sept
Artefactos del modelo
6 artefactosExtractos de fuentes
2 extractosmodel-00003-of-00006.safetensors
safetensors · 4,50 GB · SHA-256 a34163729dc7…e293 · Hugging Face
model-00004-of-00006.safetensors
safetensors · 4,50 GB · SHA-256 16ef4820655a…2a82 · Hugging Face
Descargarmodel-00005-of-00006.safetensors
safetensors · 4,50 GB · SHA-256 352e03ac54ce…9085 · Hugging Face
Descargarmodel-00006-of-00006.safetensors
safetensors · 1,25 GB · SHA-256 4fcf583a19c6…9a9e · Hugging Face
Descargar--- library_name: transformers license: cc-by-nc-4.0 inference: false --- # Web-SSL DINO ViT-7B: 8B MetaCLIP data, 378 Resolution A 7 billion parameter Vision Transformer (ViT) trained with DINOv2 self-supervised learning on web-scale image data without language supervision. Introduced in ["Scaling Language-Free Visual Representation Learning"](https://arxiv.org/abs/2504.01017) (Fan et al., 2025). ## Model Details - **Architecture**: ViT (4096 width, 32 depth, 32 heads) - **Parameters**: 7B - **Resolution**: 378×378 pixels - **Training**: Self-supervised Web-DINO on 8B image samples from MetaCLIP web data ## Model Descriptions Web-SSL DINO 7B is a 7 billion parameter Vision Transformer model trained using self-supervised learning on 8 billion web images without language supervision. This model demonstrates that pure visual learning, when scaled appropriately, can match or exceed the performance of language-supervised models like CLIP across various vision tasks. It performs well on both traditional vision benchmarks and multimodal tasks including visual question answering and OCR & chart understanding. <img src="webssl_teaser.png" alt="WebSSL Model Overview" width="600"> ## Usage ```python from transformers import AutoImageProcessor, Dinov2Model import torch from PIL import Image processor = AutoImageProcessor.from_pretrained('facebook/webssl-dino7b-full8b-378') model = Dinov2Model.from_pretrained('facebook/webssl-dino7b-full8b-378') # Process an image image = Image.open('path/to/image.jpg') inputs = processor(images=image, return_tensors="pt") with torch.no_grad(): outputs = model(**inputs) cls_features = outputs.last_hidden_state[:, 0] # CLS token features patch_features = outputs.last_hidden_state[:, 1:] # patch-wise token features ``` ## Citation ```bibtex @article{fan2025scaling, title={Scaling Language-Free Visual Representation Learning}, author={David Fan and Shengbang Tong and Jiachen Zhu and Koustuv Sinha and Zhuang Liu and Xinlei Chen and Michael Rabbat and Nicolas Ballas and Yann LeCun and Amir Bar and Saining Xie}, year={2025}, eprint={2504.01017}, archivePrefix={arXiv}, primaryClass={cs.CV} } ```
Source context: 35 downloads · 0 likes · Pipeline image-feature-extraction · Library transformers · Repo facebook/webssl-dino7b-full8b-378