toxi-text-3M / README.md
FredZhang7's picture
update source
59f34ff
|
raw
history blame
2.28 kB
metadata
license: creativeml-openrail-m
task_categories:
  - text-classification
  - token-classification
size_categories:
  - 1M<n<10M
language:
  - ar
  - es
  - pa
  - th
  - et
  - fr
  - fi
  - 'no'
  - hu
  - lt
  - ur
  - so
  - pl
  - el
  - mr
  - sk
  - gu
  - he
  - af
  - te
  - ro
  - lv
  - sv
  - ne
  - kn
  - it
  - mk
  - cs
  - en
  - de
  - da
  - ta
  - bn
  - pt
  - sq
  - tl
  - uk
  - bg
  - ca
  - sw
  - hi
  - zh
  - ja
  - hr
  - ru
  - vi
  - id
  - sl
  - cy
  - ko
  - nl
  - ml
  - tr
  - fa
tags:
  - nlp

About 11 months ago, I downloaded and preprocessed 2.7M rows of text data, but completely forgot the original source of these datasets... All I know is that I looked everywhere: HuggingFace, research papers, GitHub, Kaggle, and Google search. I even fetched 20K+ tweets using the Twitter API. Today (6/28/2023) I came across two newer HuggingFace datasets, so I remembered to credit them at the bottom of the page.

The deduplicated training data alone consists of 2,880,230 rows of comments and messages. Among these rows, 416,457 are classified as toxic, while the remaining 2,463,773 are considered neutral. Below is a table to illustrate the data composition:

Toxic Neutral Total
multilingual-train-deduplicated.csv 416,457 2,463,773 2,880,230
multilingual-validation.csv 1,230 6,770 8,000
multilingual-test.csv 14,410 49,402 63,812
Each CSV file has two columns: text and is_toxic.

55 supported languages:

  • Afrikaans
  • Albanian
  • Arabic
  • Bengali
  • Bulgarian
  • Catalan
  • Chinese (Simplified)
  • Chinese (Traditional)
  • Croatian
  • Czech
  • Danish
  • Dutch
  • English
  • Estonian
  • Finnish
  • French
  • German
  • Greek
  • Gujarati
  • Hebrew
  • Hindi
  • Hungarian
  • Indonesian
  • Italian
  • Japanese
  • Kannada
  • Korean
  • Latvian
  • Lithuanian
  • Macedonian
  • Malayalam
  • Marathi
  • Nepali
  • Norwegian
  • Persian
  • Polish
  • Portuguese
  • Punjabi
  • Romanian
  • Russian
  • Slovak
  • Slovenian
  • Somali
  • Spanish
  • Swahili
  • Swedish
  • Tagalog
  • Tamil
  • Telugu
  • Thai
  • Turkish
  • Ukrainian
  • Urdu
  • Vietnamese
  • Welsh

Known datasets:

  • tomekkorbak/pile-toxicity-balanced2
  • datasets/thai_toxicity_tweet

Have fun modelling!