Dataset Viewer
Auto-converted to Parquet Duplicate
user1_id
int64
user2_id
int64
total_messages
int64
aggressive_count
int64
intent_to_harm
float64
peerness
float64
label
int64
user1_age
int64
user1_gender
string
user1_grade
int64
user2_age
int64
user2_gender
string
user2_grade
int64
conversation
string
31
88
11
3
0.273864
0.33
0
18
Others
12
8
Female
2
[{"message": "Not enough mention of the PS The PS had a profound impact on the BluRay format I think more information should be added regarding the PS and its role in BluRay", "label": 0}, {"message": "RT JabzzSalam Not sexist but girls on twitter arent funny", "label": 1}, {"message": "Important Note Charles is a va...
65
19
11
2
0.228409
null
0
15
Female
9
16
Others
10
[{"message": "Famous People deleted from article by earlier editor The following while clearly in a raw form was removed by an earlier editor However it contains some probable notable village names eg authors elected politicians a Tollywood producer who may not yet have WP articles but might merit in time mention in...
17
55
17
8
0.447794
0.633333
1
8
Others
2
10
Others
4
[{"message": "HOW DARE YOU EDIT MY SHIT AGAIN ARGGGGGHHHHHHHHHHH jokes lol", "label": 1}, {"message": "Love that the best response to the hotcakes they managed to film was a noncommittal meh from some adolescent MKR", "label": 0}, {"message": "Kat is a total moron Unfortunately were stuck with her for a while yet MKR I...
21
49
7
1
0.158929
0.366667
0
9
Others
3
15
Others
9
[{"message": "BAD FAITH PART II I dont take kindly to implied threats like PLEASE LEAVE link title you have not the cause or reason to say such and it could be construed that you are the Owner which would violated WPOWN as well as WPPA I say to you Propol you leave", "label": 1}, {"message": "A kitten for you Youre ...
9
38
15
3
0.2875
0.233333
0
10
Female
4
18
Others
12
[{"message": "That email is actually not sufficient we cant host anything allowed for Wikipedia it has to be licensed under a free license", "label": 0}, {"message": "Have the balls to respond you little Hawaiian vag I know you probably wont and just wait for someone else to but theres no need for you to smell like st...
22
60
22
8
0.456818
0.366667
0
10
Female
4
16
Others
10
[{"message": "May UTChganesan You are just upset because you cannot find a POSITIVE FACT for Nash The FACTS dont lie These are STANDARD FACTS Find one and put it it probably doesnt exist except some FT percent and if it does and I see it is accurate I wont delete it I will just add the steals and blocks to it But don...
51
40
4
1
0.175
null
0
13
Male
7
16
Male
10
[{"message": "U guys crack me up stop with the piss jokes U guys sound like faggots Ey dude not trying to be messed up im just saying no need to get mad Justin Bieber Ey babe watcha doingSelena Gomez Why you cheating on me Justin CryJustin Bieber o What what you talking boutSelena Gomez Why are you kissing that girlJus...
13
14
10
6
0.425
0.433333
1
17
Female
11
12
Female
6
[{"message": "The return of genre warring socking IP", "label": 0}, {"message": "Respect is earned by respect That user IS a troll and a stalker They are not respected and are close to being banned Did you bother to read the inflammatory garbage that they write on wikipedia Or are you just part of a troll posse", "la...
72
45
7
1
0.158929
null
0
14
Others
8
13
Others
7
[{"message": "Ive blocked you indefinitely as not here to build an encyclopedia That said the above writing style is highly distinctive and Im reasonably sure that youre a sock", "label": 1}, {"message": "Nation would be a better choice I think Ive also seen women used as such an illustrative example", "label": 0}, {"m...
59
98
5
0
0.0625
0.7
0
9
Male
3
10
Others
4
[{"message": "Partly done Ive not found any reliable video link yet but the transcript of the interview on CNNcom and have replaced the misleading source with it Thanks for the improvement suggested anyway Cheers", "label": 0}, {"message": "University of Portsmouth Logo Hi thanks for your message on my user talk abo...
33
31
14
5
0.353571
null
0
12
Female
6
18
Others
12
[{"message": "Is Kat Sideshow Bobs Love Child MKR", "label": 1}, {"message": "Thats libel right there Murder is defined as unlawful killing of another with malice aforethought you stupid wop Attack pilots have to be trained to be aggressive because if they always fly exactly according to book they will die on the firs...
85
86
3
1
0.204167
0.766667
0
11
Male
5
11
Female
5
[{"message": "Yep Karlie Kloss et al are shaking in their boots mkr", "label": 0}, {"message": "Because more slavery exists in the Islamic world than anywhere else And I am very much against N Korea", "label": 1}, {"message": "Also The Washington Post is copywrited material Surely the editorial review can be implemen...
70
46
1
0
0.0125
null
0
12
Male
6
15
Others
9
[{"message": "You probably arrived from a redirect from Dudette See just under the title under From Wikipedia the free encyclopedia where it mentions the redirect See WikipediaRedirect for further details", "label": 0}]
55
6
3
2
0.370833
null
0
10
Others
4
16
Male
10
[{"message": "Kat and Andre you fucking conniving arseholes A fucking one Thats it Im done you are simply EVIL and not worthy of this show MKR", "label": 0}, {"message": "nice work removing edits faggot ass piece of shit nice work removing edits faggot ass piece of shit nice work removing edits faggot ass piece of sh...
91
83
9
1
0.168056
null
0
8
Others
2
15
Female
9
[{"message": "Title Looks Like I just realized about how similar the title to this game looks like the legend of zelda one", "label": 0}, {"message": "RT Janx Firyayek Good vid When we advanced they left weapons and ran\nTwitterKurds\nKobane\nIslamicState\nKhilafah httptco", "label": 0}, {"message": "Regarding discus...
61
37
5
0
0.0625
null
0
11
Others
5
10
Others
4
[{"message": "You could try asking at the help desk and his otters Otter chirps HELP", "label": 0}, {"message": "Id suggest Permabanning this IP All it is used for is trolling wikipedia and needs to be removed", "label": 0}, {"message": "I suggest you keep out of my way then", "label": 0}, {"message": "I really d...
54
89
10
4
0.325
0.433333
0
15
Others
9
10
Male
4
[{"message": "Today I made a change to some of the wording in this section based on the notion that a right is inherentinalienable and is thus not something which can be conferred rather only acknowledged and protected at least when talking about law social contracts and a political candidates position in regard to suc...
58
18
1
1
0.5125
null
0
8
Others
2
10
Male
4
[{"message": "You do more damage than the vandals", "label": 1}]
69
31
7
3
0.301786
null
0
11
Female
5
18
Others
12
[{"message": "AbuTalal years ago Islam stole all womens rights and turned them into slaves forever", "label": 1}, {"message": "Please help Please observe the situation with me and I know I appear to have transgressed but this just appears to be more harrassment The current issue is over the presence of IPSockpupp...
91
75
1
0
0.0125
null
0
8
Others
2
11
Others
5
[{"message": "Sheesh this conversation is laughable Miadre is of course right that the UNESCO statement has about as much scholarly credibility as the Nuremberg finding on Katyn", "label": 0}]
37
27
3
1
0.204167
null
0
10
Others
4
13
Others
7
[{"message": "racist reetards im sick of you racist reeetards who continue to distort your filthy british history but those who matter know we know tosser we know", "label": 1}, {"message": "Hi and thanks for reminding me about this I have done some work on converting to a dab page and dealing with the incoming links...
43
72
7
4
0.373214
0.7
0
13
Others
7
14
Others
8
[{"message": "Ed Edd n Eddy EDventures Okay This time I will let you go But if Nickelodeon airs Ed Edd n Eddy EDventures then it goes back in those lists", "label": 0}, {"message": "removal this The unusual toxicity of nhexane compared with other alkanes has resulted in the chemical industry switching away from nh...
19
71
18
9
0.475
0.7
1
16
Others
10
15
Female
9
[{"message": "Stop Hey I dislike your whitewashing I dislike your dishonesty and I dislike your undoing of my edits stalking me around like that Stick to the Christianpropaganda project youre already engaged in and bug off from me Not only are you religiouslydelusional but youre also annoying", "label": 1}, {"message...
56
10
7
1
0.158929
null
0
16
Female
10
16
Male
10
[{"message": "I saw that you have done the work on rflurbiprofen Have you seen this or this It looks like there is a new generic name", "label": 0}, {"message": "xaThe only thing retarded is you", "label": 1}, {"message": "Apology from me to you Allow me to say sorry for my personal attack towards you this morning...
88
41
5
0
0.0625
null
0
8
Female
2
17
Female
11
[{"message": "What is your take on reliance groupthe price of these stock are far lower in k mkt then they were in k mkt yrs agoyour view please", "label": 0}, {"message": "Former Porn Star and Hollywood actor turned PI PAUL BARRESI conducted investigations on behalf of dozens of Hollywood celebrities including TOM CRU...
25
76
11
4
0.319318
0.766667
0
9
Others
3
9
Male
3
[{"message": "Yeah My eye opener was a pay gap article I know a little about econtried to explain why it was math not sexism But", "label": 1}, {"message": "Professional wrestling in Australia Please note that the WCW noted in this article has nothing to do with the WCW of the United States in the s a", "label": 0}, ...
19
34
5
2
0.2625
0.633333
0
16
Others
10
18
Others
12
[{"message": "OK I can wait few days but I want alert you because I read your post to DIREKTOR in your talk Yeah well okay How about I say an editor who has been the subject of many ANI reports and whose behavior has often been criticized in those reports Oh or an editor who has been blocked edit warring numerous tim...
19
93
23
6
0.417935
0.233333
0
16
Others
10
8
Male
2
[{"message": "First of all I know that its free to edit Ive heard that a million times and I meant to say my article as in my edits not my personal article Second I said Im American because you claim youre from London and I figure that theres different things you see in London that are different from what Americans see...
99
61
3
0
0.0375
null
0
11
Others
5
11
Others
5
[{"message": "I do not run an antiStowe website I created a blog that has put to bed many rumors about the man I have presented facts on that blog and invited anyone to challenge them No one has challenged the facts I have not met Reid Stowe Im sure he is a very nice person and as Ive said before Id love to buy ...
39
36
10
2
0.225
null
0
8
Others
2
18
Male
12
[{"message": "Y this idiot on rise wen MCD is bound to be expected in Delhi Political tactics of bjp and rss He is nothing but just a puppet of Bjp and rssand what is his take on lok pal Bill wer is his commitment on itbudda badmash nikla", "label": 1}, {"message": "Im sorry but thats a crap answer First many of the sa...
63
29
3
2
0.370833
null
0
8
Others
2
9
Male
3
[{"message": "these are strong and angry words not interested in discussion or consensus Blatantly misrepresenting How The quote is not misrepresenting Cherry picking out of context How it is Paul Krugmans a definition of fiat money what more context would you want what is it supposed to mean this is one more form of...
79
40
7
1
0.158929
null
0
10
Female
4
16
Male
10
[{"message": "Might be time to make a Facebook version of ggautoblocker P", "label": 0}, {"message": "cxarli i wear beats headphones for phone calls P", "label": 0}, {"message": "Support A google Books search for Mohandas Karamchand Gandhi in quotes gets results Mahatma Gandhi in quotes gets results a different order...
98
88
1
1
0.5125
null
0
10
Others
4
8
Female
2
[{"message": "Viru you have surpassed the boundaries of ignorance", "label": 1}]
40
78
2
0
0.025
0.633333
0
16
Male
10
14
Others
8
[{"message": "carlo the point about collins is that he is making a general point about prestige ie wembley and us pro were over years the most prestigous the french dissappeared for more years than the other he is not specifically referring to In with laver rosewall hoad and gonzales in the us field you have the fo...
66
84
13
4
0.316346
0.566667
0
8
Others
2
11
Others
5
[{"message": "Look Mickey Could you please Strike resolved issues WPCHICAGOWPFOUR", "label": 0}, {"message": "Toyota A neutral point of view I have credible sources including an article from the Washington PostDo you honestly believe the Burma Campaign Uk listed Toyota on their shame list for fun Let me get this...
20
5
7
3
0.301786
null
0
8
Others
2
17
Male
11
[{"message": "Sorry looks like the posts on ANI have been archive since I saw them See and", "label": 0}, {"message": "Please stop raping little boys in the anus Dont you know thats illegal", "label": 1}, {"message": "FUCK YOU YOU MOTHER FUCKING ASS CRACKER DILDO LICKING PIECE OF FUCKING ASS SHIT GO CHOKE ON A MOTHER ...
100
72
1
1
0.5125
null
0
17
Others
11
14
Others
8
[{"message": "biebervalue greenlinerzjm Here is the Quran telling Muslim men that they can rape their slave girls httptcoFyNapWCBWw", "label": 1}]
50
61
16
5
0.35625
0.5
0
15
Male
9
11
Others
5
[{"message": "who the hell the lies about stuff that anyone can check my just looking at a different part of the same page the lie is written on", "label": 0}, {"message": "you are a cunt so how about a blowjob", "label": 1}, {"message": "You are right This guy is trying to change Turkey into an Islamic state and un...
11
43
27
13
0.578241
0.7
1
12
Others
6
13
Others
7
[{"message": "NeilN NeilN needs to extract his head from his arse Bob", "label": 1}, {"message": "You are a bit ignorant deleting peoples topics If they are legit enough they should be there not just because you dont believe in or like the article objective", "label": 0}, {"message": "this was the statement as dail...
37
1
12
4
0.316667
null
0
10
Others
4
11
Others
5
[{"message": "the long count is NOT a calendar POD it is chronological like julian days please verify content Last one No acknowledgement no thank you This isnt worth it Stay stupid about M", "label": 1}, {"message": "I have contacted some adminisrator friends about the abuse and unprofessionalisim of Will I am no...
8
52
36
13
0.630556
0.633333
1
13
Male
7
11
Others
5
[{"message": "Reception Update is needed httpwwwsputnikmusiccomreviewGameJesusPiece", "label": 0}, {"message": "Many muslims in India name only Muslim but they dont know anything about Islam", "label": 1}, {"message": "SUCK MY ASSHOLE YOU HAVE LESS OF A LIFE THAN ME FUCK A HORSE YOU SHITBAG", "label": 1}, {"message": "...
60
98
8
3
0.2875
0.366667
0
16
Others
10
10
Others
4
[{"message": "Excuse me but you already gave your opinion I dont need to know it again If you want to give it to other people thats okay but I dont need to know it You took it out of contex", "label": 0}, {"message": "RT smoovfellow The only thing a woman should help a man build is a relationship tbh nosexist", "label"...
64
100
6
0
0.075
0.233333
0
9
Others
3
17
Others
11
[{"message": "FakeToniaTodman Kat is actually Neville Wrans daughter shes found another use for those knives mkr mkr", "label": 0}, {"message": "Roostrwoodstock EnaLolena Im not listening to any more of the filth that the proven criminal Putin is paying you to spout Blocked", "label": 0}, {"messag...
18
3
10
4
0.325
null
0
10
Male
4
11
Male
5
[{"message": "Comments from Jnims Great job with your project Lets start with the things I particularly enjoyedappreciated Good stuff Lots of informative content Good organization Clear prose Surprisingly easy to read in a good way I have very few suggestions to make because the article is excellent overall But her...
86
2
6
1
0.158333
null
0
11
Female
5
15
Male
9
[{"message": "Oh please I have brought the protectedpage editrequests live polls and urgent debate re the dispute over the page lock to the bottom of the Ireland page you a notoriously contentious editor have continually moved them to the top so you can continue the totally unproductive MickMacNee show over the page M...
16
85
13
5
0.354808
0.5
0
15
Female
9
11
Male
5
[{"message": "ONLY A NEONAZI QUACK WOULD INSIST ON AN ARYANTAINTED VIEW OF PIE AS A SINGLE LANGUAGE WITH A SINGLE PEOPLE Romantic notion but obviously not science", "label": 1}, {"message": "April Please stop your disruptive editing If you continue to vandalize Wikipedia you will be blocked from editing If this...
40
80
5
2
0.2625
0.766667
0
16
Male
10
16
Female
10
[{"message": "Hi Hitler vandalismo isnt put here imageflag Flag of Moroccosvg its thre you are proMorroco and hate saharawis", "label": 1}, {"message": "YesAllWomen because I avoid my favorite restaurant during lunch hours because a man who tries to chat me up works there then", "label": 0}, {"message": "It is grea...
18
10
21
8
0.452976
null
0
10
Male
4
16
Male
10
[{"message": "WV standard practice is to ask a neutral party to do it for you If you want to bring a report go right ahead Ive already talked to other users who are ready to discuss your disruptive and unproductive behavior most youve crossed during the last few days Again heed WPBOOMERANG Post on my talk page againan...
End of preview. Expand in Data Studio

Cyberbullying Detection — CB2

Dataset Description

CB2 is a relational, conversation-level cyberbullying detection dataset. Unlike single-post datasets, each instance in CB2 represents a pair of users and their full message exchange. The cyberbullying label is determined at the conversation level (i.e., whether the interaction between two users constitutes cyberbullying), enriched with demographic information, social closeness (peerness), and message-level aggression statistics.

The dataset was constructed from a school-age online communication study involving students aged 8–17 across 15 anonymised schools.

This dataset is part of the Cyberbullying-Detection collection on Hugging Face.


Dataset Structure

Data Fields

Field Type Description
user1_id int Unique ID of User 1 (initiator)
user2_id int Unique ID of User 2 (recipient)
user1_age int Age of User 1
user1_gender string Gender of User 1 (Male, Female, Others)
user1_grade int School grade of User 1
user2_age int Age of User 2
user2_gender string Gender of User 2 (Male, Female, Others)
user2_grade int School grade of User 2
total_messages int Total number of messages exchanged between the pair
aggressive_count int Number of messages classified as aggressive
intent_to_harm float Computed intent-to-harm score (0.0–1.0)
peerness float Social closeness / similarity score between the two users (0.0–1.0)
conversation list[dict] Ordered list of messages: each entry is {"message": str, "label": int} where label is 1 (aggressive) or 0 (non-aggressive)
label int Binary cyberbullying label: 1 = cyberbullying, 0 = not cyberbullying

Label Classes

Value Meaning
1 The user-pair interaction constitutes cyberbullying
0 The user-pair interaction does not constitute cyberbullying

Source Files

CB2 was assembled from 6 source files:

File Role
1. users_data.csv Demographic info per user (age, gender, school, grade)
2. peerness_values.csv Pairwise social closeness scores
3. Aggressive_All.csv Corpus of all aggressive messages (reference)
4. Non_Aggressive_All.csv Corpus of all non-aggressive messages (reference)
5. Communication_Data_Among_Users.csv Timestamped message log with per-message aggression labels
6. CB_Labels.csv Pivot file — one row per user-pair with aggregated stats and final CB label

Dataset Splits

The dataset is split as follows:

Split Size Description
train 75% of total Training set
validation 2,000 rows Development / validation set (sampled from the 25% held-out portion)
test Remaining ~25% minus 2,000 Test set

Split Methodology

from sklearn.model_selection import train_test_split

# Step 1: 75% train, 25% test+dev (stratified on label)
train_df, test_dev_df = train_test_split(df, test_size=0.25, random_state=42, stratify=df["label"])

# Step 2: 2000 rows for dev, rest for test
dev_df = test_dev_df.sample(n=2000, random_state=42)
test_df = test_dev_df.drop(dev_df.index)

Usage

from datasets import load_dataset

dataset = load_dataset("Washii/Cyberbullying-Detection-CB2")

# Access splits
train = dataset["train"]
validation = dataset["validation"]
test = dataset["test"]

# Example row
print(train[0])
# {
#   'user1_id': 1, 'user2_id': 2,
#   'user1_age': 11, 'user1_gender': 'Others', 'user1_grade': 5,
#   'user2_age': 15, 'user2_gender': 'Male', 'user2_grade': 9,
#   'total_messages': 36, 'aggressive_count': 23,
#   'intent_to_harm': 0.769, 'peerness': 0.5,
#   'conversation': [
#       {'message': 'bye bye dear bajaj...', 'label': 1},
#       {'message': 'Article updated', 'label': 0},
#       ...
#   ],
#   'label': 1
# }

Construction Notes

  • The conversation field is built by grouping all messages in 5. Communication_Data_Among_Users.csv by (User1 ID, User2 ID), sorted by Date and Time, and stored as a list of {message, label} dicts.
  • The peerness field in the final table comes directly from 6. CB_Labels.csv (which already incorporates values from 2. peerness_values.csv).
  • User demographics are joined twice (once for User 1, once for User 2) from 1. users_data.csv.
  • Files 3. Aggressive_All.csv and 4. Non_Aggressive_All.csv are reference corpora and are not directly joined into the final table (their content is already represented via file 5).

Source Data

The original data is sourced from https://data.mendeley.com/datasets/wmx9jj2htd/2 (A Comprehensive Dataset for Automated Cyberbullying Detection)

Citation

If you use this dataset, please cite the original source appropriately.


Dataset Card Authors

Uploaded and curated by Washii.

Downloads last month
50