# Large-Scale Hate Speech Detection, English tweets, v2 (tweet IDs with topic and hate labels) Hate-speech annotations of 68,597 English tweets from Twitter. Version 2 of the English part of the dataset published with the LREC 2022 paper "Large-Scale Hate Speech Detection with Cross-Domain Transfer" by Cagri Toraman, Furkan Şahinuç and Eyup Halit Yilmaz. Version 1 had 100,000 English tweets, 20,000 in each of five topic domains (religion, gender, race, politics, sports), human- labelled as normal, offensive or hate, with annotations of more than 60% agreement. Version 2 keeps only the annotations with more than 80% agreement, so it is not balanced across domains or labels. The file distributed on Hugging Face holds only the tweet ID, a language code (always 1, English), the topic domain and the final hate label. It holds no tweet text, so the text must be retrieved by hydrating the IDs. ## At a glance - **Platform:** Twitter (X) - **Tables:** annotations (68,597 rows) - **Structure:** Labelled data - **Version:** 1.0.0 - **Licence:** CC BY-NC-SA 4.0; SPDX `CC-BY-NC-SA-4.0` ## Contents | Path | What it is | |---|---| | `data/annotations.parquet` | The annotations table (canonical, Parquet) | | `csv/annotations.csv.gz` | The same table as gzip CSV | | `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 ### annotations (68,597 rows) Labels attached to posts, users, threads, links or text spans, by people, models or rules. | Column | Type | Meaning | |---|---|---| | `target_id` | string | The Twitter tweet ID (kept as text so the 19-digit number stays exact). Hydrate it through the Twitter/X API to get the tweet. | | `label` | string | The final hate label: 0 Normal, 1 Offensive, 2 Hate. | | `x_topic_id` | integer | The topic domain of the tweet: 0 Religion, 1 Gender, 2 Race, 3 Politics, 4 Sports. | | `x_lang_id` | integer | Language code: 1 means English (the only value in this English file). | ## Quick start Python (pandas): ```python import pandas as pd df = pd.read_parquet("https://echo.directory/download/twitter-hate-speech-five-domains-english-v2/v1.0.0/data/annotations.parquet") ``` DuckDB (reads over HTTP without downloading the file first): ```sql SELECT * FROM 'https://echo.directory/download/twitter-hate-speech-five-domains-english-v2/v1.0.0/data/annotations.parquet' LIMIT 10; ``` R (arrow): ```r df <- arrow::read_parquet("https://echo.directory/download/twitter-hate-speech-five-domains-english-v2/v1.0.0/data/annotations.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. - Only tweet IDs and labels are distributed here; there is no text column, so ECHO's text analytics do not apply. The authors' GitHub repository says (update of 18 September 2024) that it now publishes all dataset contents and about 20k image files; those are not part of this package. - Annotations of more than 80% agreement are kept (v1 used more than 60%). The authors say v2 is not balanced and has a different label distribution, e.g. 2% hate tweets in English v2 against 7% in v1. - The Turkish part of v2 (60,310 tweets) is not in this Hugging Face dataset. - Whether tweet IDs repeat in the file was not checked; annotations has no primary key. ## Credit - **Cagri Toraman**, creator - **Furkan Şahinuç**, creator - **Eyup Halit Yilmaz**, creator - **Hugging Face dataset ctoraman/large-scale-hate-speech-v2**, publisher (https://huggingface.co/datasets/ctoraman/large-scale-hate-speech-v2) - **metunlp/hate-speech GitHub repository**, distributor (https://github.com/metunlp/hate-speech): the authors' repository, with v1 and v2 in English and Turkish - **ECHO, Syracuse University**, packager (https://echo.directory) The upstream documentation is preserved verbatim in `docs/upstream/`. ## Licence and terms CC BY-NC-SA 4.0; SPDX `CC-BY-NC-SA-4.0`, https://creativecommons.org/licenses/by-nc-sa/4.0/. See `LICENSE.md` for the upstream terms. The licence is stated in the Hugging Face dataset card metadata. The GitHub repository links to a separate LICENSE file, whose terms were not checked. NonCommercial ShareAlike means derived tables may not be used commercially and must carry the same licence. Tweet content retrieved by hydration is also subject to the platform's terms. ## 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{toraman-etal-2022-large, title = {Large-Scale Hate Speech Detection with Cross-Domain Transfer}, author = {Toraman, Cagri and {\c{S}}ahinu{\c{c}}, Furkan and Yilmaz, Eyup}, booktitle = {Proceedings of the Thirteenth Language Resources and Evaluation Conference}, month = jun, year = {2022}, address = {Marseille, France}, publisher = {European Language Resources Association}, url = {https://aclanthology.org/2022.lrec-1.238/}, pages = {2215--2225} } ``` ## Versions This is version 1.0.0. Every version is kept unchanged at its own address (`https://echo.directory/download/twitter-hate-speech-five-domains-english-v2/v1.0.0/`); `CHANGELOG.md` lists what changed between versions.