/ Модель

Характеристики

Параметры
120 млн
Лицензия
Apache 2.0
Архитектура
data2vec-vision · dense
Опубликована
14 апр 2022

data2vec-vision-base

Классификация изображенийИзображение → label3 профессии

Базовая модель компьютерного зрения data2vec на основе Transformer для классификации изображений и последующего дообучения.

11 020скачиваний за 30 дней5лайковвеса обновлены3 мая 2022

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

facebook/data2vec-vision-base — базовая модель компьютерного зрения от команды Facebook, представленная в работе data2vec. Это BEiT-подобный Transformer с 119,5 млн параметров, предварительно обученный без учителя на ImageNet-1k: по замаскированному представлению изображения модель учится предсказывать контекстные скрытые представления всего изображения. В исходном обучении использовались RGB-изображения разрешением 224×224.

Модель предназначена для классификации изображений и может служить отправной точкой для последующего дообучения под конкретные классы и наборы данных. Обучение на ImageNet-1k охватывает 1000 классов; для дообучения наилучшие результаты в карточке связываются с использованием большего разрешения. Доступны веса PyTorch и TensorFlow. Лицензия — Apache-2.0.

Сценарии применения

  • классификация изображений по категориям
  • дообучение классификатора на собственном наборе изображений
  • извлечение визуальных признаков для задач компьютерного зрения

Ограничения

Предварительно обучена на ImageNet-1k и предназначена для дальнейшего дообучения под конкретную задачу; карточка отмечает, что более высокое разрешение при дообучении может дать лучшие результаты.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Data2Vec-Vision (base-sized model, pre-trained only)

BEiT model pre-trained in a self-supervised fashion on ImageNet-1k (1,2 million images, 1000 classes) at resolution 224x224. It was introduced in the paper data2vec: A General Framework for Self-supervised Learning in Speech, Vision and Language by Alexei Baevski, Wei-Ning Hsu, Qiantong Xu, Arun Babu, Jiatao Gu, Michael Auli and first released in this repository.

Disclaimer: The team releasing Facebook team did not write a model card for this model so this model card has been written by the Hugging Face team.

Pre-Training method

model image

For more information, please take a look at the official paper.

Abstract

While the general idea of self-supervised learning is identical across modalities, the actual algorithms and objectives differ widely because they were developed with a single modality in mind. To get us closer to general self-supervised learning, we present data2vec, a framework that uses the same learning method for either speech, NLP or computer vision. The core idea is to predict latent representations of the full input data based on a masked view of the input in a selfdistillation setup using a standard Transformer architecture. Instead of predicting modality-specific targets such as words, visual tokens or units of human speech which are local in nature, data2vec predicts contextualized latent representations that contain information from the entire input. Experiments on the major benchmarks of speech recognition, image classification, and natural language understanding demonstrate a new state of the art or competitive performance to predominant approaches.

Intended uses & limitations

You can use the raw model for image classification. See the model hub to look for fine-tuned versions on a task that interests you.

Training data

The BEiT model was pretrained on ImageNet-1k, a dataset consisting of 1,2 million images and 1k classes.

Training procedure

Preprocessing

The exact details of preprocessing of images during training/validation can be found here.

Images are resized/rescaled to the same resolution (224x224) and normalized across the RGB channels with mean (0.5, 0.5, 0.5) and standard deviation (0.5, 0.5, 0.5).

Pretraining

For all pre-training related hyperparameters, we refer to the original paper and the original codebase

Evaluation results

For evaluation results on several image classification benchmarks, we refer to tables 1 of the original paper. Note that for fine-tuning, the best results are obtained with a higher resolution. Of course, increasing the model size will result in better performance.

BibTeX entry and citation info

@misc{https://doi.org/10.48550/arxiv.2202.03555,
  doi = {10.48550/ARXIV.2202.03555},
  url = {https://arxiv.org/abs/2202.03555},
  author = {Baevski, Alexei and Hsu, Wei-Ning and Xu, Qiantong and Babu, Arun and Gu, Jiatao and Auli, Michael},
  keywords = {Machine Learning (cs.LG), FOS: Computer and information sciences, FOS: Computer and information sciences},
  title = {data2vec: A General Framework for Self-supervised Learning in Speech, Vision and Language},
  publisher = {arXiv},
  year = {2022},
  copyright = {arXiv.org perpetual, non-exclusive license}
}

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · image-classification

Можно запустить

Подбираем GPU…

Класс архитектуры
Data2VecVisionModel
Ревизия весов
72a7bda

0 моделей