# Bengali Hate Speech Classification (MTEB subset) 2,048 Bengali-language texts, each labelled with one of five types of hate (integer labels 0-4), distributed by MTEB (Massive Text Embedding Benchmark) on Hugging Face as one train split in one parquet file, for evaluating text embeddings on classification. The texts come from the Bengali Hate Speech dataset (bn_hate_speech) of Md. Rezaul Karim and colleagues (IEEE DSAA 2020). Its card lists 3,418 examples from Bengali Wikipedia, news articles, TV news, books, blogs, a sports portal and social media, with Facebook pages and newspapers emphasised. The MTEB card describes the texts as news articles from Bengali media and says they were expert-annotated. The texts are 9 to 502 characters long. Label counts: 0 = 377, 1 = 355, 2 = 301, 3 = 826, 4 = 189. ## At a glance - **Platform:** Facebook - **Tables:** x_texts (2,048 rows) - **Version:** 1.0.0 - **Licence:** MIT; SPDX `MIT` ## Contents | Path | What it is | |---|---| | `data/x_texts.parquet` | The x_texts table (canonical, Parquet) | | `csv/x_texts.csv.gz` | The same table as gzip CSV | | `jsonl/x_texts.jsonl.gz` | The same table as gzip JSON Lines | | `docs/upstream/` | The upstream documentation, verbatim | | `original/` | The 2 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 ### x_texts (2,048 rows) | Column | Type | Meaning | |---|---|---| | `text` | string | The Bengali text (9 to 502 characters) that was classified. | | `x_label` | integer | Hate-type class, 0-4. The bn_hate_speech card names its classes 0 Personal, 1 Political, 2 Religious, 3 Geopolitical, 4 Gender abusive. The MTEB card does not say whether its labels keep that numbering. | ## Quick start Python (pandas): ```python import pandas as pd df = pd.read_parquet("https://echo.directory/download/bengali-hate-speech-type-classification/v1.0.0/data/x_texts.parquet") ``` DuckDB (reads over HTTP without downloading the file first): ```sql SELECT * FROM 'https://echo.directory/download/bengali-hate-speech-type-classification/v1.0.0/data/x_texts.parquet' LIMIT 10; ``` R (arrow): ```r df <- arrow::read_parquet("https://echo.directory/download/bengali-hate-speech-type-classification/v1.0.0/data/x_texts.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 sources do not state when the data were collected. - The rows have no identifier, so they are in an x_ table in file order rather than in posts. - Every row is in the single 'train' split. MTEB's card does not say how the 2,048 rows were chosen from the 3,418 in the source dataset. - The MTEB card calls the texts news articles. The source card lists several origins, including social media (mainly Facebook pages), and the short texts look like comments. No per-row origin is given. - Many texts contain abusive and hateful language. - The label names come from the source bn_hate_speech card. The MTEB card gives only the label counts. ## Credit - **Md. Rezaul Karim**, creator: lead author of the source dataset (IEEE DSAA 2020) - **Sumon Kanti Dey**, creator: listed as a curator on the bn_hate_speech card - **Bharathi Raja Chakravarthi**, creator - **John P. McCrae**, creator - **Michael Cochez**, creator - **MTEB (Massive Text Embedding Benchmark)**, distributor (https://huggingface.co/datasets/mteb/BengaliHateSpeechClassification): made the 2,048-row subset and publishes it on Hugging Face - **ECHO, Syracuse University**, packager (https://echo.directory) The upstream documentation is preserved verbatim in `docs/upstream/`. ## Licence and terms MIT; SPDX `MIT`, https://opensource.org/licenses/MIT. See `LICENSE.md` for the upstream terms. The MTEB dataset card's metadata gives the MIT licence. The source bn_hate_speech card also gives MIT. ## 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{karim2020BengaliNLP, title = {Classification Benchmarks for Under-resourced Bengali Language based on Multichannel Convolutional-LSTM Network}, author = {Karim, Md. Rezaul and Chakravarthi, Bharathi Raja and McCrae, John P. and Cochez, Michael}, booktitle = {7th IEEE International Conference on Data Science and Advanced Analytics (IEEE DSAA, 2020)}, publisher = {IEEE}, year = {2020} } ``` ## Versions This is version 1.0.0. Every version is kept unchanged at its own address (`https://echo.directory/download/bengali-hate-speech-type-classification/v1.0.0/`); `CHANGELOG.md` lists what changed between versions.