toxic-comments / README.md
dieineb's picture
Update README.md
8a0351c verified
metadata
license: apache-2.0
language:
  - en
pretty_name: toxic-comments
size_categories:
  - 10K<n<100K

Toxic-comments

The dataset contains labeled examples of toxic and non-toxic text comments. Each comment is labeled with one of the two classes: "hate" or "not hate."

The classes are balanced, with an equal number of samples for each class.

The dataset is a smaller version of the original dataset Toxic Comment Classification Challenge Dataset, originally curated by the Conversation AI team.

The original dataset contains an unequal distribution of “_hate_” and “_not hate_” samples for multi-classification.

The smaller version contains equal “_hate_” and “_not hate_” samples.

Dataset Details

Dataset Name: Toxic-Content Dataset

Language: English

Total Size: Over 70,157 demonstrations

Contents

⚠️ THE EXAMPLES IN THIS DATASET CONTAIN TOXIC/OFFENSIVE LANGUAGE ⚠️

The dataset consists of data frames with the following columns:

non_toxic_response: Text that was evaluated as non-toxic.

toxic_response: Text evaluated as toxic.

{ "toxic_response": "I think you should shut up your big mouth.",

"non_toxic_response":"I do not agree with you.", }

Intended Use

The purpose of this dataset is to serve as a resource in an educational setting, where its primary aim is to aid in detecting toxicity within textual content and identifying potentially harmful language.

Use Cases

Toxic-Content Dataset can be utilized to train models to detect harmful/toxic text.

How to use

It is available only in English.

from datasets import load_dataset

dataset = load_dataset("AiresPucrs/toxic_content", split = 'train')

License

Dataset License

The Toxic-Content Dataset is licensed under the Apache License, Version 2.0. See the LICENSE file for more details.

Disclaimer

This dataset is provided as is, without any warranty or guarantee of its accuracy or suitability for any purpose. The creators and contributors of this dataset are not liable for any damages or losses arising from its use. Please review and comply with the licenses and terms of the original datasets before use.