# TextDetox Multilingual Toxicity — Hindi The Hindi part of the TextDetox multilingual toxicity dataset, compiled for the PAN 2024 and PAN 2025 TextDetox shared tasks: 5,000 short texts, each labelled toxic or non-toxic (2,500 toxic, 2,500 non-toxic). For Hindi the dataset card names the Hostility Detection Dataset in Hindi and the HASOC 2019 track overview as the source. The file has two columns, the text and the binary label, and no identifiers, dates or author information. 4,963 of the texts are distinct; the rest occur more than once. ## At a glance - **Platform:** Unaffiliated - **Tables:** posts (5,000 rows), annotations (5,000 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 1 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 (5,000 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; 12 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). | ### annotations (5,000 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…). | ## Quick start Python (pandas): ```python import pandas as pd df = pd.read_parquet("https://echo.directory/download/textdetox-hi/v1.0.0/data/posts.parquet") ``` DuckDB (reads over HTTP without downloading the file first): ```sql SELECT * FROM 'https://echo.directory/download/textdetox-hi/v1.0.0/data/posts.parquet' LIMIT 10; ``` R (arrow): ```r df <- arrow::read_parquet("https://echo.directory/download/textdetox-hi/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 file is the language's split of the Hugging Face dataset, converted unchanged: no text was cleaned, deduplicated or re-balanced. - The card does not describe how personal names or user handles in the texts were treated. - `posts.text`: Kept exactly as upstream wrote it, without Unicode normalisation; 12 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-hi/v1.0.0/`); `CHANGELOG.md` lists what changed between versions.