/ Модель

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

Параметры
58,7 млн
Лицензия
openmdw-1.1
Архитектура
swin · dense
Базовая модель
swin-base-patch4-window7-224
Библиотека
transformers
Опубликована
15 сен 2026

misn-1.0

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

MISN-1.0 — дообученная Swin Transformer Base для бинарной классификации изображений на безопасные и NSFW при автоматизированной модерации.

8скачиваний за 30 дней0лайковвеса обновлены16 сен 2026

Бенчмарки

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

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

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

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

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

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

MISN-1.0 — модель компьютерного зрения для автоматической модерации изображений, разработанная автором репозитория aksern. Она классифицирует изображение по двум категориям: clean и nsfw, и предназначена для предварительной проверки материалов перед публикацией, фильтрации наборов данных и включения в системы модерации пользовательского контента. Модель можно использовать через Transformers; она принимает изображение и возвращает вероятности для обоих классов.

В основе лежит Swin Transformer Base с классификационной головой; модель дообучена на наборе akaruineko/pinterest-4k. Размер составляет 58,7 млн параметров. Для обучения использовано около 2 500 исходных изображений; аугментация увеличила число вариантов, но не количество независимых исходных примеров. Лицензия — OpenMDW 1.1.

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

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

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

Ограничения

Модель предсказывает только два класса и может ошибаться; качество может снижаться при отличии изображений от обучающих данных. Её вероятности не являются гарантией, поэтому для значимых решений нужна проверка на целевых данных и дополнительный контроль.

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

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

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

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

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

Открыть на Hugging Face

MISN-1.0

MISN (Moderate Images SWIN Network) is an image moderation model for binary NSFW image classification.

The model is fine-tuned from microsoft/swin-base-patch4-window7-224 and predicts whether an image should be classified as clean or nsfw.

Model Details

Intended Use

MISN-1.0 is intended for automated image moderation and NSFW content classification.

Example use cases include:

  • preprocessing images before publication
  • content moderation pipelines
  • dataset filtering
  • automated image classification
  • moderation assistance for user-generated content

MISN-1.0 is intended to be used as a moderation aid, rather than as the sole decision-making system for high-impact applications.

Training Data

The original training dataset contains approximately 2,500 images divided between two classes:

  • clean
  • nsfw

Data augmentation was used to increase the training set to approximately 5,000 samples per class.

The augmented dataset should not be interpreted as 10,000 independent source images. Augmentation creates additional variations of the original images and is primarily intended to improve robustness and reduce overfitting.

Training

MISN-1.0 was fine-tuned from the pretrained Swin Transformer Base model:

microsoft/swin-base-patch4-window7-224

The model uses the Swin Transformer architecture for visual feature extraction followed by a classification head for the two target classes.

Classification Labels

0: clean
1: nsfw

The exact label mapping should be read from the model configuration when loading the model.

Usage

The model can be used directly with the Hugging Face Transformers pipeline.

Python

import torch
from transformers import pipeline

model_repo = "aksern/misn-1.0"

device = 0 if torch.cuda.is_available() else -1

classifier = pipeline(
    "image-classification",
    model=model_repo,
    device=device
)

image_path = "image.jpg"

results = classifier(image_path)

for result in results:
    print(
        f"Class: {result['label']} | "
        f"Probability: {result['score']:.4f}"
    )

The pipeline also supports image URLs:

results = classifier(
    "https://example.com/image.jpg"
)

for result in results:
    print(result)

Example output:

Class: clean | Probability: 0.9999
Class: nsfw   | Probability: 0.0001

Input

MISN-1.0 is based on:

Swin Base
Patch size: 4
Window size: 7
Input resolution: 224x224

Images are automatically processed using the image processor included with the model.

Output

The model returns probabilities for both classes.

Example:

[
    {"label": "clean", "score": 0.9998},
    {"label": "nsfw", "score": 0.0002}
]

The highest-probability class is the model's predicted class.

For production moderation systems, it may be preferable to define a custom probability threshold instead of simply selecting the highest-probability class.

Limitations

MISN-1.0 has several important limitations.

Dataset size

The model was trained from approximately 2,500 original images. Although augmentation increased the effective training set size, the number of unique source images remains limited.

As a result, the model may not generalize equally well to all image distributions.

Domain shift

Performance can vary depending on the type of images being classified. Images that differ substantially from the training data may produce unreliable predictions.

Examples include:

  • unusual artistic styles
  • heavily edited images
  • low-resolution images
  • screenshots
  • extreme crops
  • unusual lighting
  • synthetic or generated images

Binary classification

MISN-1.0 only distinguishes between:

clean
nsfw

It does not provide detailed content categories or explain why an image was classified as NSFW.

False positives and false negatives

No binary moderation model is perfectly accurate.

MISN-1.0 may incorrectly classify:

  • clean images as NSFW
  • NSFW images as clean

The model's confidence score should therefore not be interpreted as a guarantee of correctness.

Bias and Fairness

Image moderation datasets can contain biases caused by their source data, labeling process, class distribution, and augmentation strategy.

Performance may vary across different visual domains and types of imagery.

Users deploying MISN-1.0 should evaluate it on data representative of their own application before using it in production.

Safety Considerations

MISN-1.0 is designed for automated moderation assistance.

Predictions should be treated as model outputs rather than definitive judgments about an image. For applications where incorrect moderation could have significant consequences, predictions should be combined with appropriate review or additional moderation mechanisms.

License

MISN-1.0 is released under the OpenMDW 1.1 license.

See the license information provided with the repository for the applicable terms and conditions.

Acknowledgements

MISN-1.0 is based on the pretrained Swin Transformer model:

microsoft/swin-base-patch4-window7-224

Thanks to the authors and contributors of the Swin Transformer and Hugging Face Transformers ecosystem.

Citation

If you use MISN-1.0 in a project, you can cite the model as:

@misc{misn-1.0,
  title        = {MISN-1.0: Moderate Images SWIN Network},
  author       = {Aksern},
  year         = {2026},
  publisher    = {Hugging Face},
  howpublished = {https://huggingface.co/aksern/misn-1.0}
}

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
SwinForImageClassification
Ревизия весов
dba4b7a

0 моделей