/ Модель

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

Параметры
113 млн
Лицензия
Apache 2.0
Архитектура
vit · dense
Базовая модель
vit-base-patch16-224-in21k
Библиотека
transformers
Опубликована
14 сен 2026

ne_plant_classes_vit

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

Классификатор фотографий растений для грубой фильтрации полевых снимков от изображений с людьми, макросъёмкой и рукотворными объектами.

133скачиваний за 30 дней1лайквеса обновлены20 сен 2026

Бенчмарки

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

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

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

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

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

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

NE Plant Classes ViT — модель классификации изображений на базе Vision Transformer, разработанная blambert дообучением google/vit-base-patch16-224-in21k на фотографиях iNaturalist из набора blambert/ne_plant_classes. Она предназначена для предварительной фильтрации снимков при сборке набора фотографий растений: различает растения в естественной обстановке, людей или руки в кадре, макро- и микроскопические изображения, а также рукотворные объекты. Модель не определяет виды растений.

Модель содержит 113,2 млн параметров и принимает изображения, выдавая метку класса. Метки были сгенерированы Qwen/Qwen3.5-9B и не проверялись на размеченной вручную выборке. Оценка на тестовом наборе показывает 0,984 точности и macro F1 0,902 относительно этих меток; показатели не подтверждают точность относительно проверенной человеком истины. Класс manmade распознаётся заметно хуже: его F1 составляет 0,714, а часть таких снимков ошибочно классифицируется как nature. Данные обучения охватывают наблюдения из Новой Англии, поэтому качество на других регионах и типах фотографий может отличаться. Веса доступны по лицензии Apache 2.0; лицензии исходных фотографий сохраняются и не передаются вместе с моделью.

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

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

Ограничения

Тестовые метрики измеряют согласие с автоматически сгенерированными метками, а не точность по проверенной вручную разметке; класс manmade распознаётся хуже остальных. Обучение основано на фотографиях iNaturalist из Новой Англии, и перенос на другие регионы или условия съёмки может снизить качество.

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

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

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

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

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

Открыть на Hugging Face

NE Plant Classes ViT

A Vision Transformer that sorts plant photographs by the kind of subject they show: a plant in the field, a hand or person in frame, a microscope or macro view, or something manmade. It is google/vit-base-patch16-224-in21k fine-tuned on blambert/ne_plant_classes.

It was built to do cheaply what a vision language model did for that dataset: separate usable field photos from the rest before assembling a plant dataset such as blambert/ne_plant_photos. It does not identify species.

Labels

labelmeaning
naturea plant in the field
humana hand or person in frame
magnifieda microscope or macro view
manmaderulers, tags, labs, fences, herbarium sheets

The source dataset has a fifth label, other, with only 26 examples; it was dropped before training, so the model never predicts it.

Usage

from transformers import pipeline

classify = pipeline("image-classification", model="blambert/ne_plant_classes_vit")
classify("photo.jpg")

Training Data

151,919 photographs from the iNaturalist open data archive inside a New England bounding box (latitude 41 to 48, longitude -74 to -67), split by label:

labelcountshare
nature114,19275.2%
human33,70222.2%
manmade2,3101.5%
magnified1,7151.1%

The labels are the output of Qwen/Qwen3.5-9B, not human annotation, and have not been checked against a hand-labelled sample. The model learns to agree with Qwen, mistakes included.

Training Procedure

  • Shuffled with seed 42, then split 60% train / 20% validation / 20% test, stratified by label.
  • Whole images resized to 224x224 with no cropping, since the cue for a label (a ruler, a hand) is often near the edge of the frame. Training adds a random horizontal flip.
  • 10 epochs at batch size 64 and learning rate 2e-5, in bf16 mixed precision.
  • Evaluated on the validation split every 5% of training, keeping the checkpoint with the best macro F1. Accuracy would reward always predicting nature, which alone scores 75%.

Training code is train_classifier.py in plant-pics.

Results

Scores on the 30,384-photo test split. The best checkpoint came from epoch 3 (step 4,278 of 14,250), with a validation macro F1 of 0.887.

metricscore
accuracy0.984
macro F10.902
macro precision0.913
macro recall0.891
loss0.081

Per label:

labelprecisionrecallF1support
nature0.9900.9910.99022,839
human0.9820.9850.9846,740
manmade0.7440.6860.714462
magnified0.9360.9010.918343

Confusion matrix, with true labels as rows and predictions as columns:

true \ predictednaturehumanmanmademagnified
nature22,6291038720
human786,642200
manmade129153171
magnified3022309

Most errors involve nature. Over a quarter of manmade photos (129 of 462) are predicted as nature, and nature photos account for 87 of the 109 false manmade predictions.

Label Noise

The scores above measure agreement with Qwen's labels, and those labels are themselves often wrong. Reviewing 160 of the 487 test disagreements suggested that in about two thirds of them the model was right and the label was wrong - fingers plainly holding a plant labelled nature, a ruler in frame labelled nature, a plain field photo labelled human. So:

  • True accuracy is probably higher than 98.4%, because some counted errors are correct predictions scored against a wrong label.
  • The manmade F1 of 0.714 is the least trustworthy number here. 31% of manmade-labelled test photos are disputed, and the label itself is fuzzy: a plant in a sidewalk crack is sometimes manmade and sometimes nature.
  • A hand-labelled test set is needed to measure real accuracy; none exists yet.

This is still good enough for some purposes. For coarse filtering - keeping field photographs and dropping shots of hands, rulers and microscope views - it agrees with the labeller on 98% of photos and is often right where it disagrees. It is not good enough when a specific label, especially manmade, has to be correct on a given photo.

Limitations

  • Test scores measure agreement with Qwen's labels on held-out photos, not accuracy against ground truth.
  • manmade and magnified have under 2,500 examples each. manmade is by far the weakest class (F1 0.714), and roughly 3 in 10 manmade photos slip through as nature.
  • All training photos come from New England iNaturalist observations; photos from other regions, sources, or camera setups may look different enough to hurt accuracy.

Licensing

The weights are released under Apache 2.0, matching the base model. The training photographs keep their iNaturalist licenses - mostly CC-BY-NC, with CC-BY, CC0, CC-BY-NC-SA and CC-BY-SA making up the rest - and are not redistributed here.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
ViTForImageClassification
Ревизия весов
528cacd

0 моделей