/ Модель

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

Параметры
403 млн
Лицензия
Apache 2.0
Архитектура
dinov2 · dense
Базовая модель
dinov2-large
Библиотека
transformers
Опубликована
30 окт 2026

dinov2-large-galaxy10-decals-full-v2

Классификация изображенийИзображение → label3 профессии
29скачиваний за 30 дней0лайковвеса обновлены30 окт 2026

Описание модели

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

Полностью дообученная DINOv2 Large классифицирует изображения галактик по 10 классам морфологии из Galaxy10 DECaLS.

matthieulel/dinov2-large-galaxy10-decals-full-v2 — модель классификации изображений галактик, созданная полным дообучением facebook/dinov2-large автором Matthieu Lel. Она предназначена для распознавания морфологии галактик по снимкам из набора Galaxy10 DECaLS и распределяет изображения по 10 классам. Модель построена на архитектуре DINOv2, содержит 402,7 млн параметров и использует классификационную голову с одним линейным слоем.

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

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

Ограничения

Модель обучена на Galaxy10 DECaLS и рассчитана на 10 классов этого набора, поэтому перенос на другие данные или схемы классификации может потребовать проверки и дообучения. В README для этого чекпойнта указана точность 85,96% и weighted F1 85,56% на отложенной тестовой выборке из 1 774 изображений.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

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

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

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

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

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

Открыть на Hugging Face

dinov2-large-galaxy10-decals-full-v2

facebook/dinov2-large adapted to galaxy morphology classification on Galaxy10 DECaLS (10 classes) by full fine-tuning (all parameters updated), under the revised protocol of the paper When foundation models meet astronomical data (Astronomy and Computing, revised version, 2026). One of the 80 configurations (40 pretrained backbones x two adaptation regimes) of the collection Vision Foundation Models Benchmark.

Results (held-out test set, 1,774 images)

Accuracy (%)Weighted F1 (%)
This checkpoint (seed 42, epoch 10 of 30)85.9685.56
Mean +/- s.d. over three seeds (42, 1, 2)85.19 +/- 0.7484.85 +/- 0.63

Scores are computed at the epoch of minimum validation loss. The per-epoch metrics of all runs, the tables of the paper and the data split are in the dataset vision-foundation-models-benchmark-runs.

Training protocol

  • Data: Galaxy10 DECaLS (17,736 images). The public test split (1,774 images) is the held-out test set; the public train split is divided, with stratification by class, into 14,188 training and 1,774 validation images (indices in the dataset repository above). The validation set is used only to select the epoch.
  • Recipe (identical for the 40 backbones): AdamW (betas 0.9/0.999, eps 1e-8, weight decay 0.1, gradient clipping 1.0), learning rate 5e-5, linear schedule with 10% warm-up, batches of 32 images with gradient accumulation over 8 steps (effective batch 256), 30 epochs, single precision (fp32, TF32 disabled), one GPU. Augmentation: random resized crop to the input resolution and random horizontal flip. Evaluation: resize and centre crop to 256x256 px, normalisation of the checkpoint's image processor. Seed 42 (seeds 1 and 2 give the mean and s.d. above).
  • Regime: full fine-tuning (all parameters updated). The head is a single linear layer with ten outputs.
  • Selection: epoch of minimum validation loss (epoch 10 here); the weights of this repository are those of that epoch.
  • Software: PyTorch 2.3.0, transformers 4.37.2, datasets 2.19.1, torchvision 0.18.0.

Per-epoch metrics (seed 42)

EpochVal. lossVal. acc.Test acc.Test weighted F1
10.779273.9674.6971.42
20.572280.6181.5181.24
30.656877.6276.8976.40
40.542882.3081.6281.56
50.535483.2682.3682.02
60.462984.3984.2784.06
70.492783.8284.2283.92
80.468885.0184.2784.14
90.456085.6385.1284.77
10 (selected)0.443286.3085.9685.56
110.477085.5785.5785.54
120.468886.4785.4085.06
130.453886.3685.1785.02
140.482285.5784.1683.79
150.505486.7085.3485.03
160.514985.9685.1784.72
170.590686.4186.1385.67
180.618285.7986.8186.71
190.630985.0185.4085.36
200.597686.1987.0987.11
210.629786.9285.3484.82
220.639586.5886.3686.19
230.641186.9886.1386.16
240.678986.1386.0886.06
250.638785.9686.0285.92
260.688487.0987.0986.91
270.668586.9286.3086.09
280.648387.4386.9886.76
290.659487.1586.4186.20
300.645687.7187.1586.92

How to use

from transformers import AutoImageProcessor, AutoModelForImageClassification
from torchvision.transforms import Compose, Resize, CenterCrop, ToTensor, Normalize

model = AutoModelForImageClassification.from_pretrained("matthieulel/dinov2-large-galaxy10-decals-full-v2").eval()
processor = AutoImageProcessor.from_pretrained("matthieulel/dinov2-large-galaxy10-decals-full-v2")
# Pre-processing used in the paper: resize and centre-crop to 256x256 px, then the processor's normalisation
transform = Compose([Resize(256), CenterCrop((256, 256)), ToTensor(), Normalize(processor.image_mean, processor.image_std)])
# logits = model(pixel_values=transform(image).unsqueeze(0)).logits

Integrity check

The model stored in this repository was reloaded and run on the first 96 test images: predictions identical to the saved logits of the selected epoch for 100.0% of them (maximum absolute logit difference 1.91e-06).

Citation

Paper under revision for Astronomy and Computing; citation to be completed upon publication.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
Dinov2ForImageClassification
Ревизия весов
6aeb3c2

0 моделей