Dataset Viewer
Auto-converted to Parquet Duplicate
message
string
label
int64
char_count
int64
word_count
int64
avg_word_length
float64
uppercase_ratio
float64
digit_ratio
float64
special_char_ratio
float64
exclamation_count
int64
question_mark_count
int64
has_url
int64
url_count
int64
has_shortened_url
int64
has_phone_number
int64
has_email
int64
has_currency
int64
urgency_score
int64
unicode_ratio
float64
char_entropy
float64
suspicious_spacing
int64
leet_ratio
float64
max_digit_run
int64
repeated_char_ratio
float64
vocab_richness
float64
has_obfuscated_url
int64
ive been doing hordepoint and its slow
0
38
7
4.571429
0
0
0
0
0
0
0
0
0
0
0
0
0
3.767279
0
0
0
0.027027
1
0
then it kicks me back to codhq
0
30
7
3.428571
0
0
0
0
0
0
0
0
0
0
0
0
0
3.647743
0
0
0
0
1
0
why is the formula so hard
0
26
6
3.5
0
0
0
0
0
0
0
0
0
0
0
0
0
3.763342
0
0
0
0
1
0
She had them hanging out
0
24
5
4
0.05
0
0
0
0
0
0
0
0
0
0
0
0
3.501629
0
0
0
0
1
0
i play 40 elestrals
0
19
4
4
0
0.105263
0
0
0
0
0
0
0
0
0
0
0
3.431624
0
0.105263
2
0
1
0
it's useful in some cases
0
25
5
4.2
0
0
0.04
0
0
0
0
0
0
0
0
0
0
3.509275
0
0
0
0
1
0
But xbox nowhere
0
16
3
4.666667
0.071429
0
0
0
0
0
0
0
0
0
0
0
0
3.375
0
0
0
0
1
0
what has happened
0
17
3
5
0
0
0
0
0
0
0
0
0
0
0
0
0
3.175123
0
0
0
0.0625
1
0
I'm curious as well
0
19
4
4
0.066667
0
0.052632
0
0
0
0
0
0
0
0
0
0
3.576618
0
0
0
0.055556
1
0
This is the only positive use for ai
0
36
8
3.625
0.034483
0
0
0
0
0
0
0
0
0
0
0
0
3.627542
0
0
0
0
1
0
yeah I tested with without
0
26
5
4.4
0.045455
0
0
0
0
0
0
0
0
0
0
0
0
3.320659
0
0
0
0
1
0
rush hour myntr@com pm to pm get flat off only 7oday visit googlkkouax download myntra app googlvely
1
100
17
4.941176
0
0.01
0.01
0
0
0
0
0
0
0
0
0
0
4.20657
0
0.02
1
0.050505
0.941176
0
Idk what tf boba's are made of mate-
0
36
8
3.625
0.037037
0
0.055556
0
0
0
0
0
0
0
0
0
0
3.759622
0
0
0
0
1
0
I dont have a profanity filter
0
30
6
4.166667
0.04
0
0
0
0
0
0
0
0
0
0
0
0
3.71108
0
0
0
0
1
0
Hee. I just woke up n had my breakfast. Yup tonite of cse fetching u all. See u soon tonite.
0
92
20
3.65
0.057971
0
0.043478
0
0
0
0
0
0
0
0
0
0
4.051498
0
0
0
0.043956
0.95
0
It’s okay i dont have mona or jean
0
34
8
3.375
0.038462
0
0.029412
0
0
0
0
0
0
0
0
0
0.029412
3.72257
0
0
0
0
1
0
this republic day we give you reasons to try the new mobile trader to read all the reasons to download the app click httpsgooglhxomt team edelweiss
1
147
26
4.692308
0
0
0
0
0
0
0
0
0
0
0
0
0
4.063949
0
0
0
0.034247
0.807692
1
Okay Jadejonny, obviously not a Volt backed up by a Zues but you didn't say Zues did ya D
0
89
19
3.736842
0.086957
0
0.022472
0
0
0
0
0
0
0
0
0
0
3.959674
0
0
0
0.011364
0.894737
0
It’s improving on everything on Cold War!
0
41
7
5
0.090909
0
0.04878
1
0
0
0
0
0
0
0
0
0.02439
4.082804
0
0.02439
0
0
0.857143
0
That can still be the case. There wasn't exactly one sheet produced
0
67
12
4.666667
0.037037
0
0.029851
0
0
0
0
0
0
0
0
0
0
3.881127
0
0
0
0.030303
1
0
Like you could literally just make current drataya but once per turn and it’d be fine
0
85
16
4.375
0.014493
0
0.011765
0
0
0
0
0
0
0
0
0
0.011765
3.982707
0
0
0
0.02381
1
0
I think charcoons a bit too clunky to use , 3 fire or rather 2 fire spirits on board is a lot to ask
0
100
24
3.208333
0.013514
0.02
0.01
0
0
0
0
0
0
0
0
0
0
3.858402
0
0.01
1
0.020202
0.875
0
wait why are there 5 earth spirits
0
34
7
4
0
0.029412
0
0
0
0
0
0
0
0
0
0
0
3.388215
0
0.029412
1
0
1
0
issue is most artists are on twitter
0
36
7
4.285714
0
0
0
0
0
0
0
0
0
0
0
0
0
3.27995
0
0
0
0.057143
1
0
no shot I mean at at my job rn cant open the game rn to check out but aint no way they finally add some lore to the blackcell operators
0
135
30
3.533333
0.009434
0
0
0
0
0
0
0
0
0
0
0
0
3.926839
0
0
0
0.022388
0.833333
0
It's real jk
0
12
3
3.333333
0.111111
0
0.083333
0
0
0
0
0
0
0
0
0
0
3.418296
0
0
0
0
1
0
Photogenic snep
0
15
2
7
0.071429
0
0
0
0
0
0
0
0
0
0
0
0
3.373557
0
0
0
0
1
0
New arrivals at Alkaram! Explore our latest Autumn collection. Available in stores nationwide.
0
94
13
6.307692
0.063291
0
0.031915
1
0
0
0
0
0
0
0
0
0
4.017519
0
0.010638
0
0.021505
1
0
plus comics boring af
0
21
4
4.5
0
0
0
0
0
0
0
0
0
0
0
0
0
3.784942
0
0
0
0
1
0
I was thinking Nightfall to go along with Daybreak but we alr got Frost Fall so unlikely
0
88
17
4.235294
0.069444
0
0
0
0
0
0
0
0
0
0
0
0
3.950045
0
0
0
0.022989
1
0
i'll search for it later then
0
29
6
4
0
0
0.034483
0
0
0
0
0
0
0
0
0
0
3.594905
0
0
0
0.035714
1
0
Even Vanguard had unique multiplayer maps. 90 of the maps in MWII are just sectioned-off areas of Al Mazrah.
0
108
19
4.736842
0.094118
0.018519
0.027778
0
0
0
0
0
0
0
0
0
0
4.280952
0
0.009259
2
0.018692
0.947368
0
THEN WHY WUR Y COMPLAINING THAT IT WAS STRAIGHT ON THE WALL AND NOT OUTWARD
0
75
15
4.066667
1
0
0
0
0
0
0
0
0
0
0
0
0
3.859184
0
0
0
0.013514
1
0
Minor stuff?
0
12
2
5.5
0.1
0
0.083333
0
1
0
0
0
0
0
0
0
0
3.418296
0
0
0
0.090909
1
0
They despaired prolly
0
21
3
6.333333
0.052632
0
0
0
0
0
0
0
0
0
0
0
0
3.594466
0
0
0
0.05
1
0
Thank from r not embarrassing me bro
0
36
7
4.285714
0.033333
0
0
0
0
0
0
0
0
0
0
0
0
3.666065
0
0
0
0.057143
1
0
No idea who thuh latter is.
0
27
6
3.666667
0.047619
0
0.037037
0
0
0
0
0
0
0
0
0
0
3.676391
0
0
0
0.038462
1
0
But then they introduced rebirth
0
32
5
5.6
0.035714
0
0
0
0
0
0
0
0
0
0
0
0
3.527518
0
0
0
0
1
0
The two references are Yugioh and Street Fighter, by the way
0
60
11
4.545455
0.081633
0
0.016667
0
0
0
0
0
0
0
0
0
0
3.822428
0
0
0
0.016949
0.909091
0
Aaah yeah I’m all about that bass
0
33
7
3.857143
0.076923
0
0.030303
0
0
0
0
0
0
0
0
0
0.030303
3.377135
0
0
0
0.09375
1
0
Alright! See you
0
16
3
4.666667
0.153846
0
0.0625
1
0
0
0
0
0
0
0
0
0
3.75
0
0.0625
0
0.066667
1
0
also airport had no cameras so they blame the usa
0
49
10
4
0
0
0
0
0
0
0
0
0
0
0
0
0
3.768884
0
0
0
0
1
0
I was away from home
0
20
5
3.2
0.0625
0
0
0
0
0
0
0
0
0
0
0
0
3.384184
0
0
0
0
1
0
Gul Ahmed Summer Sale — Flat 20% off on selected items. Valid 1st-5th Oct.
0
74
14
4.357143
0.134615
0.054054
0.067568
0
0
0
0
0
0
0
0
0
0.013514
4.226333
0
0.040541
2
0.027397
1
0
party at 10pm at my house.
0
26
6
3.5
0
0.076923
0.038462
0
0
0
0
0
0
0
0
0
0
3.657385
0
0.076923
2
0
0.833333
0
Charlieintel and Doug both have sub 80 IQ
0
41
8
4.25
0.125
0.04878
0
0
0
0
0
0
0
0
0
0
0
4.072893
0
0.02439
2
0
1
0
but we are all 3, not 12
0
24
7
2.571429
0
0.125
0.041667
0
0
0
0
0
0
0
0
0
0
3.605389
0
0.083333
2
0.043478
1
0
And the 2 secret stellars
0
25
5
4.2
0.05
0.04
0
0
0
0
0
0
0
0
0
0
0
3.383465
0
0
1
0.041667
1
0
Real men do the dmz challenge
0
29
6
4
0.041667
0
0
0
0
0
0
0
0
0
0
0
0
3.548527
0
0
0
0.035714
1
0
''''normal''''
0
14
1
14
0
0
0.571429
0
0
0
0
0
0
0
0
0
0
2.093069
0
0
0
0.461538
1
0
Panda be cooking up them counter Runes
0
38
7
4.571429
0.0625
0
0
0
0
0
0
0
0
0
0
0
0
3.905308
0
0
0
0.027027
1
0
gonna put my machine into the real test when stalker 2 releases
0
63
12
4.333333
0
0.015873
0
0
0
0
0
0
0
0
0
0
0
3.857013
0
0
1
0.016129
1
0
Hi ! Get 25% off when you insure two cars with MiWay and live your way. Reply YES for a quote. STOP to optout. Ts&Cs apply. Licensed STI&FSP:33970
1
146
28
4.25
0.203883
0.047945
0.061644
1
0
0
0
0
0
0
0
0
0
4.419
0
0.041096
5
0.02069
1
0
BofA Alert : We've noticed some odd activity with your online. Please verify and follow to enable secure functions.
1
115
19
5.105263
0.053763
0
0.034783
0
0
0
0
0
0
0
0
2
0
4.155254
0
0
0
0.017544
1
0
I think the beta
0
16
4
3.25
0.076923
0
0
0
0
0
0
0
0
0
0
0
0
3.030639
0
0
0
0
1
0
This was free Thankfully
0
24
4
5.25
0.095238
0
0
0
0
0
0
0
0
0
0
1
0
3.803509
0
0
0
0.086957
1
0
not even close to holding the gun
0
33
7
3.857143
0
0
0
0
0
0
0
0
0
0
0
0
0
3.521223
0
0
0
0
1
0
COD players when they see topographical maps: "DAMASCUS??????????"
0
66
8
7.375
0.23913
0
0.19697
0
10
0
0
0
0
0
0
0
0
4.107053
0
0
0
0.153846
1
0
I can’t find it on the web
0
26
7
2.857143
0.052632
0
0.038462
0
0
0
0
0
0
0
0
0
0.038462
3.478346
0
0
0
0
1
0
Oh wait. I do have PK built in MD
0
33
9
2.777778
0.25
0
0.030303
0
0
0
0
0
0
0
0
0
0
3.771667
0
0
0
0
1
0
Yeah I saw.. Alright, but I won't be home til late and I still don't want to
0
76
17
3.529412
0.090909
0
0.065789
0
0
0
0
0
0
0
0
0
0
3.897029
0
0
0
0.026667
0.882353
0
marvel was 2 seasons ago
0
24
5
4
0
0.041667
0
0
0
0
0
0
0
0
0
0
0
3.418296
0
0
1
0
1
0
Could've did round based on WZ map with infinite spawns like modded Zombies
0
75
13
4.846154
0.064516
0
0.013333
0
0
0
0
0
0
0
0
0
0
4.099955
0
0
0
0.013514
1
0
great idea!!!
0
13
2
6
0
0
0.230769
3
0
0
0
0
0
0
0
0
0
3.026987
0
0.230769
0
0.166667
1
0
Yeah for example me who always gets in a way when Lycaon tries to study
0
71
15
3.8
0.035088
0
0
0
0
0
0
0
0
0
0
0
0
3.9458
0
0
0
0
1
0
M1911 and M4A1
0
14
3
4
0.5
0.428571
0
0
0
0
0
0
0
0
0
0
0
2.807355
0
0.357143
4
0.076923
1
0
Their name reminded be of
0
25
5
4.2
0.047619
0
0
0
0
0
0
0
0
0
0
0
0
3.459471
0
0
0
0
1
0
I’m glad I don’t have classes tomorrow but
0
42
8
4.375
0.060606
0
0.047619
0
0
0
0
0
0
0
0
0
0.047619
4.060981
0
0
0
0.04878
1
0
Say qee qee out loud
0
20
5
3.2
0.0625
0
0
0
0
0
0
0
0
0
0
0
0
3.221928
0
0
0
0.105263
0.8
0
That's all I've been seeing Maybe the rare XMG and Swat 5.56
0
60
12
4.083333
0.162791
0.05
0.05
0
0
0
0
0
0
0
0
0
0
4.022336
0
0.033333
2
0.050847
1
0
I was getting like 3 per wz match
0
33
8
3.25
0.04
0.030303
0
0
0
0
0
0
0
0
0
0
0
3.834814
0
0.030303
1
0.03125
1
0
They should've added at least the auto drone feature to main one with this rework
0
81
15
4.466667
0.015152
0
0.012346
0
0
0
0
0
0
0
0
0
0
3.866888
0
0
0
0.0125
1
0
tried to look for it a few years ago and couldn't find it
0
57
13
3.461538
0
0
0.017544
0
0
0
0
0
0
0
0
0
0
3.812565
0
0
0
0.017857
0.923077
0
I'm high karma vault hero
0
25
5
4.2
0.05
0
0.04
0
0
0
0
0
0
0
0
0
0
3.703465
0
0
0
0
1
0
Does chubby count as big
0
24
5
4
0.05
0
0
0
0
0
0
0
0
0
0
0
0
3.720176
0
0
0
0.043478
1
0
Octavio, the 4 octo bosses, plus the final boss
0
47
9
4.333333
0.027778
0.021277
0.042553
0
0
0
0
0
0
0
0
0
0
3.814707
0
0.021277
1
0.043478
0.888889
0
iw10 engine gonna be somehow even worse for optimization
0
56
9
5.333333
0
0.035714
0
0
0
0
0
0
0
0
0
0
0
3.893475
0
0.035714
2
0.018182
1
0
big dhamaka get off on grocery flat additional on mobikwik use code ss max discount rs shop now save ur weekend wwwaskmegrocerycom
0
130
22
4.954545
0
0
0
0
0
0
0
0
0
0
0
0
0
4.200103
0
0
0
0.046512
0.954545
0
What was yours
0
14
3
4
0.083333
0
0
0
0
0
0
0
0
0
0
0
0
3.235926
0
0
0
0
1
0
classic minimap
0
15
2
7
0
0
0
0
0
0
0
0
0
0
0
0
0
3.056565
0
0
0
0.071429
1
0
i have youtube and soon soccer on my other monitor
0
50
10
4.1
0
0
0
0
0
0
0
0
0
0
0
0
0
3.763074
0
0
0
0.040816
1
0
Trying to understand what makes good yield
0
42
7
5.142857
0.027778
0
0
0
0
0
0
0
0
0
0
0
0
3.951143
0
0
0
0.02439
1
0
Plus that kinda looks like the weapon vault for the m4
0
54
11
4
0.023256
0.018519
0
0
0
0
0
0
0
0
0
0
0
3.970838
0
0.018519
1
0.018868
0.909091
0
I can't even bind my keys properly, how did they regress 20 years later?
0
72
14
4.214286
0.018519
0.027778
0.041667
0
1
0
0
0
0
0
0
0
0
4.176468
0
0.013889
2
0.014085
1
0
I gained like 40 pounds this year and I feel so fat
0
51
12
3.333333
0.052632
0.039216
0
0
0
0
0
0
0
0
0
0
0
3.877569
0
0.039216
2
0.02
0.916667
0
Haha no lah I mean include the holiday too lol... cos my pdl end onthe start of next sems lol... hope I dun spend.so much lol cos lasttime take before le so shld be ok... need a bit practice lol
0
194
40
3.875
0.02069
0
0.051546
0
0
0
0
0
0
0
0
0
0
3.975761
0
0
0
0.046632
0.9
0
at least its not out of the question, just a hiatus from music
0
62
13
3.846154
0
0
0.016129
0
0
0
0
0
0
0
0
0
0
3.711731
0
0
0
0
1
0
why so zesty
0
12
3
3.333333
0
0
0
0
0
0
0
0
0
0
0
0
0
3.084963
0
0
0
0
1
0
People are still named Jesus
0
28
5
4.8
0.083333
0
0
0
0
0
0
0
0
0
0
0
0
3.624519
0
0
0
0.037037
1
0
Haha but I slept until you came also! Haha yeah wow it's crazy long!!
0
69
14
4
0.057692
0
0.057971
3
0
0
0
0
0
0
0
0
0
4.047007
0
0.043478
0
0.014706
0.928571
0
Never heard, gonna listen to it hehehe
0
38
7
4.571429
0.032258
0
0.026316
0
0
0
0
0
0
0
0
0
0
3.565924
0
0
0
0.027027
1
0
why is granny tweaking so much
0
30
6
4.166667
0
0
0
0
0
0
0
0
0
0
0
0
0
3.89474
0
0
0
0.034483
1
0
And the pistol
0
14
3
4
0.083333
0
0
0
0
0
0
0
0
0
0
0
0
3.521641
0
0
0
0
1
0
Lol alright i was thinkin that too haha
0
39
8
4
0.03125
0
0
0
0
0
0
0
0
0
0
0
0
3.388218
0
0
0
0.026316
1
0
End its suffering
0
17
3
5
0.066667
0
0
0
0
0
0
0
0
0
0
0
0
3.38158
0
0
0
0.0625
1
0
I don’t think I can finish them their too filling
0
49
10
4
0.051282
0
0.020408
0
0
0
0
0
0
0
0
0
0.020408
3.686067
0
0
0
0.041667
0.9
0
So anyways god of war won
0
25
6
3.333333
0.05
0
0
0
0
0
0
0
0
0
0
0
0
3.23908
0
0
0
0
1
0
Ok yeah the AMES is a ranged AR
0
31
8
3
0.291667
0
0
0
0
0
0
0
0
0
0
0
0
3.49416
0
0
0
0
1
0
Ok c Ì_ then.
0
14
4
2.75
0.25
0
0.214286
0
0
0
0
0
0
0
0
0
0.142857
3.46772
0
0
0
0
1
0
Otherwise wait for the element you want
0
39
7
4.714286
0.030303
0
0
0
0
0
0
0
0
0
0
0
0
3.692095
0
0
0
0
1
0
End of preview. Expand in Data Studio

Smishing & Spam Detection Dataset

A curated, English-only dataset for training binary text classifiers to detect smishing (SMS phishing) and spam messages. This dataset has been iteratively refined through multiple model versions, with each round of error analysis feeding back into data quality improvements.


Overview

Property Value
Task Binary classification (spam/smishing detection)
Language English only
Full dataset size ~700k rows
Cleaned + diverse dataset ~196k rows (v0.2.2)
Label format 0 = benign, 1 = spam/smishing
Engineered features 23 columns
File format CSV

Files

File Rows Description
augmented_dataset_enriched.csv 697,971 Full English-filtered dataset (raw)
augmented_dataset_enriched_undersampled.csv 126,628 3:1 undersampled dataset (v0.1)
dataset_final.csv ~196k 5:1 undersampled, cleaned, enriched with diverse samples + 23 features (v0.2.2, recommended)

Dataset evolution

This dataset has gone through three iterations, each driven by error analysis on the trained model:

v0.1 — Initial release

  • 697k raw messages undersampled to 126k at 3:1 ratio
  • 15 engineered features
  • Trained the v0.1 DeBERTa model (F1: 0.93, AUC: 0.99)

v0.2 / v0.2.1 — Rebalanced + label audit

Error analysis on v0.1 revealed 341 false positives and 283 false negatives with systematic patterns. Key findings:

  • 7 mislabeled examples found — phishing messages (SBI YONO, NHS COVID, Apple Pay, AnPost customs) incorrectly labeled as benign. These were corrected via a label audit.
  • Undersampling ratio changed to 5:1 (from 3:1) — the 3:1 ratio was overrepresenting spam relative to real-world distribution, and the model had enough capacity to handle 5:1 with focal loss + class weights.
  • 8 new engineered features added (see feature table below) targeting obfuscation evasion and short message patterns.

v0.2.2 — Cleaned + diversified (current, recommended)

Error analysis on v0.2.1 revealed that ~288 false negatives were truncated/tiny messages, and ~408 false positives came from benign categories underrepresented in training data. Changes:

  • Dataset cleanup pipeline applied:

    • Removed truncated messages (cut mid-sentence from CSV parsing/scraping issues)
    • Removed encoding-corrupted messages (mojibake, control characters)
    • Removed exact and near-duplicates
    • Removed unusable fragments (<15 chars or <3 words)
    • Removed garbage content (pure numbers, email headers, markup)
  • Diverse benign samples added from:

    • NUS SMS Corpus — 67k conversational SMS messages (real person-to-person texts)
    • UCI SMS Spam Collection — 4,827 ham messages
    • Mendeley SMS Phishing Dataset — 4,844 ham messages
    • Synthetic hard negatives — ~5k LLM-generated messages in 7 categories directly targeting false positive failure modes: retail promotions, bank transaction alerts, telecom notifications, delivery updates, appointment reminders, OTP/verification codes, and casual conversation with spam-like keywords

Label distribution

Full dataset (raw)

Label Count Share
0 (benign) 666,314 95.5%
1 (spam/smishing) 31,657 4.5%

v0.2.2 cleaned + diverse (recommended)

Label Approximate count Ratio
0 (benign) ~163k 5:1
1 (spam/smishing) ~33k —

Dataset composition

This dataset was compiled and cleaned from 4 primary source datasets plus diverse supplementary sources:

Primary sources

# Source Key columns used
1 Phishing message dataset — Kaggle text, label
2 SMS Phishing Dataset for Machine Learning — DOI: 10.17632/f45bkkt8pr.1 TEXT, LABEL
3 shaghayegh-hp/Smishing_Dataset message, spam label, smishing label
4 www.smishtank.com MainText, Malicious, Phishing, Suspicious, Malware

Supplementary sources (v0.2.2)

Source Type Messages Purpose
NUS SMS Corpus Public dataset ~67k benign Conversational diversity
UCI SMS Spam Collection Public dataset ~4.8k benign Classic benchmark ham messages
Mendeley SMS Phishing Dataset Public dataset ~4.8k benign Different distribution ham messages
Synthetic hard negatives LLM-generated ~5k benign Targets FP failure modes (promos, bank alerts, OTPs)

Label normalisation

All source labels were mapped to a unified binary scheme:

  • Source 1: All entries were phishing → mapped to 1
  • Source 2: ham → 0, spam / smishing (any case) → 1
  • Source 3: spam label == 1 OR smishing label == 1 → 1, otherwise 0
  • Source 4: Any of Malicious, Phishing, Suspicious, or Malware > 0 → 1, otherwise 0
  • Supplementary sources: All benign → 0
  • Label audit corrections: 7 high-confidence mislabeled phishing messages flipped 0 → 1

Preprocessing

Original pipeline (v0.1)

  1. Column standardisation — all sources normalised to message, label columns
  2. Deduplication — duplicate rows removed on the message column
  3. Language filtering — non-English rows removed
  4. Undersampling — majority class randomly downsampled (seed=42)

Cleanup pipeline (v0.2.2)

The following additional steps were applied to produce the recommended dataset:

  1. Truncation removal — messages cut mid-sentence (from CSV parsing, scraping, or encoding issues) detected and removed
  2. Encoding repair — mojibake patterns (UTF-8 decoded as Latin-1), control characters, and replacement characters removed
  3. Fragment removal — messages under 15 characters or under 3 words removed as unusable
  4. Garbage removal — pure numbers, email headers, single repeated characters, code/markup
  5. Near-duplicate removal — messages normalised (lowercase, URLs/numbers replaced) and hashed; clusters deduplicated keeping the longest variant
  6. Label audit — 7 high-confidence mislabeled examples corrected (phishing → spam)
  7. Diverse benign injection — public dataset ham messages + synthetic hard negatives added
  8. Feature enrichment — all 23 engineered features computed and saved to CSV

Engineered features

The dataset includes 23 pre-computed features extracted from the message text. These are designed to complement DeBERTa-v3's semantic understanding with explicit structural and pattern-based signals.

Original 15 features (v0.1)

# Feature Type Description
1 char_count int Total number of characters
2 word_count int Total number of words
3 avg_word_length float Average number of characters per word
4 uppercase_ratio float Proportion of letters that are uppercase
5 digit_ratio float Proportion of characters that are digits
6 special_char_ratio float Proportion of non-alphanumeric, non-space characters
7 exclamation_count int Number of ! characters
8 question_mark_count int Number of ? characters
9 has_url binary 1 if any URL is present
10 url_count int Number of URLs detected
11 has_shortened_url binary 1 if a known URL shortener is detected
12 has_phone_number binary 1 if a phone number pattern is detected (≥7 digits)
13 has_email binary 1 if an email address is detected
14 has_currency binary 1 if a currency symbol or code is present
15 urgency_score int Count of urgency-related keywords matched

New 8 features (v0.2)

These features were added to target specific failure modes found in v0.1 error analysis — particularly obfuscated spam that evaded the original 15 features.

# Feature Type Targets Description
16 unicode_ratio float Unicode evasion ("Vérífy yøur àccount") Non-ASCII characters / total characters
17 char_entropy float Template spam, repetitive content Shannon entropy over character distribution
18 suspicious_spacing int Spaced-out evasion ("m e s s a g e") Count of space-separated character sequences
19 leet_ratio float L33t speak substitutions Characters that map to leet translations / total
20 max_digit_run int Embedded phone/account numbers Longest consecutive digit sequence
21 repeated_char_ratio float Exclamation/character spam Consecutive repeated chars / (length − 1)
22 vocab_richness float Low-diversity template spam Unique words / total words
23 has_obfuscated_url binary Broken/evasive URLs ("httpscluesjdko") Regex detection of obfuscated URL patterns

Model performance on this dataset

Models trained on successive versions of this dataset show the impact of data quality improvements:

Model Dataset version F1 Precision Recall AUC-ROC
v0.1 (DeBERTa-v3-base) 3:1 undersampled, 126k 0.9299 0.8986 0.9634 0.9906
v0.2.1 (DeBERTa-v3-base + v0.2 arch) 5:1 undersampled, ~196k 0.9022 0.9058 0.8986 0.9857
v0.2.2 (DeBERTa-v3-base + v0.2 arch) 6.3:1 cleaned + diverse 0.9096 0.9170 0.9023 0.9883

The v0.2.2 dataset achieves the highest precision (0.917) of any version — fewer legitimate messages incorrectly blocked — while maintaining strong recall and AUC.


Known issues and limitations

  • English only. Non-English messages were filtered out. The dataset is not suitable for multilingual spam detection without additional data.
  • Temporal bias. Source datasets span different time periods. Recent smishing campaigns (2025+) may use patterns not represented here.
  • Synthetic data. The v0.2.2 dataset includes ~5k LLM-generated benign messages. While designed to be realistic, synthetic data may not fully capture real-world message diversity.
  • Label noise. A label audit corrected 7 high-confidence errors, but medium and low-confidence label issues may remain. The full audit flagged ~7.4k rows for manual review.
  • Promotional boundary. Legitimate marketing messages with aggressive urgency language remain the hardest category to distinguish from spam. This is a fundamental challenge in the domain, not a dataset deficiency.

License

This dataset is released under the Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) license.

You are free to use and share this dataset for non-commercial and research purposes with appropriate attribution. Commercial use is not permitted without explicit written permission from the author.

See https://creativecommons.org/licenses/by-nc/4.0/ for full license details.

Note: This dataset is compiled from multiple source datasets. Users are responsible for ensuring their intended use complies with the licenses of the underlying sources.


Disclaimer

This dataset contains real-world spam and phishing messages collected for research purposes. It is intended solely for the development of defensive security tools and classifiers. Misuse of this data is strictly prohibited.

Downloads last month
-

Models trained or fine-tuned on notd5a/sms-malicious-benign-dataset