Skip to content
intermediatetext

HateDay Hate Speech Classes and Targets in Tweets

Classify tweets as hateful, offensive, or neutral and name the targeted group using radio and text schemes and a content warning page. Tweets are illustrative.

Get This Design

View on GitHub(opens in a new tab)

Clone or download from the repository

Quick start:

bash
git clone https://github.com/davidjurgens/potato-showcase.git
cd potato-showcase/text/hate-speech-moderation/hateday-tweet-hate-speech
potato start config.yaml

About this dataset

HateDay is a global hate speech dataset built from a sample of tweets representative of one day on Twitter, by Tonneau, Liu, Malhotra, Hale, Fraiberger, Orozco-Olvera, and Röttger. The paper received an Outstanding Paper award at ACL 2025. The annotators assign each tweet to one of three classes, hateful, offensive, or neutral, and name the targeted groups of hateful tweets as free text.

The design reproduces that two-step protocol for English. A radio scheme holds the three classes with tooltips condensed from the paper's section 2.2 definitions, and a text box for the targeted group appears only after Hateful is selected. The released guideline also has a flag_unsure column and allows several targets for one post, and neither is modeled here. The study's three annotators per tweet and its pilot rounds are study design and not configuration.

The dataset is gated and its license is not stated, so the ten tweets were written for the showcase, and none quotes a real post. Potato has no content-warning feature. The design opens with a pre-task instructions page that carries a content warning, as the released guideline does, and repeats the note in the instructions banner. The design has no model_training block, because it shows labeling only.

Classes
Hateful, offensive, neutral
Targets
Free-text group names for hateful tweets
Annotators per tweet
3
Pilot agreement target
Krippendorff's alpha of 0.7

Configuration File

This Potato config reproduces the annotation task. Save it as config.yaml and run potato start config.yaml to try it.

yaml
# yaml-language-server: $schema=https://potatoannotator.readthedocs.io/en/latest/schemas/potato-config.schema.json
# HateDay: hateful, offensive or neutral, plus the targeted group (ACL 2025 Outstanding Paper)
#
# Paper:   Tonneau et al., "HateDay: Insights from a Global Hate Speech Dataset Representative of a Day
#          on Twitter", ACL 2025, doi 10.18653/v1/2025.acl-long.115
# Data:    https://huggingface.co/datasets/manueltonneau/hateday (gated: access request; the card
#          metadata carries no licence field). Guidelines:
#          https://github.com/manueltonneau/hateday_acl/blob/main/annotation_guidelines.pdf
# Protocol (paper section 2.2): "the annotation consists of assigning each tweet to one of three
#          classes: (i) hateful, if it promotes violence or contains a direct attack, abuse or threat
#          against an individual or a group based on the perceived belonging of a certain
#          characteristic (e.g., gender, race), (ii) offensive, if it contains potentially
#          objectionable language that is not hateful, including insults, threats, and posts
#          containing profanity or swear words, or (iii) neutral if it is neither hateful nor
#          offensive. For tweets labeled as hateful, we also ask annotators to specify the groups
#          being targeted as a free-text label."
# Adaptations: English only. Three annotators per tweet and majority vote, and the pilot rounds to
#          Krippendorff alpha 0.7, are study design, not config blocks. The tweets are illustrative
#          sentences written for this design (the dataset is gated and its licence is not stated),
#          and none quotes a real post. The tooltips condense the section 2.2 definitions (the
#          full wording is in the quote above). The released guideline (annotation_guidelines.pdf,
#          section 3) also gives annotators a flag_unsure column and says one hateful post may have
#          several targets; neither is in this config. The released guideline opens with a content
#          warning. Potato has no content-warning feature, so this design shows a pre-task
#          instructions phase (surveys/content-warning.html) and repeats the note in
#          annotation_instructions.

annotation_task_name: "HateDay tweet annotation"

data_files:
  - sample-data.json

item_properties:
  id_key: id
  text_key: text

task_dir: .
output_annotation_dir: annotation_output
export_annotation_format: jsonl

phases:
  order:
    - content_warning
    - annotation
  content_warning:
    type: instructions
    file: surveys/content-warning.html

annotation_schemes:
  - annotation_type: radio
    name: harm_class
    description: "Which class does this tweet belong to?"
    labels:
      - name: "Hateful"
        tooltip: "Promotes violence or contains a direct attack, abuse or threat against an individual or a group based on perceived belonging to a certain characteristic"
      - name: "Offensive"
        tooltip: "Potentially objectionable language that is not hateful, including insults, threats, and profanity"
      - name: "Neutral"
        tooltip: "Neither hateful nor offensive"
    label_requirement:
      required: true

  - annotation_type: text
    name: hate_target
    description: "Which group is targeted? (free text)"
    display_logic:
      show_when:
        - schema: harm_class
          operator: equals
          value: "Hateful"

user_config:
  allow_all_users: true

annotation_instructions: |
  Content warning: some posts contain hateful or offensive language. Stop at any time if the
  material is distressing.

  Follow the three-class taxonomy. Offensive content does not target a group based on its perceived
  identity. For a hateful post, write the targeted group as free text, and list every target that
  applies (for example gender, religion, race or ethnicity, national origin, sexual orientation).

Sample Data

json
[
  {
    "id": "hd_001",
    "text": "Reunited by the mercy of God, what a morning."
  },
  {
    "id": "hd_002",
    "text": "Stop spewing rubbish, fool."
  }
]

// ... and 8 more items

Dataset & paper

Tonneau et al., ACL 2025

Paper DOI
10.18653/v1/2025.acl-long.115

Citation (BibTeX)

bibtex
@inproceedings{tonneau-etal-2025-hateday,
    title = "{H}ate{D}ay: Insights from a Global Hate Speech Dataset Representative of a Day on {T}witter",
    author = {Tonneau, Manuel  and
      Liu, Diyi  and
      Malhotra, Niyati  and
      Hale, Scott A.  and
      Fraiberger, Samuel  and
      Orozco-Olvera, Victor  and
      R{\"o}ttger, Paul},
    editor = "Che, Wanxiang  and
      Nabende, Joyce  and
      Shutova, Ekaterina  and
      Pilehvar, Mohammad Taher",
    booktitle = "Proceedings of the 63rd Annual Meeting of the {A}ssociation for {C}omputational {L}inguistics (Volume 1: Long Papers)",
    month = jul,
    year = "2025",
    address = "Vienna, Austria",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2025.acl-long.115/",
    doi = "10.18653/v1/2025.acl-long.115",
    pages = "2297--2321",
    ISBN = "979-8-89176-251-0"
}

Details

Annotation Types

radiotext

Domain

NLPHate Speech DetectionComputational Social Science

Use Cases

Hate Speech DetectionContent ModerationTarget Identification

Tags

hatedayhate-speechtwittercontent-warningacl-2025outstanding-paper

Found an issue or want to improve this design?

Open an Issue(opens in a new tab)