Datasets:
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:
- Normalizing case
- Removing numbers
- Removing punctuation and brackets
- Removing URLs
- Removing HTML tags
- Removing Twitter mentions
Contact
Please reach out to [email protected] if you have any questions or feedback.
- Downloads last month
- 38