Repository for "Leveraging Conflicts in Social Media Posts: Unintended Offense Dataset" paper, published in EMNLP 2024. All updates on this public dataset can be found in this repository.
Unintended Offense tweets (UO) collected through the method proposed in the paper are combined with negatives from hatespeech-twitter (Founta) to build this Unintended Offense Dataset. The details of the combinations are listed below.
(Note: These Train/Val/Test splits are not whole conversations because the Founta doesn't provide contexts.)
3 types of train & validation set are provided, under 3 different settings as the experiment section in the paper:
Type | Size (train+val) | Positives | Negatives |
---|---|---|---|
Annotated | 2088 (1670+418) | UO(50+) | Founta(negatives) |
Mixed | 5322 (4256+1066) | UO(50+) & UO(unannotated) | Founta(negatives) |
Full | 7504 (6022+1502) | UO(all) | Founta(negatives) |
(50+ means only the tweets with offensiveness annotation >50 are included)
1 type of test set is provided under the "Mixed" setting
Type | Size (test) | Positives | Negatives |
---|---|---|---|
Mixed | 524 | UO(50+) & UO(unannotated) | Founta(negatives) |
Whole conversations that include the contexts are provided in the follwing files:
- conversations_with_attr.json: It contains the crawled data with raw attributes of tweets.
- conversations_text_only.json: It's our parsed version that only the author and the text are kept in each post. The conversations were segemented based on the struture proposed in the paper.
A example conversation from the parsed version looks like this:
{ "conversation_id": "1391034802506174466", "context_tweets": [ { "author_id": "869417417327480832", "text": "My weight this morning is 193 lbs, up from 191.8 yesterday." } ], "target_tweet": [ { "author_id": "74255689", "text": "@StevijoPayne You should weigh yourself once a week on the same day at the same time. Your weight will fluctuate from day to day but you get a good sense of where you are on a weekly basis. You will just frustrate yourself if you do it everyday" } ], "follow-up_tweet": [ { "author_id": "869417417327480832", "text": "@Micpo972 I know how to weigh." } ], "cue_tweets": [ { "author_id": "74255689", "text": "@StevijoPayne Sorry didn\u2019t mean to offend." } ] },
Also, The following is the biblatex of the work of Founta. Please cite their paper in any published work that uses any of resources from their work.
@inproceedings{founta2018large,
title={Large Scale Crowdsourcing and Characterization of Twitter Abusive Behavior},
author={Founta, Antigoni-Maria and Djouvas, Constantinos and Chatzakou, Despoina and Leontiadis, Ilias and Blackburn, Jeremy and Stringhini, Gianluca and Vakali, Athena and Sirivianos, Michael and Kourtellis, Nicolas},
booktitle={11th International Conference on Web and Social Media, ICWSM 2018},
year={2018},
organization={AAAI Press}
}