lucataco / nsfw_​image_​detection

Falcons.ai Fine-Tuned Vision Transformer (ViT) for NSFW Image Classification

replicate.com
Total runs: 4.5M
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Github
Model's Last Updated: November 21 2023

Introduction of nsfw_​image_​detection

Model Details of nsfw_​image_​detection

Readme

Model Description The Fine-Tuned Vision Transformer (ViT) is a variant of the transformer encoder architecture, similar to BERT, that has been adapted for image classification tasks. This specific model, named “google/vit-base-patch16-224-in21k,” is pre-trained on a substantial collection of images in a supervised manner, leveraging the ImageNet-21k dataset. The images in the pre-training dataset are resized to a resolution of 224x224 pixels, making it suitable for a wide range of image recognition tasks.

During the training phase, meticulous attention was given to hyperparameter settings to ensure optimal model performance. The model was fine-tuned with a judiciously chosen batch size of 16. This choice not only balanced computational efficiency but also allowed for the model to effectively process and learn from a diverse array of images.

To facilitate this fine-tuning process, a learning rate of 5e-5 was employed. The learning rate serves as a critical tuning parameter that dictates the magnitude of adjustments made to the model’s parameters during training. In this case, a learning rate of 5e-5 was selected to strike a harmonious balance between rapid convergence and steady optimization, resulting in a model that not only learns swiftly but also steadily refines its capabilities throughout the training process.

This training phase was executed using a proprietary dataset containing an extensive collection of 80,000 images, each characterized by a substantial degree of variability. The dataset was thoughtfully curated to include two distinct classes, namely “normal” and “nsfw.” This diversity allowed the model to grasp nuanced visual patterns, equipping it with the competence to accurately differentiate between safe and explicit content.

The overarching objective of this meticulous training process was to impart the model with a deep understanding of visual cues, ensuring its robustness and competence in tackling the specific task of NSFW image classification. The result is a model that stands ready to contribute significantly to content safety and moderation, all while maintaining the highest standards of accuracy and reliability.

Intended Uses & Limitations

NSFW Image Classification: The primary intended use of this model is for the classification of NSFW (Not Safe for Work) images. It has been fine-tuned for this purpose, making it suitable for filtering explicit or inappropriate content in various applications.

This model will return either the word: “normal” or “nsfw”

Note: This model assumes input images are RGB

Pricing of nsfw_​image_​detection replicate.com

Run time and cost

This model costs approximately $0.00022 to run on Replicate, or 4545 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker .

This model runs on Nvidia T4 GPU hardware . Predictions typically complete within 1 seconds.

Runs of lucataco nsfw_​image_​detection on replicate.com

4.5M
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About nsfw_​image_​detection replicate.com Model

More nsfw_​image_​detection license Visit here:

https://huggingface.co/models?license=license:apache-2.0

nsfw_​image_​detection replicate.com

nsfw_​image_​detection replicate.com is an AI model on replicate.com that provides nsfw_​image_​detection's model effect (Falcons.ai Fine-Tuned Vision Transformer (ViT) for NSFW Image Classification), which can be used instantly with this lucataco nsfw_​image_​detection model. replicate.com supports a free trial of the nsfw_​image_​detection model, and also provides paid use of the nsfw_​image_​detection. Support call nsfw_​image_​detection model through api, including Node.js, Python, http.

nsfw_​image_​detection replicate.com Url

https://replicate.com/lucataco/nsfw_image_detection

lucataco nsfw_​image_​detection online free

nsfw_​image_​detection replicate.com is an online trial and call api platform, which integrates nsfw_​image_​detection's modeling effects, including api services, and provides a free online trial of nsfw_​image_​detection, you can try nsfw_​image_​detection online for free by clicking the link below.

lucataco nsfw_​image_​detection online free url in replicate.com:

https://replicate.com/lucataco/nsfw_image_detection

nsfw_​image_​detection install

nsfw_​image_​detection is an open source model from GitHub that offers a free installation service, and any user can find nsfw_​image_​detection on GitHub to install. At the same time, replicate.com provides the effect of nsfw_​image_​detection install, users can directly use nsfw_​image_​detection installed effect in replicate.com for debugging and trial. It also supports api for free installation.

nsfw_​image_​detection install url in replicate.com:

https://replicate.com/lucataco/nsfw_image_detection

nsfw_​image_​detection install url in github:

https://github.com/lucataco/cog-nsfw_image_detection

Url of nsfw_​image_​detection

nsfw_​image_​detection replicate.com Url

nsfw_​image_​detection Owner Github

Provider of nsfw_​image_​detection replicate.com

Other API from lucataco

replicate

Remove background from an image

Total runs: 5.3M
Run Growth: 200.0K
Growth Rate: 3.77%
Updated: September 15 2023
replicate

Implementation of Realistic Vision v5.1 with VAE

Total runs: 3.7M
Run Growth: 400.0K
Growth Rate: 10.81%
Updated: August 15 2023
replicate

FLUX.1-Dev LoRA Explorer

Total runs: 2.9M
Run Growth: 300.0K
Growth Rate: 10.34%
Updated: October 06 2024
replicate

SDXL ControlNet - Canny

Total runs: 2.1M
Run Growth: 100.0K
Growth Rate: 4.76%
Updated: October 04 2023
replicate

SDXL Inpainting by the HF Diffusers team

Total runs: 1.7M
Run Growth: 100.0K
Growth Rate: 5.88%
Updated: March 06 2024
replicate

Turn any image into a video

Total runs: 1.3M
Run Growth: 0
Growth Rate: 0.00%
Updated: September 03 2023
replicate

Segmind Stable Diffusion Model (SSD-1B) is a distilled 50% smaller version of SDXL, offering a 60% speedup while maintaining high-quality text-to-image generation capabilities

Total runs: 992.2K
Run Growth: 700
Growth Rate: 0.07%
Updated: November 09 2023
replicate

Hyper FLUX 8-step by ByteDance

Total runs: 926.0K
Run Growth: 0
Growth Rate: 0.00%
Updated: August 28 2024
replicate

CLIP Interrogator for SDXL optimizes text prompts to match a given image

Total runs: 845.8K
Run Growth: 200
Growth Rate: 0.02%
Updated: May 17 2024
replicate

FLUX.1-Dev Multi LoRA Explorer

Total runs: 809.0K
Run Growth: 144.8K
Growth Rate: 17.97%
Updated: October 06 2024
replicate

A multimodal LLM-based AI assistant, which is trained with alignment techniques. Qwen-VL-Chat supports more flexible interaction, such as multi-round question answering, and creative capabilities.

Total runs: 796.6K
Run Growth: 1.4K
Growth Rate: 0.18%
Updated: October 15 2023
replicate

Robust face restoration algorithm for old photos/AI-generated faces

Total runs: 768.8K
Run Growth: 185.8K
Growth Rate: 24.17%
Updated: September 06 2023
replicate

FLUX.1-Schnell LoRA Explorer

Total runs: 685.3K
Run Growth: 95.7K
Growth Rate: 14.03%
Updated: September 07 2024
replicate

Coqui XTTS-v2: Multilingual Text To Speech Voice Cloning

Total runs: 644.5K
Run Growth: 54.7K
Growth Rate: 8.49%
Updated: November 28 2023
replicate

SDXL v1.0 - A text-to-image generative AI model that creates beautiful images

Total runs: 477.4K
Run Growth: 200
Growth Rate: 0.04%
Updated: November 02 2023
replicate

😊 Hotshot-XL is an AI text-to-GIF model trained to work alongside Stable Diffusion XL

Total runs: 464.2K
Run Growth: 47.4K
Growth Rate: 10.21%
Updated: October 23 2023
replicate

snowflake-arctic-embed is a suite of text embedding models that focuses on creating high-quality retrieval models optimized for performance

Total runs: 397.2K
Run Growth: 300
Growth Rate: 0.08%
Updated: April 20 2024
replicate

Latent Consistency Model (LCM): SDXL, distills the original model into a version that requires fewer steps (4 to 8 instead of the original 25 to 50)

Total runs: 394.2K
Run Growth: 0
Growth Rate: 0.00%
Updated: November 13 2023
replicate

Monster Labs QrCode ControlNet on top of SD Realistic Vision v5.1

Total runs: 387.3K
Run Growth: 1.8K
Growth Rate: 0.46%
Updated: September 24 2023
replicate

RealvisXL-v2.0 with LCM LoRA - requires fewer steps (4 to 8 instead of the original 40 to 50)

Total runs: 290.9K
Run Growth: 200
Growth Rate: 0.07%
Updated: November 16 2023
replicate

Implementation of SDXL RealVisXL_V2.0

Total runs: 283.6K
Run Growth: 1.8K
Growth Rate: 0.63%
Updated: November 09 2023
replicate

Animate Your Personalized Text-to-Image Diffusion Models

Total runs: 281.9K
Run Growth: 3.3K
Growth Rate: 1.17%
Updated: September 25 2023
replicate

moondream2 is a small vision language model designed to run efficiently on edge devices

Total runs: 278.7K
Run Growth: 39.9K
Growth Rate: 14.50%
Updated: July 29 2024
replicate

Practical face restoration algorithm for *old photos* or *AI-generated faces* (for larger images)

Total runs: 234.2K
Run Growth: 10.4K
Growth Rate: 4.44%
Updated: August 03 2023
replicate

DreamShaper is a general purpose SD model that aims at doing everything well, photos, art, anime, manga. It's designed to match Midjourney and DALL-E.

Total runs: 194.5K
Run Growth: 5.6K
Growth Rate: 2.88%
Updated: December 20 2023
replicate

Real-ESRGAN Video Upscaler

Total runs: 137.7K
Run Growth: 23.5K
Growth Rate: 17.07%
Updated: November 25 2023
replicate

A unique fusion that showcases exceptional prompt adherence and semantic understanding, it seems to be a step above base SDXL and a step closer to DALLE-3 in terms of prompt comprehension

Total runs: 124.3K
Run Growth: 700
Growth Rate: 0.56%
Updated: December 27 2023
replicate

CLIP Interrogator (for faster inference)

Total runs: 122.0K
Run Growth: 400
Growth Rate: 0.33%
Updated: September 12 2023
replicate

dreamshaper-xl-lightning is a Stable Diffusion model that has been fine-tuned on SDXL

Total runs: 107.0K
Run Growth: 7.1K
Growth Rate: 6.65%
Updated: February 27 2024
replicate

Phi-3-Mini-4K-Instruct is a 3.8B parameters, lightweight, state-of-the-art open model trained with the Phi-3 datasets

Total runs: 81.7K
Run Growth: 0
Growth Rate: 0.00%
Updated: July 03 2024
replicate

SDXL_Niji_Special Edition

Total runs: 64.6K
Run Growth: 2.6K
Growth Rate: 4.02%
Updated: November 14 2023
replicate

PixArt-Alpha 1024px is a transformer-based text-to-image diffusion system trained on text embeddings from T5

Total runs: 64.0K
Run Growth: 11.6K
Growth Rate: 18.13%
Updated: December 04 2023
replicate

MagicAnimate: Temporally Consistent Human Image Animation using Diffusion Model

Total runs: 55.5K
Run Growth: 300
Growth Rate: 0.54%
Updated: December 05 2023
replicate

Dreamshaper-7 img2img with LCM LoRA for faster inference

Total runs: 55.1K
Run Growth: 0
Growth Rate: 0.00%
Updated: November 17 2023
replicate

AI-driven audio enhancement for your audio files, powered by Resemble AI

Total runs: 52.3K
Run Growth: 10.7K
Growth Rate: 20.46%
Updated: December 15 2023
replicate

Ostris AI-Toolkit for Flux LoRA Training (DEPRECATED. Please use: ostris/flux-dev-lora-trainer)

Total runs: 50.7K
Run Growth: 3.1K
Growth Rate: 6.13%
Updated: August 18 2024
replicate

Florence-2: Advancing a Unified Representation for a Variety of Vision Tasks

Total runs: 49.5K
Run Growth: 3.7K
Growth Rate: 7.47%
Updated: June 26 2024
replicate

Implementation of SDXL RealVisXL_V1.0

Total runs: 44.0K
Run Growth: 0
Growth Rate: 0.00%
Updated: September 13 2023
replicate

SDXL Image Blending

Total runs: 42.4K
Run Growth: 0
Growth Rate: 0.00%
Updated: December 12 2023
replicate

(Academic and Non-commercial use only) Pixel-Aware Stable Diffusion for Realistic Image Super-resolution and Personalized Stylization

Total runs: 39.5K
Run Growth: 300
Growth Rate: 0.76%
Updated: January 08 2024
replicate

BakLLaVA-1 is a Mistral 7B base augmented with the LLaVA 1.5 architecture

Total runs: 39.0K
Run Growth: 0
Growth Rate: 0.00%
Updated: October 24 2023
replicate

lmsys/vicuna-13b-v1.3

Total runs: 38.4K
Run Growth: 0
Growth Rate: 0.00%
Updated: June 30 2023
replicate

Mistral-7B-v0.1 fine tuned for chat with the Dolphin dataset (an open-source implementation of Microsoft's Orca)

Total runs: 35.0K
Run Growth: 400
Growth Rate: 1.14%
Updated: October 31 2023
replicate

Real-ESRGAN with optional face correction and adjustable upscale (for larger images)

Total runs: 34.3K
Run Growth: 300
Growth Rate: 0.87%
Updated: July 17 2023
replicate

Gemma2 2b by Google

Total runs: 33.1K
Run Growth: 0
Growth Rate: 0.00%
Updated: August 01 2024
replicate

The image prompt adapter is designed to enable a pretrained text-to-image diffusion model to generate SDXL images with an image prompt

Total runs: 31.1K
Run Growth: 300
Growth Rate: 0.96%
Updated: November 12 2023
replicate

Florence-2: Advancing a Unified Representation for a Variety of Vision Tasks

Total runs: 31.1K
Run Growth: 1.1K
Growth Rate: 3.54%
Updated: June 26 2024
replicate

lmsys/vicuna-7b-v1.3

Total runs: 28.6K
Run Growth: 100
Growth Rate: 0.35%
Updated: June 30 2023
replicate

(Research only) IP-Adapter-FaceID can generate various style images conditioned on a face with only text prompts

Total runs: 28.3K
Run Growth: 0
Growth Rate: 0.00%
Updated: December 21 2023
replicate

Meta's Llama 2 7b Chat - GPTQ

Total runs: 20.3K
Run Growth: 100
Growth Rate: 0.49%
Updated: July 24 2023
replicate

sdxs-512-0.9 can generate high-resolution images in real-time based on prompt texts, trained using score distillation and feature matching

Total runs: 18.8K
Run Growth: 0
Growth Rate: 0.00%
Updated: March 28 2024
replicate

Stylized Audio-Driven Single Image Talking Face Animation

Total runs: 18.6K
Run Growth: 200
Growth Rate: 1.08%
Updated: October 08 2023
replicate

Meta's Llama 2 13b Chat - GPTQ

Total runs: 18.5K
Run Growth: 0
Growth Rate: 0.00%
Updated: July 25 2023
replicate

WizardCoder: Empowering Code Large Language Models with Evol-Instruct

Total runs: 17.0K
Run Growth: 0
Growth Rate: 0.00%
Updated: January 24 2024
replicate

ThinkDiffusionXL is a go-to model capable of amazing photorealism that's also versatile enough to generate high-quality images across a variety of styles and subjects without needing to be a prompting genius

Total runs: 15.5K
Run Growth: 100
Growth Rate: 0.65%
Updated: November 07 2023
replicate

This is wizard-vicuna-13b trained with a subset of the dataset - responses that contained alignment / moralizing were removed

Total runs: 15.1K
Run Growth: 0
Growth Rate: 0.00%
Updated: April 26 2024
replicate

Hyper FLUX 16-step by ByteDance

Total runs: 15.0K
Run Growth: 0
Growth Rate: 0.00%
Updated: August 28 2024
replicate

Mistral-7B-v0.1 fine tuned for chat with the Dolphin dataset (an open-source implementation of Microsoft's Orca)

Total runs: 13.4K
Run Growth: 0
Growth Rate: 0.00%
Updated: October 31 2023
replicate

Image-to-video - SEINE: Short-to-Long Video Diffusion Model for Generative Transition and Prediction

Total runs: 12.0K
Run Growth: 800
Growth Rate: 6.67%
Updated: November 23 2023
replicate

InterpAny-Clearer: Clearer anytime frame interpolation & Manipulated interpolation

Total runs: 11.4K
Run Growth: 0
Growth Rate: 0.00%
Updated: November 30 2023
replicate

Segments an audio recording based on who is speaking (on A100)

Total runs: 11.4K
Run Growth: 0
Growth Rate: 0.00%
Updated: July 22 2023
replicate

Latest model in the Qwen family for chatting with video and image models

Total runs: 11.3K
Run Growth: 0
Growth Rate: 0.00%
Updated: December 21 2024
replicate

(Research only) Moondream1 is a vision language model that performs on par with models twice its size

Total runs: 10.7K
Run Growth: 0
Growth Rate: 0.00%
Updated: January 25 2024
replicate

Image to Image enhancer using DemoFusion

Total runs: 10.4K
Run Growth: 100
Growth Rate: 0.96%
Updated: December 09 2023
replicate

Open diffusion model for high-quality video generation

Total runs: 10.3K
Run Growth: 100
Growth Rate: 0.97%
Updated: October 19 2023
replicate

Auto fuse a user's face onto the template image, with a similar appearance to the user

Total runs: 10.1K
Run Growth: 200
Growth Rate: 1.98%
Updated: November 16 2023
replicate

DemoFusion: Democratising High-Resolution Image Generation With No 💰

Total runs: 9.0K
Run Growth: 0
Growth Rate: 0.00%
Updated: December 04 2023
replicate

Segment Anything 2 (SAM2) by Meta - Automatic mask generation

Total runs: 8.8K
Run Growth: 1.2K
Growth Rate: 13.64%
Updated: July 31 2024
replicate

Implementation of SDXL RealVisXL_V2.0 img2img

Total runs: 8.6K
Run Growth: 0
Growth Rate: 0.00%
Updated: November 07 2023
replicate

Phi-3-Mini-128K-Instruct is a 3.8 billion-parameter, lightweight, state-of-the-art open model trained using the Phi-3 datasets

Total runs: 8.0K
Run Growth: 0
Growth Rate: 0.00%
Updated: April 26 2024
replicate

Cog wrapper for Ollama llama3:70b

Total runs: 6.6K
Run Growth: 6.5K
Growth Rate: 98.42%
Updated: July 09 2024
replicate

360 Panorama SDXL image with inpainted wrapping seam

Total runs: 6.3K
Run Growth: 100
Growth Rate: 1.59%
Updated: September 10 2023
replicate

Convert your videos to DensePose and use it with MagicAnimate

Total runs: 5.7K
Run Growth: 0
Growth Rate: 0.00%
Updated: December 06 2023
replicate

Projection module trained to add vision capabilties to Llama 3 using SigLIP

Total runs: 5.5K
Run Growth: 100
Growth Rate: 1.82%
Updated: November 05 2024
replicate

Fuyu-8B is a multi-modal text and image transformer trained by Adept AI

Total runs: 4.6K
Run Growth: 0
Growth Rate: 0.00%
Updated: October 20 2023
replicate

Qwen1.5 is the beta version of Qwen2, a transformer-based decoder-only language model pretrained on a large amount of data

Total runs: 4.1K
Run Growth: 100
Growth Rate: 2.44%
Updated: February 07 2024
replicate

Controlnet v1.1 - Tile Version

Total runs: 4.0K
Run Growth: 0
Growth Rate: 0.00%
Updated: November 27 2023
replicate

SDXL using DeepCache

Total runs: 3.8K
Run Growth: 0
Growth Rate: 0.00%
Updated: January 08 2024
replicate

Playground v2 is a diffusion-based text-to-image generative model trained from scratch. Try out all 3 models here

Total runs: 3.6K
Run Growth: 0
Growth Rate: 0.00%
Updated: December 08 2023
replicate

nomic-embed-text-v1 is 8192 context length text encoder that surpasses OpenAI text-embedding-ada-002 and text-embedding-3-small performance on short and long context tasks

Total runs: 3.6K
Run Growth: 0
Growth Rate: 0.00%
Updated: February 13 2024
replicate

Segmind Stable Diffusion Model (SSD-1B) img2img

Total runs: 3.6K
Run Growth: 0
Growth Rate: 0.00%
Updated: November 03 2023
replicate

A combination of ip_adapter SDv1.5 and mediapipe-face to inpaint a face

Total runs: 3.6K
Run Growth: 200
Growth Rate: 5.56%
Updated: November 15 2023
replicate

Phi-2 by Microsoft

Total runs: 3.5K
Run Growth: 200
Growth Rate: 5.71%
Updated: January 31 2024
replicate

Implementation of SDXL RealVisXL_V1.0 img2img

Total runs: 3.4K
Run Growth: 0
Growth Rate: 0.00%
Updated: November 02 2023
replicate

A Flux LoRA trained on watercolor style photos

Total runs: 3.2K
Run Growth: 600
Growth Rate: 18.75%
Updated: August 15 2024