# TextDetox Multilingual Toxicity Dataset (All Languages) The TextDetox multilingual toxicity dataset, compiled for the PAN 2024 and PAN 2025 TextDetox shared tasks: 71,374 short texts in 15 languages (English, Russian, Ukrainian, German, Spanish, Amharic, Chinese, Arabic, Hindi, Italian, French, Hebrew, Hinglish, Tatar and Japanese), each labelled toxic or non-toxic (35,507 toxic, 35,867 non-toxic). Each language is one file with a text column and a binary label column; there are no identifiers, dates or author information. The column collection_member names the language of each row. 70,286 of the texts are distinct across all languages. ## At a glance - **Platform:** Unaffiliated - **Tables:** posts (71,374 rows), annotations (71,374 rows) - **Structure:** Labelled data, Text - **Version:** 1.0.0 - **Licence:** OpenRAIL++; SPDX `LicenseRef-OpenRAIL-plus-plus` - **Original DOI:** 10.1007/978-3-031-71908-0_11 ## Contents | Path | What it is | |---|---| | `data/posts.parquet` | The posts table (canonical, Parquet) | | `csv/posts.csv.gz` | The same table as gzip CSV | | `jsonl/posts.jsonl.gz` | The same table as gzip JSON Lines | | `data/annotations.parquet` | The annotations table (canonical, Parquet) | | `csv/annotations.csv.gz` | The same table as gzip CSV | | `original/` | The 15 upstream file(s), byte for byte | | `datapackage.json`, `croissant.json` | Machine-readable descriptions of this package | | `CITATION.cff`, `CITATION.bib` | How to cite | | `LICENSE.md` | Licence and terms | | `manifest-sha256.txt` | SHA-256 checksum of every file | ## Tables and columns ### posts (71,374 rows) Pieces of content people wrote: posts, comments, replies, tweets, messages, reviews. | Column | Type | Meaning | |---|---|---| | `post_id` | string | An identifier minted by ECHO (echo::) for the row, in the order of the upstream file; upstream has no identifiers. | | `text` | string | The text as in the upstream file. (quality: Kept exactly as upstream wrote it, without Unicode normalisation; 259 of the texts are not in normalisation form NFC. The card does not say whether the texts were cleaned.) | | `lang` | string | The language of the file the row comes from (the dataset's split name). | | `collection_member` | string | The language file the row comes from (en, ru, uk, de, es, am, zh, ar, hi, it, fr, he, hin, tt, ja). | ### annotations (71,374 rows) Labels attached to posts, users, threads, links or text spans, by people, models or rules. | Column | Type | Meaning | |---|---|---| | `target_id` | string | The minted post_id of the labelled text; joins to posts.post_id. | | `label` | string | Upstream column toxic: 1 for toxic, 0 for non-toxic. | | `label_text` | string | toxic or non-toxic, spelling out the label. | | `target_type` | string | post | user | thread | edge | span | item | | `task` | string | What is being labelled (toxicity, stance, check-worthiness…). | | `x_collection_member` | string | The language file the labelled text comes from; the same value as posts.collection_member for the same text. | ## Quick start Python (pandas): ```python import pandas as pd df = pd.read_parquet("https://echo.directory/download/textdetox-all/v1.0.0/data/posts.parquet") ``` DuckDB (reads over HTTP without downloading the file first): ```sql SELECT * FROM 'https://echo.directory/download/textdetox-all/v1.0.0/data/posts.parquet' LIMIT 10; ``` R (arrow): ```r df <- arrow::read_parquet("https://echo.directory/download/textdetox-all/v1.0.0/data/posts.parquet") ``` ## How this package was made ECHO converted the upstream file(s) listed under `original/` into the tables above, following the [ECHO Data Package 1.0.0](https://echo.directory/docs/edp/1.0/) standard. Every value was checked against the source during conversion: no row was dropped and no value was changed except as described here. - The files are converted unchanged: no text was cleaned, deduplicated or re-balanced. Row counts per language: en 5,000, ru 5,000, uk 5,000, de 5,000, es 5,000, am 5,000, zh 5,000, ar 5,000, hi 5,000, it 5,000, fr 5,000, he 2,011, hin 4,363, tt 5,000, ja 5,000. - Each language is also available as its own package. - `posts.text`: Kept exactly as upstream wrote it, without Unicode normalisation; 259 of the texts are not in normalisation form NFC. The card does not say whether the texts were cleaned. ## Credit - **Daryna Dementieva**, creator (https://huggingface.co/datasets/textdetox/multilingual_toxicity_dataset): named among the citation authors of the dataset card - **Daniil Moskovskiy**, creator - **Nikolay Babakov**, creator - **textdetox (Hugging Face organisation)**, publisher (https://huggingface.co/textdetox): published the dataset for the PAN 2024 and PAN 2025 TextDetox shared tasks - **ECHO, Syracuse University**, packager (https://echo.directory) ## Licence and terms OpenRAIL++; SPDX `LicenseRef-OpenRAIL-plus-plus`. See `LICENSE.md` for the upstream terms. The publisher declares the licence in the dataset card's metadata as "openrail++", Hugging Face's identifier for the CreativeML Open RAIL++-M License; the card gives no other licence. Its use-based restrictions (paragraph 5 and Attachment A of the licence, quoted in full below) apply to every copy and every use of this data, and anyone who redistributes it must pass them on with the licence. The card credits the authors of the original corpora it compiles, listed in the README. ## Citation ```bibtex @misc{echo2026, title = {ECHO: Exploratory Compendium of Humanity Online}, author = {Switzer, Braden and Zafarani, Reza}, year = {2026}, url = {https://echo.directory}, note = {Syracuse University} } @inproceedings{dementieva2024overview, title = {Overview of the Multilingual Text Detoxification Task at PAN 2024}, author = {Dementieva, Daryna and others}, booktitle = {CLEF 2024 Working Notes}, year = {2024} } ``` ## Versions This is version 1.0.0. Every version is kept unchanged at its own address (`https://echo.directory/download/textdetox-all/v1.0.0/`); `CHANGELOG.md` lists what changed between versions.