You need to agree to share your contact information to access this dataset

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this dataset content.

Dataset Card

This dataset was created to develop filters that block NSFW (Not Safe For Work) text content. It was assembled by scraping data from the web and utilizing existing open-source datasets. A significant portion of the dataset consists of descriptions for images and scenes. The primary objective of this dataset is to prevent diffusers from generating NSFW content but it can be used for other moderation purposes.

  • Shared by: Centrale Supélec Students
  • Language: English
  • License: apache-2.0

Uses

The dataset can be utilized to fine-tune transformer models for the classification of NSFW prompts. It was used to develop a DistilBERT filter that achieve a F1 score of 0.973 (validation). The filter is available for use at https://huggingface.co/eliasalbouzidi/distilbert-nsfw-text-classifier.

Dataset Structure

This dataset contains six splits, with the first three having undergone preprocessing, and the last three corresponding to the first three but without any preprocessing.

Processing

To reduce noise in the data and minimize biases,we preprocessed the dataset by:

  1. Normalizing case
  2. Removing numbers
  3. Removing punctuation and brackets
  4. Removing URLs
  5. Removing HTML tags
  6. Removing Twitter mentions

Contact

Please reach out to [email protected] if you have any questions or feedback.

Downloads last month
38

Models trained or fine-tuned on eliasalbouzidi/NSFW-Safe-Dataset